|
|
db4694 |
%global srcname natsort
|
|
|
db4694 |
|
|
|
db4694 |
Name: python-%{srcname}
|
|
|
db4694 |
Version: 7.1.1
|
|
|
db4694 |
Release: 2%{?dist}
|
|
|
db4694 |
Summary: Python library that sorts lists using the "natural order" sort
|
|
|
db4694 |
|
|
|
db4694 |
License: MIT
|
|
|
db4694 |
URL: https://github.com/SethMMorton/%{srcname}
|
|
|
db4694 |
Source0: https://files.pythonhosted.org/packages/source/n/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
db4694 |
|
|
|
db4694 |
Suggests: python3-pyicu
|
|
|
db4694 |
|
|
|
db4694 |
BuildArch: noarch
|
|
|
db4694 |
|
|
|
db4694 |
BuildRequires: python3-devel
|
|
|
db4694 |
BuildRequires: python3dist(coverage)
|
|
|
db4694 |
BuildRequires: python3dist(hypothesis)
|
|
|
db4694 |
BuildRequires: python3dist(pytest)
|
|
|
db4694 |
BuildRequires: python3dist(pytest-cov)
|
|
|
db4694 |
BuildRequires: python3dist(pytest-mock)
|
|
|
db4694 |
BuildRequires: python3dist(semver)
|
|
|
db4694 |
BuildRequires: python3dist(setuptools)
|
|
|
db4694 |
%{?python_enable_dependency_generator}
|
|
|
db4694 |
|
|
|
db4694 |
%global _description \
|
|
|
db4694 |
Python module which provides "natural sorting".\
|
|
|
db4694 |
\
|
|
|
db4694 |
Under natural sorting, numeric sub-strings are compared numerically,\
|
|
|
db4694 |
and the other word characters are compared lexically.\
|
|
|
db4694 |
\
|
|
|
db4694 |
Example:\
|
|
|
db4694 |
unsorted: ['a2', 'a9', 'a1', 'a4', 'a10']\
|
|
|
db4694 |
lexicographic sort: ['a1', 'a10', 'a2', 'a4', 'a9']\
|
|
|
db4694 |
natural sort: ['a1', 'a2', 'a4', 'a9', 'a10']
|
|
|
db4694 |
|
|
|
db4694 |
%description %{_description}
|
|
|
db4694 |
|
|
|
db4694 |
%package -n python3-%{srcname}
|
|
|
db4694 |
Summary: %{summary}
|
|
|
db4694 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
db4694 |
%description -n python3-%{srcname} %{_description}
|
|
|
db4694 |
|
|
|
db4694 |
%prep
|
|
|
db4694 |
%autosetup -n %{srcname}-%{version}
|
|
|
db4694 |
|
|
|
db4694 |
%build
|
|
|
db4694 |
%py3_build
|
|
|
db4694 |
|
|
|
db4694 |
%install
|
|
|
db4694 |
%py3_install
|
|
|
db4694 |
|
|
|
db4694 |
%check
|
|
|
db4694 |
%{__python3} setup.py test
|
|
|
db4694 |
|
|
|
db4694 |
%files -n python3-%{srcname}
|
|
|
db4694 |
%license LICENSE
|
|
|
db4694 |
%doc README.rst
|
|
|
db4694 |
%{_bindir}/%{srcname}
|
|
|
db4694 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
db4694 |
%{python3_sitelib}/%{srcname}/
|
|
|
db4694 |
|
|
|
db4694 |
%changelog
|
|
|
db4694 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-2
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Mon Jan 25 2021 José Matos <jamatos@fedoraproject.org> - 7.1.1-1
|
|
|
db4694 |
- update to 7.1.1
|
|
|
db4694 |
|
|
|
db4694 |
* Sun Dec 13 2020 José Matos <jamatos@fedoraproject.org> - 7.1.0-1
|
|
|
db4694 |
- Update to 7.1.0
|
|
|
db4694 |
|
|
|
db4694 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-3
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 7.0.1-2
|
|
|
db4694 |
- Rebuilt for Python 3.9
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Mar 19 2020 José Matos <jamatos@fedoraproject.org> - 7.0.1-1
|
|
|
db4694 |
- Update to 7.0.1
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-9
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.0-8
|
|
|
db4694 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
db4694 |
|
|
|
db4694 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.0-7
|
|
|
db4694 |
- Rebuilt for Python 3.8
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-6
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Jul 19 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-5
|
|
|
db4694 |
- drop unneeded BR (pytest-flakes and pytest-cov)
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Jul 19 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-4
|
|
|
db4694 |
- drop pytest-pep8 BR
|
|
|
db4694 |
|
|
|
db4694 |
* Sun May 12 2019 Orion Poplawski <orion@nwra.com> - 6.0.0-3
|
|
|
db4694 |
- Drop unneeded BR on pytest-cache
|
|
|
db4694 |
|
|
|
db4694 |
* Wed Apr 17 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-2
|
|
|
db4694 |
- Suggests: pyICU, to sort in a locale-dependent manner
|
|
|
db4694 |
|
|
|
db4694 |
* Wed Apr 17 2019 José Matos <jamatos@fedoraproject.org> - 6.0.0-1
|
|
|
db4694 |
- update to 6.0.0
|
|
|
db4694 |
|
|
|
db4694 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-3
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.3.3-2
|
|
|
db4694 |
- Subpackage python2-natsort has been removed
|
|
|
db4694 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
db4694 |
|
|
|
db4694 |
* Tue Aug 28 2018 José Matos <jamatos@fedoraproject.org> - 5.3.3-1
|
|
|
db4694 |
- update to 5.3.3
|
|
|
db4694 |
|
|
|
db4694 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-6
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.3-5
|
|
|
db4694 |
- Rebuilt for Python 3.7
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-4
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Jan 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.3-3
|
|
|
db4694 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
db4694 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Thu May 4 2017 José Matos <jamatos@fedoraproject.org> - 5.0.3-1
|
|
|
db4694 |
- update to 5.0.3
|
|
|
db4694 |
|
|
|
db4694 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 5.0.1-2
|
|
|
db4694 |
- Rebuild for Python 3.6
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Aug 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 5.0.1-1
|
|
|
db4694 |
- Update to 5.0.1
|
|
|
db4694 |
- Trivial fixes in spec
|
|
|
db4694 |
|
|
|
db4694 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-2
|
|
|
db4694 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
db4694 |
|
|
|
db4694 |
* Sat Feb 6 2016 José Matos <jamatos@fedoraproject.org> - 4.0.4-1
|
|
|
db4694 |
- update to 4.0.4
|
|
|
db4694 |
- add BR: python-pathlib, python-mock and python-hypothesis to run tests
|
|
|
db4694 |
- clean spec file to take advantage of the new available macros
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.5-4
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.5-3
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
db4694 |
|
|
|
db4694 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.5-2
|
|
|
db4694 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
db4694 |
|
|
|
db4694 |
* Mon Apr 6 2015 José Matos <jamatos@fedoraproject.org> - 3.5.5-1
|
|
|
db4694 |
- update to 3.5.5 (3.5.2+ required by nikola)
|
|
|
db4694 |
- add new dependencies to deal with tests (python?-execnet)
|
|
|
db4694 |
|
|
|
db4694 |
* Fri Sep 26 2014 José Matos <jamatos@fedoraproject.org> - 3.5.1-1
|
|
|
db4694 |
- update to 3.5.1
|
|
|
db4694 |
- add check (tests) section
|
|
|
db4694 |
|
|
|
db4694 |
* Fri May 30 2014 José Matos <jamatos@fedoraproject.org> - 3.2.0-2
|
|
|
db4694 |
- change references to __python to __python2
|
|
|
db4694 |
- fix typo in the list of files of the python3 subpackage that
|
|
|
db4694 |
referenced the version 2 directory
|
|
|
db4694 |
|
|
|
db4694 |
* Thu May 22 2014 José Matos <jamatos@fedoraproject.org> - 3.2.0-1
|
|
|
db4694 |
- initial package
|