diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb new file mode 100644 index 0000000000..fed0fc38fe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb | |||
@@ -0,0 +1,36 @@ | |||
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 | |||
6 | SRC_URI[sha256sum] = "fe681a2d008cac815b9f287250d69a333fbfc2b2d89c37d58798104057149989" | ||
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 | } | ||