blob: 8c192d296c7aa521361ae22b83326f1d65aa2aa7 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "A pure Python netlink and Linux network configuration library"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "GPL-2.0-only & Apache-2.0"
Andrew Geissler82c905d2020-04-13 13:39:40 -05003LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
4 file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
5
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07006SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29"
Andrew Geissler82c905d2020-04-13 13:39:40 -05007
8inherit setuptools3 pypi ptest
9
Patrick Williams213cb262021-08-07 19:21:33 -050010RDEPENDS:${PN} += " \
Patrick Williamsb542dec2023-06-09 01:26:37 -050011 python3-ctypes \
12 python3-distutils \
13 python3-io \
14 python3-json \
15 python3-fcntl \
16 python3-logging \
17 python3-multiprocessing \
18 python3-pickle \
19 python3-pkgutil \
20 python3-pprint \
21 python3-shell \
22 python3-unixadmin \
Andrew Geissler82c905d2020-04-13 13:39:40 -050023"
24
25SRC_URI += " \
Patrick Williamsb542dec2023-06-09 01:26:37 -050026 file://run-ptest \
Andrew Geissler82c905d2020-04-13 13:39:40 -050027"
28
Patrick Williams213cb262021-08-07 19:21:33 -050029RDEPENDS:${PN}-ptest += " \
Patrick Williamsb542dec2023-06-09 01:26:37 -050030 python3-pytest \
31 python3-fcntl \
Andrew Geissler82c905d2020-04-13 13:39:40 -050032"
33
34do_install_ptest() {
Patrick Williamsb542dec2023-06-09 01:26:37 -050035 install -d ${D}${PTEST_PATH}/tests
36 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
Andrew Geissler82c905d2020-04-13 13:39:40 -050037}