import UBI python-netaddr-0.10.1-3.el9
This commit is contained in:
parent
a6a0e6fc37
commit
04bf9f30f8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/netaddr-0.8.0.tar.gz
|
SOURCES/netaddr-0.10.1.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
16f10a1bfaf95052f368b3786188f9fbdda108c3 SOURCES/netaddr-0.8.0.tar.gz
|
bbfa2b78bb3c5b9558f8efb7bc3f1f57ac5fd644 SOURCES/netaddr-0.10.1.tar.gz
|
||||||
|
49
SOURCES/THANKS
Normal file
49
SOURCES/THANKS
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
netaddr is written and maintained by David P. D. Moss
|
||||||
|
|
||||||
|
It is released under the BSD License.
|
||||||
|
|
||||||
|
Many people further contributed to netaddr by reporting problems, suggesting
|
||||||
|
various improvements or submitting actual code. Here is a list of these people
|
||||||
|
(in alphabetical order). Help me keep it complete and free of errors.
|
||||||
|
|
||||||
|
Vincent Bernat <bernat AT debian.org>
|
||||||
|
|
||||||
|
Sebastien Douche <sdouche AT gmail.com>
|
||||||
|
|
||||||
|
John Eckersberg <john DOT eckersberg AT gmail.com>
|
||||||
|
|
||||||
|
Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
|
||||||
|
|
||||||
|
Clay McClure <clay AT daemons.net>
|
||||||
|
|
||||||
|
Duncan McGreggor <duncan DOT mcgreggor AT gmail.com>
|
||||||
|
|
||||||
|
Stefan Nordhausen <stefan DOT nordhausen AT axiros.com>
|
||||||
|
|
||||||
|
Brian F. Peters <brianfpeters AT gmail.com>
|
||||||
|
|
||||||
|
James William Pye <jwp AT gmail.com>
|
||||||
|
|
||||||
|
Chaitan Rogers <chaitan DOT rogers AT gmail.com>
|
||||||
|
|
||||||
|
Victor Stinner <victor DOT stinner AT haypocalc.com>
|
||||||
|
|
||||||
|
Andrew Stromnov <stromnov AT gmail.com>
|
||||||
|
|
||||||
|
Thanks to everyone on the netaddr mailing list, those who raised bug reports
|
||||||
|
and to all those who have, directly and indirectly, guided and influenced the
|
||||||
|
development and distribution of this library.
|
||||||
|
|
||||||
|
Thanks also for the use of the following code contributions :-
|
||||||
|
|
||||||
|
a) Python Cookbook recipe 18.11: "Formatting Integers as Binary Strings"
|
||||||
|
|
||||||
|
Python Cookbook 2d ed. (O'Reilly Media 2005) ISBN 0596-00797-3
|
||||||
|
Alex Martelli, Anna Martelli Ravenscroft and David Ascher
|
||||||
|
|
||||||
|
b) ASPN Cookbook Recipe 466286: "Integer set type" by Heiko Wundram
|
||||||
|
|
||||||
|
http://code.activestate.com/recipes/466286/
|
||||||
|
|
||||||
|
And last but not least, thanks to Guido van Rossum for his encouraging words
|
||||||
|
and for giving us all Python.
|
@ -1,28 +1,20 @@
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%bcond docs %{undefined rhel}
|
||||||
%global with_python3 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?fedora} < 32 && 0%{?rhel} < 9
|
|
||||||
%global with_python2 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-netaddr
|
Name: python-netaddr
|
||||||
Version: 0.8.0
|
Version: 0.10.1
|
||||||
Release: 5%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A pure Python network address representation and manipulation library
|
Summary: A pure Python network address representation and manipulation library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://github.com/drkjam/netaddr
|
URL: http://github.com/drkjam/netaddr
|
||||||
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
||||||
|
# Remove once https://github.com/netaddr/netaddr/pull/345
|
||||||
|
Source1: THANKS
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# sphinx is python3-only f31 onward
|
%if %{with docs}
|
||||||
# https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
%if 0%{?with_python2}
|
BuildRequires: python3-furo
|
||||||
BuildRequires: python2-pytest
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global desc A network address manipulation library for Python\
|
%global desc A network address manipulation library for Python\
|
||||||
@ -53,29 +45,17 @@ Layer 2 addresses\
|
|||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%if 0%{?with_python2}
|
|
||||||
%package -n python2-netaddr
|
|
||||||
Summary: %summary
|
|
||||||
%{?python_provide:%python_provide python2-netaddr}
|
|
||||||
|
|
||||||
%description -n python2-netaddr %_description
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-netaddr
|
%package -n python3-netaddr
|
||||||
Summary: A pure Python network address representation and manipulation library
|
Summary: A pure Python network address representation and manipulation library
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
%{?python_provide:%python_provide python3-netaddr}
|
|
||||||
|
|
||||||
%description -n python3-netaddr
|
%description -n python3-netaddr
|
||||||
%{desc}
|
%{desc}
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n netaddr-%{version}
|
%autosetup -n netaddr-%{version} -p1
|
||||||
|
|
||||||
# Make rpmlint happy, rip out python shebang lines from most python
|
# Make rpmlint happy, rip out python shebang lines from most python
|
||||||
# modules
|
# modules
|
||||||
@ -86,61 +66,47 @@ find netaddr -name "*.py" | \
|
|||||||
chmod 0644 README.rst AUTHORS CHANGELOG COPYRIGHT LICENSE PKG-INFO
|
chmod 0644 README.rst AUTHORS CHANGELOG COPYRIGHT LICENSE PKG-INFO
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?with_python2}
|
|
||||||
%py2_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
|
||||||
|
|
||||||
#docs
|
#docs
|
||||||
|
%if %{with docs}
|
||||||
pushd docs
|
pushd docs
|
||||||
PYTHONPATH='../' sphinx-build-%{python3_version} -b html -d build/doctrees source html
|
PYTHONPATH='../' sphinx-build-%{python3_version} -b html -d build/doctrees source html
|
||||||
rm -f html/.buildinfo
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
PYTHONPATH='../' sphinx-build-%{python3_version} -b html -d build/doctrees source python3/html
|
|
||||||
rm -f python3/html/.buildinfo
|
rm -f python3/html/.buildinfo
|
||||||
%endif
|
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?with_python2}
|
|
||||||
%py2_install
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?with_python2}
|
|
||||||
py.test-%{python2_version}
|
|
||||||
%endif
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
py.test-%{python3_version}
|
py.test-%{python3_version}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python2}
|
|
||||||
%files -n python2-netaddr
|
|
||||||
%license COPYRIGHT LICENSE
|
|
||||||
%doc AUTHORS CHANGELOG
|
|
||||||
%doc README.rst docs/html
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python3-netaddr
|
%files -n python3-netaddr
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT
|
||||||
%doc AUTHORS CHANGELOG
|
%doc AUTHORS CHANGELOG README.rst
|
||||||
%doc README.rst docs/python3/html
|
%if %{with docs}
|
||||||
%{python3_sitelib}/*
|
%doc docs/python3/html
|
||||||
%{_bindir}/netaddr
|
|
||||||
%endif
|
%endif
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%{_bindir}/netaddr
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 13 2024 Rafael Jeffman <rjeffman@redhat.com> - 0.10.1-3
|
||||||
|
- Bump version to rebuild due to brew issues
|
||||||
|
Resolves: RHEL-25506
|
||||||
|
|
||||||
|
* Tue Nov 12 2024 Rafael Jeffman <rjeffman@redhat.com> - 0.10.1-2
|
||||||
|
- Remove subpackage python3-netaddr-shell
|
||||||
|
Resolves: RHEL-25506
|
||||||
|
|
||||||
|
* Mon Nov 11 2024 Rafael Jeffman <rjeffman@redhat.com> - 0.10.1-1
|
||||||
|
- Rebase to version 0.10.1
|
||||||
|
Resolves: RHEL-25506
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.0-5
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.8.0-5
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user