blob: fa5b3a522aec46770bfb2b4f62517b95ee433a1b [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} += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050011 ${PYTHON_PN}-ctypes \
12 ${PYTHON_PN}-distutils \
13 ${PYTHON_PN}-io \
14 ${PYTHON_PN}-json \
15 ${PYTHON_PN}-logging \
16 ${PYTHON_PN}-multiprocessing \
17 ${PYTHON_PN}-pickle \
18 ${PYTHON_PN}-pkgutil \
19 ${PYTHON_PN}-pprint \
20 ${PYTHON_PN}-shell \
21 ${PYTHON_PN}-unixadmin \
22"
23
24SRC_URI += " \
25 file://run-ptest \
26"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028RDEPENDS:${PN}-ptest += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050029 ${PYTHON_PN}-pytest \
30 ${PYTHON_PN}-fcntl \
31"
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/tests
35 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
36}