ignatenkobrain pushed to python-aniso8601 (epel8).
"python-aniso8601-3.0.0-1 (..more)"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:00:31 UTC
From 740b68a23310185b1306bf139d9730467ca3a2f1 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Jun 01 2018 22:37:49 +0000
Subject: python-aniso8601-3.0.0-1
Changelog:
- Update to latest upstream (rhbz#1447152)
Resolves: rhbz#1447152
---
diff --git a/.gitignore b/.gitignore
index 9104e40..4335b00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/aniso8601-1.0.0.tar.gz
/aniso8601-1.1.0.tar.gz
/aniso8601-1.2.0.tar.gz
+/aniso8601-3.0.0.tar.gz
diff --git a/python-aniso8601.spec b/python-aniso8601.spec
index 325f34b..dbb3229 100644
--- a/python-aniso8601.spec
+++ b/python-aniso8601.spec
@@ -8,8 +8,8 @@
%global sum Another ISO 8601 parser for Python
Name: python-%{srcname}
-Version: 1.2.0
-Release: 3%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -71,6 +71,9 @@ rm -rf %{srcname}.egg-info
%{python3_sitelib}/*
%changelog
+* Fri Jun 01 2018 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 3.0.0-1
+- Update to latest upstream (rhbz#1447152)
+
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb(a)redhat.com> - 1.2.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
diff --git a/sources b/sources
index f18e5c9..f4d9d10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aniso8601-1.2.0.tar.gz) = 1918ee5a22c0ca3fd7cf331ca4f06dff93b73cc7865276e0e276b70e7ade7db0cbc10020619be23d73d646dc15764cb597084e0b5d632c1ee5dd21d29fb33311
+SHA512 (aniso8601-3.0.0.tar.gz) = bea2b9dad8f8ac2c5314570ce49846ef0cdf6459019065b5529966fbaf20a79d76b7af5a93f5bb8e1d811d3355a217877ae90d295529f3e9a7b2b20e6465b1c7
https://src.fedoraproject.org/rpms/python-aniso8601/c/740b68a23310185b130...
3 years
ignatenkobrain pushed to python-aniso8601 (epel8). "1.2.0"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:00:31 UTC
From d9099beb890d841f94cc16296daea5402d20c52c Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean(a)redhat.com>
Date: Mar 11 2017 00:09:17 +0000
Subject: 1.2.0
---
diff --git a/.gitignore b/.gitignore
index db06695..9104e40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/aniso8601-0.82.tar.gz
/aniso8601-1.0.0.tar.gz
/aniso8601-1.1.0.tar.gz
+/aniso8601-1.2.0.tar.gz
diff --git a/python-aniso8601.spec b/python-aniso8601.spec
index e80b0af..d88d199 100644
--- a/python-aniso8601.spec
+++ b/python-aniso8601.spec
@@ -8,14 +8,14 @@
%global sum Another ISO 8601 parser for Python
Name: python-%{srcname}
-Version: 1.1.0
-Release: 6%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
Summary: %{sum}
Group: Development/Languages
License: GPLv3+
URL: https://bitbucket.org/nielsenb/%{srcname}
-Source0: https://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version...
+Source0: https://pypi.io/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python3-devel python-dateutil python3-dateutil
@@ -71,6 +71,9 @@ rm -rf %{srcname}.egg-info
%{python3_sitelib}/*
%changelog
+* Sat Mar 11 2017 Ralph Bean <rbean(a)redhat.com> - 1.2.0-1
+- new version
+
* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 457c6ce..f18e5c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d2610ecaab3bdfe51f74678c89c69cf7 aniso8601-1.1.0.tar.gz
+SHA512 (aniso8601-1.2.0.tar.gz) = 1918ee5a22c0ca3fd7cf331ca4f06dff93b73cc7865276e0e276b70e7ade7db0cbc10020619be23d73d646dc15764cb597084e0b5d632c1ee5dd21d29fb33311
https://src.fedoraproject.org/rpms/python-aniso8601/c/d9099beb890d841f94c...
3 years
ignatenkobrain pushed to python-aniso8601 (epel8). "update to 1.1.0,
rebuild with Python 3"
by notifications@fedoraproject.org
Notification time stamped 2021-03-31 17:00:31 UTC
From 0807f99e8f1614d0829e805845fc605f8621ebf3 Mon Sep 17 00:00:00 2001
From: Jan Sedlák <jsedlak(a)redhat.com>
Date: Nov 11 2015 12:29:53 +0000
Subject: update to 1.1.0, rebuild with Python 3
---
diff --git a/.gitignore b/.gitignore
index adba274..db06695 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/aniso8601-0.82.tar.gz
/aniso8601-1.0.0.tar.gz
+/aniso8601-1.1.0.tar.gz
diff --git a/python-aniso8601.spec b/python-aniso8601.spec
index 6bbc399..da605c0 100644
--- a/python-aniso8601.spec
+++ b/python-aniso8601.spec
@@ -4,88 +4,76 @@
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
-%if (0%{?fedora} > 12)
-%global with_python3 1
-%endif
-
-%global pkgname aniso8601
-%global tarball_name aniso8601
+%global srcname aniso8601
+%global sum Another ISO 8601 parser for Python
-Name: python-aniso8601
-Version: 1.0.0
+Name: python-%{srcname}
+Version: 1.1.0
Release: 1%{?dist}
-Summary: Python 2 library for parsing ISO 8601 strings
+Summary: %{sum}
Group: Development/Languages
License: GPLv3+
-URL: https://bitbucket.org/nielsenb/aniso8601
-Source0: https://pypi.python.org/packages/source/a/aniso8601/%{tarball_name}-%{ver...
+URL: https://bitbucket.org/nielsenb/%{srcname}
+Source0: https://pypi.python.org/packages/source/a/%{srcname}/%{srcname}-%{version...
BuildArch: noarch
-BuildRequires: python2-devel python-setuptools
-%if 0%{?with_python3}
-BuildRequires: python3-devel python3-setuptools
-%endif
+BuildRequires: python2-devel python3-devel python-dateutil python3-dateutil
%description
-This is a Python 2 library for parsing date strings
+Python library for parsing date strings
in ISO 8601 format into datetime format.
-%if 0%{?with_python3}
-%package -n python3-aniso8601
-Summary: Python 3 library for parsing ISO 8601 strings
+%package -n python2-%{srcname}
+Summary: %{sum}
+Requires: python-dateutil
+%{?python_provide:%python_provide python2-%{srcname}}
-%description -n python3-aniso8601
-This is a Python 3 library for parsing date strings
+%description -n python2-%{srcname}
+Python 2 library for parsing date strings
in ISO 8601 format into datetime format.
-%endif
-%prep
-%setup -qn %{tarball_name}-%{version}
-rm -rf %{tarball_name}.egg-info
+%package -n python3-%{srcname}
+Summary: %{sum}
+Requires: python3-dateutil
+%{?python_provide:%python_provide python3-%{srcname}}
-%if 0%{?with_python3}
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
-%endif
+%description -n python3-%{srcname}
+Python 3 library for parsing date strings
+in ISO 8601 format into datetime format.
+
+%prep
+%autosetup -n %{srcname}-%{version}
+rm -rf %{srcname}.egg-info
%build
-%{__python2} setup.py build
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py build
-popd
-%endif
+%py2_build
+%py3_build
%install
-%{__python2} setup.py install --skip-build --root %{buildroot}
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root %{buildroot}
-popd
-%endif
+%py2_install
+%py3_install
%if ! 0%{?rhel} || 0%{?rhel} > 6
%check
-PYTHONPATH=%{buildroot}/%{python_sitelib} %{__python2} -m unittest discover aniso8601/tests/
-%if 0%{?with_python3}
-PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} -m unittest discover aniso8601/tests/
-%endif
+%{__python2} -m unittest discover aniso8601/tests/
+%{__python3} -m unittest discover aniso8601/tests/
%endif
-%files
-%doc LICENSE README.rst
+%files -n python2-%{srcname}
+%license LICENSE
+%doc README.rst
%{python2_sitelib}/*
-%if 0%{?with_python3}
-%files -n python3-aniso8601
-%doc LICENSE README.rst
+%files -n python3-%{srcname}
+%license LICENSE
+%doc README.rst
%{python3_sitelib}/*
-%endif
-
%changelog
+* Wed Nov 11 2015 Jan Sedlak <jsedlak(a)redhat.com> - 1.1.0-1
+- update to 1.1.0, rebuild with Python 3
+
* Wed Jul 08 2015 Jan Sedlak <jsedlak(a)redhat.com> - 1.0.0-1
- update to newest version
diff --git a/sources b/sources
index ee2c658..457c6ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de0dcc6c74613e3efbfcc95e7dcff335 aniso8601-1.0.0.tar.gz
+d2610ecaab3bdfe51f74678c89c69cf7 aniso8601-1.1.0.tar.gz
https://src.fedoraproject.org/rpms/python-aniso8601/c/0807f99e8f1614d0829...
3 years