Compare commits

..

No commits in common. "c8" and "imports/c9/python-dateutil-2.8.1-6.el9" have entirely different histories.

3 changed files with 94 additions and 24 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dateutil-2.6.1.tar.gz SOURCES/python-dateutil-2.8.1.tar.gz

View File

@ -1 +1 @@
33b66da1a9118550d4ef5350b0cfdb72e1f7774a SOURCES/dateutil-2.6.1.tar.gz bd26127e57f83a10f656b62c46524c15aeb844dd SOURCES/python-dateutil-2.8.1.tar.gz

View File

@ -1,37 +1,45 @@
%global modname dateutil %global modname dateutil
Name: python-%{modname} Name: python-%{modname}
Version: 2.6.1 Version: 2.8.1
Release: 6%{?dist} Release: 6%{?dist}
Epoch: 1 Epoch: 1
Summary: Powerful extensions to the standard datetime module Summary: Powerful extensions to the standard datetime module
Group: Development/Languages
License: BSD License: BSD
URL: https://github.com/dateutil/dateutil URL: https://github.com/dateutil/dateutil
Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz Source: %{pypi_source}
# Disable tests to avoid pulling in test dependencies on RHEL9
# Specify --with tests to run the tests e.g. on EPEL
%bcond_with tests
BuildArch: noarch BuildArch: noarch
BuildRequires: make
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
BuildRequires: python3-sphinx_rtd_theme
%description %global _description \
The dateutil module provides powerful extensions to the standard datetime The dateutil module provides powerful extensions to the standard datetime\
module available in Python. module available in Python.
%description %_description
%package -n python3-%{modname} %package -n python3-%{modname}
Summary: Powerful extensions to the standard datetime module Summary: %summary
%{?python_provide:%python_provide python3-%{modname}}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-six
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%if %{with tests}
BuildRequires: python3-freezegun
BuildRequires: python3-hypothesis
BuildRequires: python3-pytest
BuildRequires: python3-six
%endif
Requires: tzdata Requires: tzdata
Requires: python3-six %{?python_provide:%python_provide python3-%{modname}}
%description -n python3-dateutil %description -n python3-%{modname} %_description
The dateutil module provides powerful extensions to the standard datetime
module available in Python.
This is the version for Python 3.
%package doc %package doc
Summary: API documentation for python-dateutil Summary: API documentation for python-dateutil
@ -39,7 +47,7 @@ Summary: API documentation for python-dateutil
This package contains %{summary}. This package contains %{summary}.
%prep %prep
%autosetup -p0 -n %{modname}-%{version} %autosetup
iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
mv NEWS.new NEWS mv NEWS.new NEWS
@ -50,8 +58,10 @@ make -C docs html
%install %install
%py3_install %py3_install
%if %{with tests}
%check %check
%{__python3} setup.py test %{__python3} -m pytest -W ignore::pytest.PytestUnknownMarkWarning
%endif
%files -n python3-%{modname} %files -n python3-%{modname}
%license LICENSE %license LICENSE
@ -64,14 +74,74 @@ make -C docs html
%doc docs/_build/html %doc docs/_build/html
%changelog %changelog
* Mon Jul 16 2018 Honza Horak <hhorak@redhat.com> - 1:2.6.1-6 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.8.1-6
- Change license to BSD - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jun 13 2018 Petr Viktorin <pviktori@redhat.com> - 1:2.6.1-5 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.8.1-5
- Drop the python2 subpackage - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.6.1-4 * Mon Mar 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:2.8.1-4
- Use Python 3 Sphinx - Disable tests on RHEL9 to remove the test dependencies
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun May 31 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:2.8.1-1
- 2.8.1
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-10
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-9
- Bootstrap for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-7
- Subpackage python2-dateutil has been removed
See https://fedoraproject.org/wiki/Changes/RetirePython2
* Fri Sep 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-6
- Reduce Python 2 build dependencies on Fedora 32
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-5
- Rebuilt for Python 3.8
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-4
- Bootstrap for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Mar 06 2019 Petr Viktorin <pviktori@redhat.com> - 1:2.8.0-2
- Enable tests (but keep a few skipped on Python 2)
- Add explicit dependency on python3-sphinx_rtd_theme
- Remove test dependency on python2-hypothesis
* Wed Feb 06 2019 Gwyn Ciesla <limburgher@gmail.com> - 1:2.8.0-1
- 2.8.0
* Thu Jan 31 2019 Gwyn Ciesla <limburgher@gmail.com> - 1:2.7.5-1
- 2.7.5
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:2.7.3-1
- Update to 2.7.3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.7.0-2
- Rebuilt for Python 3.7
* Mon Mar 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.7.0-1
- Fix license tag (should be BSD)
- Update to latest version (#1469314)
See https://github.com/dateutil/dateutil/blob/master/NEWS for details.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.1-3 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild