|
|
78554d2 |
%global srcname natsort
|
|
|
78554d2 |
|
|
|
78554d2 |
Name: python-%{srcname}
|
|
|
ad14c5c |
Version: 7.1.1
|
|
|
b22009c |
Release: 8%{?dist}
|
|
Igor Gnatenko |
bc4bb66 |
Summary: Python library that sorts lists using the "natural order" sort
|
|
|
6ded2ac |
|
|
|
6ded2ac |
License: MIT
|
|
|
78554d2 |
URL: https://github.com/SethMMorton/%{srcname}
|
|
|
24dcbc2 |
Source0: https://files.pythonhosted.org/packages/source/n/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
6ded2ac |
|
|
|
3ba0534 |
Suggests: python3-pyicu
|
|
|
3ba0534 |
|
|
|
6ded2ac |
BuildArch: noarch
|
|
|
6ded2ac |
|
|
|
c1e0968 |
BuildRequires: python3-devel
|
|
|
0f30072 |
BuildRequires: glibc-langpack-en
|
|
|
c1e0968 |
BuildRequires: python3dist(hypothesis)
|
|
|
c1e0968 |
BuildRequires: python3dist(pytest)
|
|
|
c1e0968 |
BuildRequires: python3dist(pytest-mock)
|
|
|
c1e0968 |
BuildRequires: python3dist(semver)
|
|
|
c1e0968 |
BuildRequires: python3dist(setuptools)
|
|
|
c1e0968 |
%{?python_enable_dependency_generator}
|
|
|
c1e0968 |
|
|
Igor Gnatenko |
bc4bb66 |
%global _description \
|
|
Igor Gnatenko |
bc4bb66 |
Python module which provides "natural sorting".\
|
|
Igor Gnatenko |
bc4bb66 |
\
|
|
Igor Gnatenko |
bc4bb66 |
Under natural sorting, numeric sub-strings are compared numerically,\
|
|
Igor Gnatenko |
bc4bb66 |
and the other word characters are compared lexically.\
|
|
Igor Gnatenko |
bc4bb66 |
\
|
|
Igor Gnatenko |
bc4bb66 |
Example:\
|
|
Igor Gnatenko |
bc4bb66 |
unsorted: ['a2', 'a9', 'a1', 'a4', 'a10']\
|
|
Igor Gnatenko |
bc4bb66 |
lexicographic sort: ['a1', 'a10', 'a2', 'a4', 'a9']\
|
|
|
6ded2ac |
natural sort: ['a1', 'a2', 'a4', 'a9', 'a10']
|
|
|
6ded2ac |
|
|
Igor Gnatenko |
bc4bb66 |
%description %{_description}
|
|
|
6ded2ac |
|
|
|
78554d2 |
%package -n python3-%{srcname}
|
|
Igor Gnatenko |
bc4bb66 |
Summary: %{summary}
|
|
|
78554d2 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
Igor Gnatenko |
bc4bb66 |
%description -n python3-%{srcname} %{_description}
|
|
|
6ded2ac |
|
|
|
78554d2 |
%prep
|
|
Igor Gnatenko |
bc4bb66 |
%autosetup -n %{srcname}-%{version}
|
|
|
6ded2ac |
|
|
|
78554d2 |
%build
|
|
|
78554d2 |
%py3_build
|
|
|
78554d2 |
|
|
|
78554d2 |
%install
|
|
|
78554d2 |
%py3_install
|
|
|
6ded2ac |
|
|
|
6ded2ac |
%check
|
|
|
0f30072 |
%pytest
|
|
|
6ded2ac |
|
|
|
78554d2 |
%files -n python3-%{srcname}
|
|
|
78554d2 |
%license LICENSE
|
|
|
6ded2ac |
%doc README.rst
|
|
|
78554d2 |
%{_bindir}/%{srcname}
|
|
Igor Gnatenko |
bc4bb66 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
Igor Gnatenko |
bc4bb66 |
%{python3_sitelib}/%{srcname}/
|
|
|
6ded2ac |
|
|
|
6ded2ac |
%changelog
|
|
|
b22009c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-8
|
|
|
b22009c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
b22009c |
|
|
|
ccad8a4 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-7
|
|
|
ccad8a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
ccad8a4 |
|
|
|
96b26ff |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 7.1.1-6
|
|
|
96b26ff |
- Rebuilt for Python 3.11
|
|
|
96b26ff |
|
|
|
49b6c49 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-5
|
|
|
49b6c49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
49b6c49 |
|
|
|
fbb1248 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-4
|
|
|
fbb1248 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fbb1248 |
|
|
|
e03e112 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 7.1.1-3
|
|
|
e03e112 |
- Rebuilt for Python 3.10
|
|
|
e03e112 |
|
|
|
3d16b40 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-2
|
|
|
3d16b40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3d16b40 |
|
|
|
ad14c5c |
* Mon Jan 25 2021 José Matos <jamatos@fedoraproject.org> - 7.1.1-1
|
|
|
ad14c5c |
- update to 7.1.1
|
|
|
ad14c5c |
|
|
|
17c00f9 |
* Sun Dec 13 2020 José Matos <jamatos@fedoraproject.org> - 7.1.0-1
|
|
|
17c00f9 |
- Update to 7.1.0
|
|
|
17c00f9 |
|
|
|
448e45a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-3
|
|
|
448e45a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
448e45a |
|
|
|
0f1eb71 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 7.0.1-2
|
|
|
0f1eb71 |
- Rebuilt for Python 3.9
|
|
|
0f1eb71 |
|
|
|
c1e0968 |
* Thu Mar 19 2020 José Matos <jamatos@fedoraproject.org> - 7.0.1-1
|
|
|
c1e0968 |
- Update to 7.0.1
|
|
|
c1e0968 |
|
|
|
76e21c5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-9
|
|
|
76e21c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
76e21c5 |
|
|
|
3cdf91d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.0-8
|
|
|
3cdf91d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
3cdf91d |
|
|
|
3cf1c82 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.0-7
|
|
|
3cf1c82 |
- Rebuilt for Python 3.8
|
|
|
3cf1c82 |
|
|
|
113560b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
|
|
113560b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
113560b |
|
|
|
64e9195 |
* Fri Jul 19 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-5
|
|
|
64e9195 |
- drop unneeded BR (pytest-flakes and pytest-cov)
|
|
|
64e9195 |
|
|
|
ee920b9 |
* Fri Jul 19 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-4
|
|
|
ee920b9 |
- drop pytest-pep8 BR
|
|
|
ee920b9 |
|
|
|
c8b5813 |
* Sun May 12 2019 Orion Poplawski <orion@nwra.com> - 6.0.0-3
|
|
|
c8b5813 |
- Drop unneeded BR on pytest-cache
|
|
|
c8b5813 |
|
|
|
3ba0534 |
* Wed Apr 17 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-2
|
|
|
3ba0534 |
- Suggests: pyICU, to sort in a locale-dependent manner
|
|
|
3ba0534 |
|
|
|
b7bde21 |
* Wed Apr 17 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-1
|
|
|
b7bde21 |
- update to 6.0.0
|
|
|
b7bde21 |
|
|
|
dff2314 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-3
|
|
|
dff2314 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
dff2314 |
|
|
|
3f166c0 |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.3.3-2
|
|
|
3f166c0 |
- Subpackage python2-natsort has been removed
|
|
|
3f166c0 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
3f166c0 |
|
|
|
24dcbc2 |
* Tue Aug 28 2018 José Matos <jamatos@fedoraproject.org> - 5.3.3-1
|
|
|
24dcbc2 |
- update to 5.3.3
|
|
|
24dcbc2 |
|
|
|
e2fd1d7 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-6
|
|
|
e2fd1d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e2fd1d7 |
|
|
|
6993719 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.3-5
|
|
|
6993719 |
- Rebuilt for Python 3.7
|
|
|
6993719 |
|
|
|
bb15677 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-4
|
|
|
bb15677 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bb15677 |
|
|
|
4c1ba7a |
* Fri Jan 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.3-3
|
|
|
4c1ba7a |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
4c1ba7a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
4c1ba7a |
|
|
|
858066d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
|
|
|
858066d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
858066d |
|
|
|
2b93f8d |
* Thu May 4 2017 José Matos <jamatos@fedoraproject.org> - 5.0.3-1
|
|
|
2b93f8d |
- update to 5.0.3
|
|
|
2b93f8d |
|
|
|
487ac95 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
487ac95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
487ac95 |
|
|
|
2348b53 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 5.0.1-2
|
|
|
2348b53 |
- Rebuild for Python 3.6
|
|
|
2348b53 |
|
|
Igor Gnatenko |
bc4bb66 |
* Fri Aug 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 5.0.1-1
|
|
Igor Gnatenko |
bc4bb66 |
- Update to 5.0.1
|
|
Igor Gnatenko |
bc4bb66 |
- Trivial fixes in spec
|
|
Igor Gnatenko |
bc4bb66 |
|
|
|
943bb6e |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-2
|
|
|
943bb6e |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
943bb6e |
|
|
|
78554d2 |
* Sat Feb 6 2016 José Matos <jamatos@fedoraproject.org> - 4.0.4-1
|
|
|
78554d2 |
- update to 4.0.4
|
|
|
41b44d6 |
- add BR: python-pathlib, python-mock and python-hypothesis to run tests
|
|
|
78554d2 |
- clean spec file to take advantage of the new available macros
|
|
|
78554d2 |
|
|
|
74cd82a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.5-4
|
|
|
74cd82a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
74cd82a |
|
|
|
a8e67ad |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.5-3
|
|
|
a8e67ad |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
a8e67ad |
|
|
|
681fc0c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.5-2
|
|
|
681fc0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
681fc0c |
|
|
|
d8cd102 |
* Mon Apr 6 2015 José Matos <jamatos@fedoraproject.org> - 3.5.5-1
|
|
|
d8cd102 |
- update to 3.5.5 (3.5.2+ required by nikola)
|
|
|
5ee8249 |
- add new dependencies to deal with tests (python?-execnet)
|
|
|
d8cd102 |
|
|
|
6ded2ac |
* Fri Sep 26 2014 José Matos <jamatos@fedoraproject.org> - 3.5.1-1
|
|
|
6ded2ac |
- update to 3.5.1
|
|
|
6ded2ac |
- add check (tests) section
|
|
|
6ded2ac |
|
|
|
6ded2ac |
* Fri May 30 2014 José Matos <jamatos@fedoraproject.org> - 3.2.0-2
|
|
|
6ded2ac |
- change references to __python to __python2
|
|
|
6ded2ac |
- fix typo in the list of files of the python3 subpackage that
|
|
|
6ded2ac |
referenced the version 2 directory
|
|
|
6ded2ac |
|
|
|
6ded2ac |
* Thu May 22 2014 José Matos <jamatos@fedoraproject.org> - 3.2.0-1
|
|
|
6ded2ac |
- initial package
|