summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-12-21 18:55:13 +0000
committerKhem Raj <raj.khem@gmail.com>2023-12-22 06:39:34 -0800
commit2ebd36666a0db8d9d0e676ea186bea43b9f2a55d (patch)
tree09ee14215329964dcc84245bd63f917c9e83d09a /meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
parent3ddad1958930c6357217b79986136c9a45a9caf2 (diff)
downloadmeta-openembedded-2ebd36666a0db8d9d0e676ea186bea43b9f2a55d.tar.gz
python3-pyroute2: update to version 0.7.10
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
new file mode 100644
index 0000000000..6b340a18ce
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb
@@ -0,0 +1,40 @@
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] = "cc2f90aad1517cb0b301041f678cc8d3c3427c26e53f15c78c93c67928d89a02"
8
9inherit setuptools3 pypi ptest
10
11RDEPENDS:${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
25SRC_URI += " \
26 file://run-ptest \
27"
28
29RDEPENDS:${PN}-ptest += " \
30 python3-pytest \
31 python3-fcntl \
32 python3-sqlite3 \
33"
34
35do_install_ptest() {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
38 sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \
39 ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py
40}