summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
new file mode 100644
index 0000000000..263acd06c7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
@@ -0,0 +1,38 @@
1SUMMARY = "A pure Python netlink and Linux network configuration library"
2LICENSE = "GPL-2.0-or-later | Apache-2.0"
3LIC_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
7SRC_URI[sha256sum] = "b69d82f140b0774317d7ba40f6c5fa1d755098ba3f3eb619982d16e750dc631a"
8
9inherit setuptools3 pypi ptest
10
11RDEPENDS:${PN} += " \
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 \
24"
25
26SRC_URI += " \
27 file://run-ptest \
28"
29
30RDEPENDS:${PN}-ptest += " \
31 python3-pytest \
32 python3-fcntl \
33"
34
35do_install_ptest() {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
38}