summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb
new file mode 100644
index 0000000000..4fb401957f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.13.bb
@@ -0,0 +1,37 @@
1SUMMARY = "A pure Python netlink and Linux network configuration library"
2LICENSE = "GPLv2 & Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
4 file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
5
6SRC_URI[md5sum] = "6c72ffa7147bbfa1610942e5734c8c87"
7SRC_URI[sha256sum] = "518365f3313e73b0f024b9fa7a580b29bfa2fe2c5230be0bc69c068bbf6637e9"
8
9inherit setuptools3 pypi ptest
10
11RDEPENDS_${PN} += " \
12 ${PYTHON_PN}-ctypes \
13 ${PYTHON_PN}-distutils \
14 ${PYTHON_PN}-io \
15 ${PYTHON_PN}-json \
16 ${PYTHON_PN}-logging \
17 ${PYTHON_PN}-multiprocessing \
18 ${PYTHON_PN}-pickle \
19 ${PYTHON_PN}-pkgutil \
20 ${PYTHON_PN}-pprint \
21 ${PYTHON_PN}-shell \
22 ${PYTHON_PN}-unixadmin \
23"
24
25SRC_URI += " \
26 file://run-ptest \
27"
28
29RDEPENDS_${PN}-ptest += " \
30 ${PYTHON_PN}-pytest \
31 ${PYTHON_PN}-fcntl \
32"
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
37}