diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-06-12 10:57:49 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-11 22:01:59 -0700 |
| commit | 7106f0c041755ca4c71809192ae38e6cbe022f22 (patch) | |
| tree | c3daef2af2aaa13522738a1c0b44226b1cbd7bd9 /meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |
| parent | ea97646a59fbea69d5f74d6233b502996ff3223f (diff) | |
| download | meta-openembedded-7106f0c041755ca4c71809192ae38e6cbe022f22.tar.gz | |
python3-netaddr: upgrade 1.2.1 -> 1.3.0
Changelog:
==========
- Add partial address expansion in IPNetwork via the expand_partial switch, this
enables opting into pre-1.1.0 behavior
- Fix running the test suite on musl systems
- Fix IPAddress IPv6 parsing with ZEROFILL enabled
- Fix handling of the NOHOST flag in the IPNetwork copy constructor
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-netaddr_1.3.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb new file mode 100644 index 0000000000..b8a772566a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "A network address manipulation library for Python." | ||
| 2 | LICENSE = "BSD-3-Clause" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa" | ||
| 4 | |||
| 5 | SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" | ||
| 6 | |||
| 7 | inherit pypi python_setuptools_build_meta ptest | ||
| 8 | |||
| 9 | SRC_URI += " \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | |||
| 13 | RDEPENDS:${PN}-ptest += " \ | ||
| 14 | python3-pytest \ | ||
| 15 | python3-unittest-automake-output \ | ||
| 16 | " | ||
| 17 | |||
| 18 | do_install_ptest() { | ||
| 19 | install -d ${D}${PTEST_PATH}/tests | ||
| 20 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install_ptest:append:libc-musl () { | ||
| 24 | sed -i -e "/--automake/ s/$/ -k 'not test_strategy_ipv6'/" ${D}${PTEST_PATH}/run-ptest | ||
| 25 | } | ||
