Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "A pure Python netlink and Linux network configuration library" |
| 2 | LICENSE = "GPLv2 & Apache-2.0" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 4 | file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" |
| 5 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame^] | 6 | SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | |
| 8 | inherit setuptools3 pypi ptest |
| 9 | |
| 10 | RDEPENDS_${PN} += " \ |
| 11 | ${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 | |
| 24 | SRC_URI += " \ |
| 25 | file://run-ptest \ |
| 26 | " |
| 27 | |
| 28 | RDEPENDS_${PN}-ptest += " \ |
| 29 | ${PYTHON_PN}-pytest \ |
| 30 | ${PYTHON_PN}-fcntl \ |
| 31 | " |
| 32 | |
| 33 | do_install_ptest() { |
| 34 | install -d ${D}${PTEST_PATH}/tests |
| 35 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 36 | } |