From e816c9fbe349dd6aef2e45970b4e3b7e57704882 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 21 May 2025 16:59:18 +0800 Subject: python3-pyroute2: upgrade 0.9.1 -> 0.9.2 Changelog: ============ - iproute: basic Darwin support - nftables: asynchronous API - plan9: Inode class context manager API - plan9: support call on read - code: provide again .epid Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pyroute2_0.9.2.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb (limited to 'meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb new file mode 100644 index 0000000000..0b47b1219d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb @@ -0,0 +1,37 @@ +SUMMARY = "A pure Python netlink and Linux network configuration library" +LICENSE = "GPL-2.0-or-later | Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ + file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" + +SRC_URI[sha256sum] = "aea3c0e1b46f48295edb29caaba3ceb6415bdcb975cba3f1489ffcc3198e0ce3" + +inherit python_setuptools_build_meta pypi ptest-python-pytest + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-io \ + python3-json \ + python3-fcntl \ + python3-logging \ + python3-multiprocessing \ + python3-pickle \ + python3-pkgutil \ + python3-pprint \ + python3-shell \ + python3-unixadmin \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-fcntl \ + python3-html \ + python3-netclient \ + python3-sqlite3 \ +" + +do_install_ptest:append () { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ + ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py +} -- cgit v1.2.3-54-g00ecf