2016-04-09 13:56:22 +00:00
|
|
|
%global modname dateutil
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
2020-06-01 14:05:04 +00:00
|
|
|
Version: 2.8.1
|
2020-07-29 00:31:26 +00:00
|
|
|
Release: 2%{?dist}
|
2014-08-05 11:57:50 +00:00
|
|
|
Epoch: 1
|
2005-07-28 19:53:28 +00:00
|
|
|
Summary: Powerful extensions to the standard datetime module
|
|
|
|
|
2018-03-12 12:50:39 +00:00
|
|
|
License: BSD
|
2015-01-21 17:12:23 +00:00
|
|
|
URL: https://github.com/dateutil/dateutil
|
2018-09-08 17:05:50 +00:00
|
|
|
Source: %{pypi_source}
|
2005-07-28 19:53:28 +00:00
|
|
|
|
2019-03-28 09:46:02 +00:00
|
|
|
# when bootstrapping dateutil-freezegun, we cannot run tests
|
|
|
|
%bcond_without tests
|
|
|
|
|
2005-07-28 19:53:28 +00:00
|
|
|
BuildArch: noarch
|
2021-01-08 19:47:27 +00:00
|
|
|
BuildRequires: make
|
2018-03-12 14:24:13 +00:00
|
|
|
BuildRequires: python3-sphinx
|
2019-03-26 15:07:30 +00:00
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
2015-01-21 17:12:23 +00:00
|
|
|
|
2018-03-12 12:49:29 +00:00
|
|
|
%global _description \
|
|
|
|
The dateutil module provides powerful extensions to the standard datetime\
|
|
|
|
module available in Python.
|
2005-07-28 19:53:28 +00:00
|
|
|
|
2018-03-12 12:49:29 +00:00
|
|
|
%description %_description
|
2015-01-21 18:27:27 +00:00
|
|
|
|
2016-04-09 13:56:22 +00:00
|
|
|
%package -n python3-%{modname}
|
2018-03-12 12:49:29 +00:00
|
|
|
Summary: %summary
|
2015-01-21 18:27:27 +00:00
|
|
|
BuildRequires: python3-devel
|
2019-03-28 09:46:02 +00:00
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
%if %{with tests}
|
2018-09-13 16:17:37 +00:00
|
|
|
BuildRequires: python3-freezegun
|
|
|
|
BuildRequires: python3-hypothesis
|
|
|
|
BuildRequires: python3-pytest
|
2015-01-21 18:27:27 +00:00
|
|
|
BuildRequires: python3-six
|
2019-03-28 09:46:02 +00:00
|
|
|
%endif
|
2015-01-21 18:27:27 +00:00
|
|
|
Requires: tzdata
|
|
|
|
Requires: python3-six
|
2018-03-12 12:49:29 +00:00
|
|
|
%{?python_provide:%python_provide python3-%{modname}}
|
2015-01-21 18:27:27 +00:00
|
|
|
|
2018-03-12 12:49:29 +00:00
|
|
|
%description -n python3-%{modname} %_description
|
2015-01-21 18:27:27 +00:00
|
|
|
|
2015-01-21 17:21:17 +00:00
|
|
|
%package doc
|
|
|
|
Summary: API documentation for python-dateutil
|
|
|
|
%description doc
|
|
|
|
This package contains %{summary}.
|
|
|
|
|
2005-07-28 19:53:28 +00:00
|
|
|
%prep
|
2018-03-12 14:24:13 +00:00
|
|
|
%autosetup
|
2011-07-12 23:06:43 +00:00
|
|
|
iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
|
|
|
|
mv NEWS.new NEWS
|
2005-07-28 19:53:28 +00:00
|
|
|
|
|
|
|
%build
|
2016-02-29 00:39:08 +00:00
|
|
|
%py3_build
|
2015-01-21 17:21:17 +00:00
|
|
|
make -C docs html
|
2005-07-28 19:53:28 +00:00
|
|
|
|
|
|
|
%install
|
2016-02-29 00:39:08 +00:00
|
|
|
%py3_install
|
2005-07-28 19:53:28 +00:00
|
|
|
|
2019-03-28 09:46:02 +00:00
|
|
|
%if %{with tests}
|
2019-03-26 15:07:30 +00:00
|
|
|
%check
|
2019-08-12 23:28:46 +00:00
|
|
|
%{__python3} -m pytest -W ignore::pytest.PytestUnknownMarkWarning
|
2019-09-13 22:23:41 +00:00
|
|
|
%endif
|
2015-01-21 18:25:50 +00:00
|
|
|
|
2016-04-09 13:56:22 +00:00
|
|
|
%files -n python3-%{modname}
|
2015-01-21 18:27:27 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README.rst
|
2016-04-09 13:56:22 +00:00
|
|
|
%{python3_sitelib}/%{modname}/
|
2015-01-21 18:27:27 +00:00
|
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
|
2015-01-21 17:21:17 +00:00
|
|
|
%files doc
|
|
|
|
%license LICENSE
|
|
|
|
%doc docs/_build/html
|
|
|
|
|
2005-07-28 19:53:28 +00:00
|
|
|
%changelog
|
2020-07-29 00:31:26 +00:00
|
|
|
* 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
|
|
|
|
|
2020-06-01 14:05:04 +00:00
|
|
|
* Sun May 31 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:2.8.1-1
|
|
|
|
- 2.8.1
|
|
|
|
|
2020-05-22 23:23:29 +00:00
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-10
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-22 23:04:25 +00:00
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-9
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
2020-01-30 11:34:20 +00:00
|
|
|
* 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
|
|
|
|
|
2020-01-16 10:17:15 +00:00
|
|
|
* 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
|
|
|
|
|
2019-09-13 22:23:41 +00:00
|
|
|
* Fri Sep 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-6
|
|
|
|
- Reduce Python 2 build dependencies on Fedora 32
|
|
|
|
|
2019-08-15 19:02:07 +00:00
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-5
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-08-15 18:50:16 +00:00
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.8.0-4
|
|
|
|
- Bootstrap for Python 3.8
|
|
|
|
|
2019-07-26 12:59:21 +00:00
|
|
|
* 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
|
|
|
|
|
2019-04-04 11:57:24 +00:00
|
|
|
* Wed Mar 06 2019 Petr Viktorin <pviktori@redhat.com> - 1:2.8.0-2
|
2019-03-26 15:07:30 +00:00
|
|
|
- Enable tests (but keep a few skipped on Python 2)
|
|
|
|
- Add explicit dependency on python3-sphinx_rtd_theme
|
|
|
|
- Remove test dependency on python2-hypothesis
|
|
|
|
|
2019-02-06 15:39:25 +00:00
|
|
|
* Wed Feb 06 2019 Gwyn Ciesla <limburgher@gmail.com> - 1:2.8.0-1
|
|
|
|
- 2.8.0
|
|
|
|
|
2019-01-31 14:59:32 +00:00
|
|
|
* Thu Jan 31 2019 Gwyn Ciesla <limburgher@gmail.com> - 1:2.7.5-1
|
|
|
|
- 2.7.5
|
|
|
|
|
2018-09-08 17:05:50 +00:00
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:2.7.3-1
|
|
|
|
- Update to 2.7.3
|
|
|
|
|
2018-07-13 23:56:34 +00:00
|
|
|
* 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
|
|
|
|
|
2018-06-16 00:44:15 +00:00
|
|
|
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.7.0-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-03-12 14:24:13 +00:00
|
|
|
* 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.
|
|
|
|
|
2018-02-09 07:17:57 +00:00
|
|
|
* 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
|
|
|
|
|
2017-12-11 11:35:40 +00:00
|
|
|
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:2.6.1-2
|
|
|
|
- Fix ambiguous Python 2 dependency declarations
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2017-11-02 08:53:06 +00:00
|
|
|
* Thu Nov 2 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1:2.6.1-1
|
|
|
|
- Upstream 2.6.1
|
|
|
|
|
2017-07-27 10:00:29 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 08:42:46 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-11 14:12:53 +00:00
|
|
|
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.6.0-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-11-09 05:42:45 +00:00
|
|
|
* Wed Nov 09 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.6.0-1
|
|
|
|
- Update to 2.6.0 (RHBZ #1393159)
|
|
|
|
|
2016-07-19 09:21:02 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.5.3-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-05-05 01:43:01 +00:00
|
|
|
* Thu May 5 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.5.3-1
|
|
|
|
- Update to latest version (#1318828)
|
|
|
|
|
2016-05-05 01:36:35 +00:00
|
|
|
* Thu May 5 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.5.2-2
|
|
|
|
- Use separate dirs for docs for py2 and py3 subpackages (#1332623)
|
|
|
|
|
2016-04-09 13:56:22 +00:00
|
|
|
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:2.5.2-1
|
|
|
|
- Update to 2.5.2
|
|
|
|
- Adopt for new packaging guidelines
|
|
|
|
|
2016-02-29 00:39:08 +00:00
|
|
|
* Mon Feb 29 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@bupkis> - 1:2.5.0-1
|
|
|
|
- Update to latest upstream version
|
|
|
|
- The patch to make dateutil.zoneinfo.gettz() use the system database is dropped.
|
|
|
|
Upstream recommends using dateutil.tz.gettz() instead.
|
|
|
|
|
2016-02-04 19:19:37 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.4.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-14 06:30:59 +00:00
|
|
|
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 1:2.4.2-3
|
|
|
|
- Rebuilt for Python3.5 rebuild
|
|
|
|
- Add BuildRequires: python3-setuptools
|
|
|
|
|
2015-06-18 18:53:49 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-06 16:12:47 +00:00
|
|
|
* Mon Apr 6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.2-1
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
2015-03-03 20:16:00 +00:00
|
|
|
* Tue Mar 3 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-3
|
|
|
|
- Add patch for string handling in dateutil.tz.tzstr (#1197791)
|
|
|
|
|
2015-01-21 18:27:27 +00:00
|
|
|
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-2
|
|
|
|
- Add python3 subpackage.
|
2015-02-21 23:32:27 +00:00
|
|
|
- Conflict with python-vobject <= 0.8.1c-10 (workaround until #1183377
|
|
|
|
is fixed one way or another).
|
2015-01-21 18:27:27 +00:00
|
|
|
|
2015-01-21 17:12:23 +00:00
|
|
|
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-1
|
|
|
|
- Change to new upstream, update to 2.4 (#1126521)
|
2015-01-21 17:21:17 +00:00
|
|
|
- Build documentation.
|
2015-01-21 17:12:23 +00:00
|
|
|
|
2014-08-05 11:57:50 +00:00
|
|
|
* Tue Aug 05 2014 Jon Ciesla <limburgher@gmail.com> - 1:1.5-9
|
|
|
|
- Reverting to 1.5 pre user feedback and upstream.
|
|
|
|
|
2014-08-04 17:04:21 +00:00
|
|
|
* Mon Aug 04 2014 Jon Ciesla <limburgher@gmail.com> - 2.2-1
|
|
|
|
- Update to 2.2, BZ 1126521.
|
|
|
|
- Fix bad dates.
|
|
|
|
|
2014-06-07 19:21:20 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 06:54:52 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 19:12:26 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 05:36:20 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 01:39:46 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2014-08-04 17:04:21 +00:00
|
|
|
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-3
|
2011-09-15 17:48:43 +00:00
|
|
|
- Adjust patch to respect systemwide tzdata. Ref bug 729786
|
|
|
|
|
2014-08-04 17:04:21 +00:00
|
|
|
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-2
|
2011-09-15 17:29:13 +00:00
|
|
|
- Added a patch to respect systemwide tzdata. Ref bug 729786
|
|
|
|
|
2011-07-12 23:06:43 +00:00
|
|
|
* Wed Jul 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5-1
|
|
|
|
- New upstream release
|
|
|
|
- Fix UTF8 encoding correctly
|
|
|
|
- Drop buildroot, clean, defattr and use macro for Source
|
|
|
|
|
2011-02-09 03:27:41 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 04:04:21 +00:00
|
|
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-07-26 20:17:11 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 21:06:30 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-21 00:22:40 +00:00
|
|
|
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
|
|
|
|
- small specfile fix
|
|
|
|
|
|
|
|
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
|
2009-02-21 00:07:24 +00:00
|
|
|
- New upstream version
|
|
|
|
|
2008-11-29 15:27:21 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.4-3
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-08-29 21:45:44 +00:00
|
|
|
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-07-01 19:36:01 +00:00
|
|
|
* Tue Jul 01 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> 1.4-1
|
2015-01-21 17:12:23 +00:00
|
|
|
- Latest upstream release
|
2008-07-01 19:36:01 +00:00
|
|
|
|
2008-01-05 00:36:05 +00:00
|
|
|
* Fri Jan 04 2008 Jef Spaleta <jspaleta@fedoraproject.org> 1.2-2
|
|
|
|
- Fix for egg-info file creation
|
|
|
|
|
2007-06-28 22:31:52 +00:00
|
|
|
* Thu Jun 28 2007 Orion Poplawski <orion@cora.nwra.com> 1.2-1
|
|
|
|
- Update to 1.2
|
|
|
|
|
2006-12-12 08:26:01 +00:00
|
|
|
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-5
|
|
|
|
- Fix python-devel BR, as per discussion in maintainers-list
|
|
|
|
|
2006-12-12 07:57:07 +00:00
|
|
|
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-4
|
2006-12-12 07:55:20 +00:00
|
|
|
- Release bump for rebuild against python 2.5 in devel tree
|
|
|
|
|
2006-07-26 22:21:30 +00:00
|
|
|
* Wed Jul 26 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-3
|
|
|
|
- Add patch to fix building on x86_64
|
|
|
|
|
2006-02-15 19:21:24 +00:00
|
|
|
* Wed Feb 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-2
|
|
|
|
- Rebuild for gcc/glibc changes
|
|
|
|
|
2005-12-23 00:03:51 +00:00
|
|
|
* Thu Dec 22 2005 Orion Poplawski <orion@cora.nwra.com> 1.1-1
|
|
|
|
- Update to 1.1
|
|
|
|
|
2005-07-28 19:53:28 +00:00
|
|
|
* Thu Jul 28 2005 Orion Poplawski <orion@cora.nwra.com> 1.0-1
|
|
|
|
- Update to 1.0
|
|
|
|
|
|
|
|
* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 0.9-1
|
|
|
|
- Initial Fedora Extras package
|