diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb new file mode 100644 index 0000000000..0b47b1219d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "A pure Python netlink and Linux network configuration library" | ||
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" | ||
6 | |||
7 | SRC_URI[sha256sum] = "aea3c0e1b46f48295edb29caaba3ceb6415bdcb975cba3f1489ffcc3198e0ce3" | ||
8 | |||
9 | inherit python_setuptools_build_meta pypi ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-ctypes \ | ||
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 \ | ||
23 | " | ||
24 | |||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | python3-fcntl \ | ||
27 | python3-html \ | ||
28 | python3-netclient \ | ||
29 | python3-sqlite3 \ | ||
30 | " | ||
31 | |||
32 | do_install_ptest:append () { | ||
33 | install -d ${D}${PTEST_PATH}/tests | ||
34 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
35 | sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ | ||
36 | ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py | ||
37 | } | ||