Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "A pure Python netlink and Linux network configuration library" |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame^] | 2 | LICENSE = "GPL-2.0-or-later | Apache-2.0" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ |
| 4 | file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 5 | file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame^] | 7 | SRC_URI[sha256sum] = "b69d82f140b0774317d7ba40f6c5fa1d755098ba3f3eb619982d16e750dc631a" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | inherit setuptools3 pypi ptest |
| 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | RDEPENDS:${PN} += " \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 12 | python3-ctypes \ |
| 13 | python3-distutils \ |
| 14 | python3-io \ |
| 15 | python3-json \ |
| 16 | python3-fcntl \ |
| 17 | python3-logging \ |
| 18 | python3-multiprocessing \ |
| 19 | python3-pickle \ |
| 20 | python3-pkgutil \ |
| 21 | python3-pprint \ |
| 22 | python3-shell \ |
| 23 | python3-unixadmin \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | " |
| 25 | |
| 26 | SRC_URI += " \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 27 | file://run-ptest \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 28 | " |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | RDEPENDS:${PN}-ptest += " \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 31 | python3-pytest \ |
| 32 | python3-fcntl \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 33 | " |
| 34 | |
| 35 | do_install_ptest() { |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 36 | install -d ${D}${PTEST_PATH}/tests |
| 37 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 38 | } |