a5e55d
%global modname dateutil
a5e55d
a5e55d
Name:           python-%{modname}
a5e55d
Version:        2.6.1
a5e55d
Release:        6%{?dist}
a5e55d
Epoch:          1
a5e55d
Summary:        Powerful extensions to the standard datetime module
a5e55d
a5e55d
Group:          Development/Languages
a5e55d
License:        BSD
a5e55d
URL:            https://github.com/dateutil/dateutil
a5e55d
Source0:        https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz
a5e55d
a5e55d
BuildArch:      noarch
a5e55d
BuildRequires:  python3-sphinx
a5e55d
a5e55d
%description
a5e55d
The dateutil module provides powerful extensions to the standard datetime
a5e55d
module available in Python.
a5e55d
a5e55d
%package -n python3-%{modname}
a5e55d
Summary:        Powerful extensions to the standard datetime module
a5e55d
%{?python_provide:%python_provide python3-%{modname}}
a5e55d
BuildRequires:  python3-devel
a5e55d
BuildRequires:  python3-six
a5e55d
BuildRequires:  python3-setuptools
a5e55d
Requires:       tzdata
a5e55d
Requires:       python3-six
a5e55d
a5e55d
%description -n python3-dateutil
a5e55d
The dateutil module provides powerful extensions to the standard datetime
a5e55d
module available in Python.
a5e55d
a5e55d
This is the version for Python 3.
a5e55d
a5e55d
%package doc
a5e55d
Summary: API documentation for python-dateutil
a5e55d
%description doc
a5e55d
This package contains %{summary}.
a5e55d
a5e55d
%prep
a5e55d
%autosetup -p0 -n %{modname}-%{version}
a5e55d
iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
a5e55d
mv NEWS.new NEWS
a5e55d
a5e55d
%build
a5e55d
%py3_build
a5e55d
make -C docs html
a5e55d
a5e55d
%install
a5e55d
%py3_install
a5e55d
a5e55d
%check
a5e55d
%{__python3} setup.py test
a5e55d
a5e55d
%files -n python3-%{modname}
a5e55d
%license LICENSE
a5e55d
%doc NEWS README.rst
a5e55d
%{python3_sitelib}/%{modname}/
a5e55d
%{python3_sitelib}/*.egg-info
a5e55d
a5e55d
%files doc
a5e55d
%license LICENSE
a5e55d
%doc docs/_build/html
a5e55d
a5e55d
%changelog
a5e55d
* Mon Jul 16 2018 Honza Horak <hhorak@redhat.com> - 1:2.6.1-6
a5e55d
- Change license to BSD
a5e55d
a5e55d
* Wed Jun 13 2018 Petr Viktorin <pviktori@redhat.com> - 1:2.6.1-5
a5e55d
- Drop the python2 subpackage
a5e55d
a5e55d
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.6.1-4
a5e55d
- Use Python 3 Sphinx
a5e55d
a5e55d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.1-3
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a5e55d
a5e55d
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:2.6.1-2
a5e55d
- Fix ambiguous Python 2 dependency declarations
a5e55d
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a5e55d
a5e55d
* Thu Nov  2 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1:2.6.1-1
a5e55d
- Upstream 2.6.1
a5e55d
a5e55d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.0-4
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a5e55d
a5e55d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.0-3
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a5e55d
a5e55d
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.6.0-2
a5e55d
- Rebuild for Python 3.6
a5e55d
a5e55d
* Wed Nov 09 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.6.0-1
a5e55d
- Update to 2.6.0 (RHBZ #1393159)
a5e55d
a5e55d
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.5.3-2
a5e55d
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a5e55d
a5e55d
* Thu May  5 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.5.3-1
a5e55d
- Update to latest version (#1318828)
a5e55d
a5e55d
* Thu May  5 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.5.2-2
a5e55d
- Use separate dirs for docs for py2 and py3 subpackages (#1332623)
a5e55d
a5e55d
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:2.5.2-1
a5e55d
- Update to 2.5.2
a5e55d
- Adopt for new packaging guidelines
a5e55d
a5e55d
* Mon Feb 29 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@bupkis> - 1:2.5.0-1
a5e55d
- Update to latest upstream version
a5e55d
- The patch to make dateutil.zoneinfo.gettz() use the system database is dropped.
a5e55d
  Upstream recommends using dateutil.tz.gettz() instead.
a5e55d
a5e55d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.4.2-4
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a5e55d
a5e55d
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 1:2.4.2-3
a5e55d
- Rebuilt for Python3.5 rebuild
a5e55d
- Add BuildRequires: python3-setuptools
a5e55d
a5e55d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4.2-2
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a5e55d
a5e55d
* Mon Apr  6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.2-1
a5e55d
- Update to latest upstream release.
a5e55d
a5e55d
* Tue Mar  3 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-3
a5e55d
- Add patch for string handling in dateutil.tz.tzstr (#1197791)
a5e55d
a5e55d
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-2
a5e55d
- Add python3 subpackage.
a5e55d
- Conflict with python-vobject <= 0.8.1c-10 (workaround until #1183377
a5e55d
  is fixed one way or another).
a5e55d
a5e55d
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-1
a5e55d
- Change to new upstream, update to 2.4 (#1126521)
a5e55d
- Build documentation.
a5e55d
a5e55d
* Tue Aug 05 2014 Jon Ciesla <limburgher@gmail.com> - 1:1.5-9
a5e55d
- Reverting to 1.5 pre user feedback and upstream.
a5e55d
a5e55d
* Mon Aug 04 2014 Jon Ciesla <limburgher@gmail.com> - 2.2-1
a5e55d
- Update to 2.2, BZ 1126521.
a5e55d
- Fix bad dates.
a5e55d
a5e55d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a5e55d
a5e55d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a5e55d
a5e55d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a5e55d
a5e55d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a5e55d
a5e55d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a5e55d
a5e55d
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-3
a5e55d
- Adjust patch to respect systemwide tzdata. Ref bug 729786
a5e55d
a5e55d
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-2
a5e55d
- Added a patch to respect systemwide tzdata. Ref bug 729786
a5e55d
a5e55d
* Wed Jul 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5-1
a5e55d
- New upstream release
a5e55d
- Fix UTF8 encoding correctly
a5e55d
- Drop buildroot, clean, defattr and use macro for Source
a5e55d
a5e55d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a5e55d
a5e55d
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-5
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a5e55d
a5e55d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a5e55d
a5e55d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
a5e55d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a5e55d
a5e55d
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
a5e55d
- small specfile fix
a5e55d
a5e55d
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
a5e55d
- New upstream version
a5e55d
a5e55d
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.4-3
a5e55d
- Rebuild for Python 2.6
a5e55d
a5e55d
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
a5e55d
- fix license tag
a5e55d
a5e55d
* Tue Jul 01 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> 1.4-1
a5e55d
- Latest upstream release
a5e55d
a5e55d
* Fri Jan 04 2008 Jef Spaleta <jspaleta@fedoraproject.org> 1.2-2
a5e55d
- Fix for egg-info file creation
a5e55d
a5e55d
* Thu Jun 28 2007 Orion Poplawski <orion@cora.nwra.com> 1.2-1
a5e55d
- Update to 1.2
a5e55d
a5e55d
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-5
a5e55d
- Fix python-devel BR, as per discussion in maintainers-list
a5e55d
a5e55d
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-4
a5e55d
- Release bump for rebuild against python 2.5 in devel tree
a5e55d
a5e55d
* Wed Jul 26 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-3
a5e55d
- Add patch to fix building on x86_64
a5e55d
a5e55d
* Wed Feb 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-2
a5e55d
- Rebuild for gcc/glibc changes
a5e55d
a5e55d
* Thu Dec 22 2005 Orion Poplawski <orion@cora.nwra.com> 1.1-1
a5e55d
- Update to 1.1
a5e55d
a5e55d
* Thu Jul 28 2005 Orion Poplawski <orion@cora.nwra.com> 1.0-1
a5e55d
- Update to 1.0
a5e55d
a5e55d
* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 0.9-1
a5e55d
- Initial Fedora Extras package