4082784
# This is an epel-only package.
4082784
# We want python3*-dateutil in EPEL, but the original package is in RHEL.
4082784
# This was forked from the latest python-dateutil in rawhide on 2016-07-27.
4082784
4082784
%global python3_pkgversion 34
4082784
4082784
Name:           python3-dateutil
4082784
Version:        2.4.2
4082784
Release:        3%{?dist}
4082784
Epoch:          1
4082784
Summary:        Powerful extensions to the standard datetime module
4082784
4082784
Group:          Development/Languages
4082784
License:        Python
4082784
URL:            https://github.com/dateutil/dateutil
4082784
Source0:        https://github.com/dateutil/dateutil/archive/%{version}.tar.gz
4082784
# https://github.com/dateutil/dateutil/issues/11
4082784
Patch0:         python-dateutil-system-zoneinfo.patch
4082784
Patch1:         python-dateutil-timelex-string.patch
4082784
4082784
BuildArch:      noarch
4082784
4082784
%description
4082784
The dateutil module provides powerful extensions to the standard datetime
4082784
module available in Python 2.3+.
4082784
4082784
This is the version for Python 3.
4082784
4082784
%package -n python%{python3_pkgversion}-dateutil
4082784
Summary:        Powerful extensions to the standard datetime module
4082784
BuildRequires:  python%{python3_pkgversion}-devel
4082784
BuildRequires:  python%{python3_pkgversion}-setuptools
4082784
BuildRequires:  python%{python3_pkgversion}-six
4082784
4082784
Requires:       python%{python3_pkgversion}-six
4082784
Requires:       tzdata
4082784
4082784
%description -n python%{python3_pkgversion}-dateutil
4082784
The dateutil module provides powerful extensions to the standard datetime
4082784
module available in Python 2.3+.
4082784
4082784
This is the version for Python 3.
4082784
4082784
%package doc
4082784
Summary: API documentation for python-dateutil
4082784
4082784
%description doc
4082784
This package contains %{summary}.
4082784
4082784
%prep
4082784
%autosetup -p0 -n dateutil-%{version}
4082784
4082784
iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
4082784
mv NEWS.new NEWS
4082784
4082784
%build
4082784
%{__python3} setup.py build
4082784
4082784
%install
4082784
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
4082784
4082784
%check
4082784
%{__python3} setup.py test
4082784
4082784
%files -n python%{python3_pkgversion}-dateutil
4082784
%license LICENSE
4082784
%doc NEWS README.rst
4082784
%{python3_sitelib}/dateutil/
4082784
%{python3_sitelib}/*.egg-info
4082784
4082784
%changelog
4082784
* Thu Jun 25 2015 Ralph Bean <rbean@redhat.com> - 1:2.4.2-3
4082784
- Support python34 on epel7.
4082784
4082784
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4.2-2
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4082784
4082784
* Mon Apr  6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.2-1
4082784
- Update to latest upstream release.
4082784
4082784
* Tue Mar  3 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-3
4082784
- Add patch for string handling in dateutil.tz.tzstr (#1197791)
4082784
4082784
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-2
4082784
- Add python3 subpackage.
4082784
- Conflict with python-vobject <= 0.8.1c-10 (workaround until #1183377
4082784
  is fixed one way or another).
4082784
4082784
* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.4.0-1
4082784
- Change to new upstream, update to 2.4 (#1126521)
4082784
- Build documentation.
4082784
4082784
* Tue Aug 05 2014 Jon Ciesla <limburgher@gmail.com> - 1:1.5-9
4082784
- Reverting to 1.5 pre user feedback and upstream.
4082784
4082784
* Mon Aug 04 2014 Jon Ciesla <limburgher@gmail.com> - 2.2-1
4082784
- Update to 2.2, BZ 1126521.
4082784
- Fix bad dates.
4082784
4082784
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4082784
4082784
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4082784
4082784
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4082784
4082784
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4082784
4082784
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4082784
4082784
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-3
4082784
- Adjust patch to respect systemwide tzdata. Ref bug 729786
4082784
4082784
* Thu Sep 15 2011 Jef Spaleta <jspaleta@fedoraproject.org> - 1.5-2
4082784
- Added a patch to respect systemwide tzdata. Ref bug 729786
4082784
4082784
* Wed Jul 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.5-1
4082784
- New upstream release
4082784
- Fix UTF8 encoding correctly
4082784
- Drop buildroot, clean, defattr and use macro for Source
4082784
4082784
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4082784
4082784
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-5
4082784
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
4082784
4082784
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4082784
4082784
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
4082784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4082784
4082784
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
4082784
- small specfile fix
4082784
4082784
* Fri Feb 20 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.4.1-2
4082784
- New upstream version
4082784
4082784
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.4-3
4082784
- Rebuild for Python 2.6
4082784
4082784
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-2
4082784
- fix license tag
4082784
4082784
* Tue Jul 01 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> 1.4-1
4082784
- Latest upstream release
4082784
4082784
* Fri Jan 04 2008 Jef Spaleta <jspaleta@fedoraproject.org> 1.2-2
4082784
- Fix for egg-info file creation
4082784
4082784
* Thu Jun 28 2007 Orion Poplawski <orion@cora.nwra.com> 1.2-1
4082784
- Update to 1.2
4082784
4082784
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-5
4082784
- Fix python-devel BR, as per discussion in maintainers-list
4082784
4082784
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 1.1-4
4082784
- Release bump for rebuild against python 2.5 in devel tree
4082784
4082784
* Wed Jul 26 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-3
4082784
- Add patch to fix building on x86_64
4082784
4082784
* Wed Feb 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-2
4082784
- Rebuild for gcc/glibc changes
4082784
4082784
* Thu Dec 22 2005 Orion Poplawski <orion@cora.nwra.com> 1.1-1
4082784
- Update to 1.1
4082784
4082784
* Thu Jul 28 2005 Orion Poplawski <orion@cora.nwra.com> 1.0-1
4082784
- Update to 1.0
4082784
4082784
* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 0.9-1
4082784
- Initial Fedora Extras package