|
Matt Domsch |
25fd866 |
Name: py-radix
|
|
Matt Domsch |
25fd866 |
Summary: Radix tree data structure for Python
|
|
|
ae18779 |
Version: 0.10.0
|
|
|
8cd2482 |
Release: 9%{?dist}
|
|
|
7b7b021 |
|
|
|
7b7b021 |
URL: https://github.com/mjschultz/py-radix
|
|
|
b1d512c |
Source0: https://github.com/mjschultz/py-radix/archive/v%{version}.tar.gz
|
|
|
7b7b021 |
|
|
|
3e6b9d1 |
# Define PY_SSIZE_T_CLEAN, use ssize_t as the index type (PEP 353)
|
|
|
3e6b9d1 |
# https://github.com/mjschultz/py-radix/pull/55
|
|
|
3e6b9d1 |
# Fixes Python 3.10 failures, https://bugzilla.redhat.com/1899466
|
|
|
3e6b9d1 |
Patch1: py_ssize_t_clean.patch
|
|
|
c355ad7 |
# Change away from deprecated assertEquals and assertNotEquals to assertEqual
|
|
|
c355ad7 |
Patch2: https://patch-diff.githubusercontent.com/raw/mjschultz/py-radix/pull/44.patch
|
|
|
3e6b9d1 |
|
|
Matt Domsch |
25fd866 |
License: BSD with advertising
|
|
|
e493345 |
BuildRequires: gcc
|
|
|
7b7b021 |
|
|
|
7b7b021 |
%description
|
|
|
7b7b021 |
py-radix is an implementation of a radix tree for Python, which
|
|
|
7b7b021 |
supports storage and lookups of IPv4 and IPv6 networks.
|
|
|
7b7b021 |
|
|
|
7b7b021 |
The radix tree (a.k.a Patricia tree) is the data structure most
|
|
|
7b7b021 |
commonly used for routing table lookups. It efficiently stores
|
|
|
7b7b021 |
network prefixes of varying lengths and allows fast lookups of
|
|
|
7b7b021 |
containing networks. py-radix's implementation is built solely
|
|
|
7b7b021 |
for networks (the data structure itself is more general).
|
|
|
7b7b021 |
|
|
|
7b7b021 |
%package -n python3-%{name}
|
|
|
7b7b021 |
Summary: Radix tree data structure for Python
|
|
|
7b7b021 |
|
|
|
7b7b021 |
BuildRequires: python3-devel
|
|
|
7b7b021 |
BuildRequires: python3-setuptools
|
|
|
7b7b021 |
# Needed for tests
|
|
|
8a66b95 |
BuildRequires: python3-pytest
|
|
|
7b7b021 |
|
|
|
7b7b021 |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
7b7b021 |
|
|
|
7b7b021 |
%description -n python3-%{name}
|
|
|
7b7b021 |
py-radix is an implementation of a radix tree for Python, which
|
|
|
7b7b021 |
supports storage and lookups of IPv4 and IPv6 networks.
|
|
|
7b7b021 |
|
|
|
7b7b021 |
The radix tree (a.k.a Patricia tree) is the data structure most
|
|
|
7b7b021 |
commonly used for routing table lookups. It efficiently stores
|
|
|
7b7b021 |
network prefixes of varying lengths and allows fast lookups of
|
|
|
7b7b021 |
containing networks. py-radix's implementation is built solely
|
|
|
7b7b021 |
for networks (the data structure itself is more general).
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
%prep
|
|
|
3e6b9d1 |
%autosetup -p1
|
|
Matt Domsch |
25fd866 |
rm -f inet_ntop.c strlcpy.c
|
|
Matt Domsch |
25fd866 |
touch inet_ntop.c strlcpy.c
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
%build
|
|
|
7b7b021 |
%py3_build
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
%install
|
|
|
7b7b021 |
%py3_install
|
|
Matt Domsch |
25fd866 |
|
|
|
b1d512c |
%check
|
|
|
8a66b95 |
%pytest -v
|
|
|
b1d512c |
|
|
|
7b7b021 |
%files -n python3-%{name}
|
|
|
7b7b021 |
%doc README.rst
|
|
|
7b7b021 |
%license LICENSE
|
|
|
7b7b021 |
%{python3_sitearch}/py_radix*
|
|
|
7b7b021 |
%{python3_sitearch}/radix*
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
%changelog
|
|
|
8cd2482 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-9
|
|
|
8cd2482 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
8cd2482 |
|
|
|
e7c8456 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-8
|
|
|
e7c8456 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e7c8456 |
|
|
|
c355ad7 |
* Sat Jul 22 2023 Kevin Fenzi <kevin@scrye.com> - 0.10.0-7
|
|
|
c355ad7 |
- Apply upstream patch to fix FTBFS. https://github.com/mjschultz/py-radix/pull/44
|
|
|
c355ad7 |
|
|
|
e680745 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-6
|
|
|
e680745 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
e680745 |
|
|
|
8e7b55a |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.10.0-5
|
|
|
8e7b55a |
- Rebuilt for Python 3.12
|
|
|
8e7b55a |
|
|
|
dfdbb19 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
|
|
|
dfdbb19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
dfdbb19 |
|
|
|
59b4f4e |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
|
|
|
59b4f4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
59b4f4e |
|
|
|
9d02357 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.10.0-2
|
|
|
9d02357 |
- Rebuilt for Python 3.11
|
|
|
9d02357 |
|
|
|
ae18779 |
* Sat Apr 09 2022 Kevin Fenzi <kevin@scrye.com> - 0.10.0-1
|
|
|
ae18779 |
- Update to 0.10.0.
|
|
|
ae18779 |
|
|
|
9593650 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-23
|
|
|
9593650 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
9593650 |
|
|
|
959b798 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-22
|
|
|
959b798 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
959b798 |
|
|
|
72241d4 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.3-21
|
|
|
72241d4 |
- Rebuilt for Python 3.10
|
|
|
72241d4 |
|
|
|
2c27edd |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-20
|
|
|
2c27edd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2c27edd |
|
|
|
4ef1d78 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-19
|
|
|
4ef1d78 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4ef1d78 |
|
|
|
a8b8ee5 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-18
|
|
|
a8b8ee5 |
- Rebuilt for Python 3.9
|
|
|
a8b8ee5 |
|
|
|
68a5523 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-17
|
|
|
68a5523 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
68a5523 |
|
|
|
7705e85 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-16
|
|
|
7705e85 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7705e85 |
|
|
|
1c819f7 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-15
|
|
|
1c819f7 |
- Rebuilt for Python 3.8
|
|
|
1c819f7 |
|
|
|
433b49a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-14
|
|
|
433b49a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
433b49a |
|
|
|
32e5195 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-13
|
|
|
32e5195 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
32e5195 |
|
|
|
e493345 |
* Mon Jan 28 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-12
|
|
|
e493345 |
- Subpackage python2-py-radix has been removed
|
|
|
e493345 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
e493345 |
|
|
|
ec8fbec |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-11
|
|
|
ec8fbec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ec8fbec |
|
|
|
dab8983 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-10
|
|
|
dab8983 |
- Rebuilt for Python 3.7
|
|
|
dab8983 |
|
|
|
4906698 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-9
|
|
|
4906698 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4906698 |
|
|
|
6115e25 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-8
|
|
|
6115e25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
6115e25 |
|
|
|
ec9075b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-7
|
|
|
ec9075b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ec9075b |
|
|
|
72a1eec |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-6
|
|
|
72a1eec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
72a1eec |
|
|
|
99060b3 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.3-5
|
|
|
99060b3 |
- Rebuild for Python 3.6
|
|
|
99060b3 |
|
|
|
7b7b021 |
* Thu Jul 21 2016 Charalampos Stratakis <cstratak@redhat.com> 0.9.3-4
|
|
|
7b7b021 |
- Provide python 3 subpackage
|
|
|
7b7b021 |
- Renamed python 2 (sub)package
|
|
|
7b7b021 |
- Modernize SPEC
|
|
|
7b7b021 |
|
|
|
26a87d8 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
|
|
|
26a87d8 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
26a87d8 |
|
|
|
7787b4b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
7787b4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7787b4b |
|
|
|
b1d512c |
* Tue Oct 20 2015 Kevin Fenzi <kevin@scrye.com> 0.9.3-1
|
|
|
b1d512c |
- Update to 0.9.3
|
|
|
b1d512c |
- Enable tests in check
|
|
|
b1d512c |
- Point to new upstream site/repo
|
|
|
0fb2551 |
|
|
|
41c217a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-14
|
|
|
41c217a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
41c217a |
|
|
|
f2b18b0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-13
|
|
|
f2b18b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f2b18b0 |
|
|
|
b3da687 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-12
|
|
|
b3da687 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b3da687 |
|
|
|
bc919a6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-11
|
|
|
bc919a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bc919a6 |
|
|
|
0aac7d0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-10
|
|
|
0aac7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0aac7d0 |
|
|
|
d8139ec |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-9
|
|
|
d8139ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d8139ec |
|
|
|
9edbd49 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-8
|
|
|
9edbd49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9edbd49 |
|
|
|
6909901 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.5-7
|
|
|
6909901 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
6909901 |
|
|
Matt Domsch |
c27a6dd |
* Fri Oct 23 2009 Matt Domsch <mdomsch@fedoraproject.org> - 0.5-6
|
|
Matt Domsch |
c27a6dd |
- Add patch by Alexander Sabourenkov to fix memory leak (Debian #512830)
|
|
Matt Domsch |
c27a6dd |
|
|
Matt Domsch |
25fd866 |
* Mon Oct 12 2009 Matt Domsch <mdomsch@fedoraproject.org> - 0.5-5
|
|
Matt Domsch |
25fd866 |
- remove inet_ntop.c and strlcpy.c for safety. They're only used on
|
|
Matt Domsch |
25fd866 |
Windows.
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
* Thu Oct 1 2009 Matt Domsch <mdomsch@fedoraproject.org> - 0.5-4
|
|
Matt Domsch |
25fd866 |
- more package cleanups during review
|
|
Matt Domsch |
25fd866 |
- quiet setup, clean buildroot at install, drop python Requires,
|
|
Matt Domsch |
25fd866 |
add dist tag.
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
* Thu Oct 1 2009 Matt Domsch <mdomsch@fedoraproject.org> - 0.5-2
|
|
Matt Domsch |
25fd866 |
- update for Fedora packaging guidelines
|
|
Matt Domsch |
25fd866 |
|
|
Matt Domsch |
25fd866 |
* Wed Jun 28 2006 Damien Miller <djm@mindrot.org>
|
|
Matt Domsch |
25fd866 |
- Build RPM
|