summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-12-24 17:26:43 +0800
committerKhem Raj <raj.khem@gmail.com>2024-12-24 08:23:09 -0800
commit9730d3145113a5b130fe25e61120d52bac9d2fde (patch)
tree995f240d6248fd1b29d44f65c646e530fbcb0b1e /meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb
parenta6173e71d3034628927f94e818fdc853e929ffdd (diff)
downloadmeta-openembedded-9730d3145113a5b130fe25e61120d52bac9d2fde.tar.gz
python3-pyroute2: upgrade 0.7.12 -> 0.8.1
Changelog: ============ - ndb: fix route replace - ndb: fix af_bridge_fdb indexes - rtnl: probe API - tc: htb rate64 - ipvs: basic support - decoder: support pcap format - ethtool: get/set channels Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb
new file mode 100644
index 0000000000..048b0ca075
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb
@@ -0,0 +1,43 @@
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] = "b91f4a1f7abb9824637b1fe67e6e4a0a071d98d4a1a1b47ef792304ff3adad11"
8
9inherit python_setuptools_build_meta 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-fcntl \
31 python3-html \
32 python3-netclient \
33 python3-pytest \
34 python3-sqlite3 \
35 python3-unittest-automake-output \
36"
37
38do_install_ptest() {
39 install -d ${D}${PTEST_PATH}/tests
40 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
41 sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \
42 ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py
43}