From 5c9887f69805b14b91f0e27a8b376b09aaa48355a57d72b3760e9946e8871957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 17 May 2025 15:50:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-netaddr revision f8903b6c142b5d0926235c40a381adbe --- netaddr-1.2.1.tar.gz | 3 --- netaddr-1.3.0.tar.gz | 3 +++ python-netaddr.changes | 19 +++++++++++++++++++ python-netaddr.spec | 13 +++++++++---- 4 files changed, 31 insertions(+), 7 deletions(-) delete mode 100644 netaddr-1.2.1.tar.gz create mode 100644 netaddr-1.3.0.tar.gz diff --git a/netaddr-1.2.1.tar.gz b/netaddr-1.2.1.tar.gz deleted file mode 100644 index b9d95c7..0000000 --- a/netaddr-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6eb8fedf0412c6d294d06885c110de945cf4d22d2b510d0404f4e06950857987 -size 2278809 diff --git a/netaddr-1.3.0.tar.gz b/netaddr-1.3.0.tar.gz new file mode 100644 index 0000000..41f76a9 --- /dev/null +++ b/netaddr-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a +size 2260504 diff --git a/python-netaddr.changes b/python-netaddr.changes index 3ae275a..3be497f 100644 --- a/python-netaddr.changes +++ b/python-netaddr.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Dec 5 09:53:32 UTC 2024 - Matej Cepl + +- Fix incorrect removal of shebangs + +------------------------------------------------------------------- +Thu Dec 5 06:41:14 UTC 2024 - Johannes Kastl + +- update to 1.3.0: + * Added: + - Add partial address expansion in IPNetwork via the + expand_partial switch, this enables opting into pre-1.1.0 + behavior + * Fixed: + - 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 + ------------------------------------------------------------------- Thu Mar 21 09:13:43 UTC 2024 - Daniel Garcia diff --git a/python-netaddr.spec b/python-netaddr.spec index c4138c8..5c487c1 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -18,17 +18,22 @@ %{?sle15_python_module_pythons} Name: python-netaddr -Version: 1.2.1 +Version: 1.3.0 Release: 0 Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/drkjam/netaddr +URL: https://github.com/netaddr/netaddr Source: https://files.pythonhosted.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +# SECTION test +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module iniconfig} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pluggy} +# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -55,7 +60,7 @@ Included are routines for: %prep %autosetup -p1 -n netaddr-%{version} -sed -i "1d" netaddr/{cli,ip/iana,eui/ieee,tests/__init__}.py # Fix non-executable scripts +sed -i "1{\@/usr/bin/env python@d}" netaddr/{cli,ip/iana,eui/ieee}.py # Fix non-executable scripts %build %pyproject_wheel