From 8b8b5d26e8ada0f4945a60c583a34dc4c642c0b08c84c07a0ab6535782fcb423 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 30 Jan 2013 12:42:54 +0000 Subject: [PATCH 1/4] - Use 2to3 to fix build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isodate?expand=0&rev=7 --- python-isodate.spec | 2 +- python3-isodate.changes | 5 +++++ python3-isodate.spec | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-isodate.spec b/python-isodate.spec index fe34517..6df575a 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -1,7 +1,7 @@ # # spec file for package python-isodate # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python3-isodate.changes b/python3-isodate.changes index 056f658..7f13be1 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 30 12:44:40 UTC 2013 - saschpe@suse.de + +- Use 2to3 to fix build + ------------------------------------------------------------------- Sun Jan 13 15:14:42 UTC 2013 - p.drouand@gmail.com diff --git a/python3-isodate.spec b/python3-isodate.spec index d56bed2..564c738 100644 --- a/python3-isodate.spec +++ b/python3-isodate.spec @@ -26,6 +26,7 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 +BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildArch: noarch @@ -41,6 +42,7 @@ option. %setup -q -n isodate-%{version} %build +2to3 -w -n ./ python3 setup.py build %install From 8016d3ab70b7ae0b3bccdcb5866d1a8eaf411d126ed0ae91fc810782494eee6a Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 16 Apr 2013 19:22:13 +0000 Subject: [PATCH 2/4] Accepting request 171190 from home:posophe:branches:devel:languages:python some little improvements OBS-URL: https://build.opensuse.org/request/show/171190 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isodate?expand=0&rev=8 --- python-isodate.changes | 7 +++++++ python3-isodate.changes | 7 +++++++ python3-isodate.spec | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/python-isodate.changes b/python-isodate.changes index c8e3a9d..11a42b5 100644 --- a/python-isodate.changes +++ b/python-isodate.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE <= 12.2 + ------------------------------------------------------------------- Sun Jan 13 15:14:28 UTC 2013 - p.drouand@gmail.com diff --git a/python3-isodate.changes b/python3-isodate.changes index 7f13be1..8f25ad5 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE <= 12.2 + ------------------------------------------------------------------- Wed Jan 30 12:44:40 UTC 2013 - saschpe@suse.de diff --git a/python3-isodate.spec b/python3-isodate.spec index 564c738..390691a 100644 --- a/python3-isodate.spec +++ b/python3-isodate.spec @@ -26,9 +26,9 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 -BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute +Requires: python3 BuildArch: noarch %description From 7d7063d9bfb1fea03bb514d42537ae0b0ae7ace7f3141466a5575bd83783aeca Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 17 Apr 2013 14:09:18 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isodate?expand=0&rev=9 --- python3-isodate.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3-isodate.changes b/python3-isodate.changes index 8f25ad5..effd856 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 17 14:08:58 UTC 2013 - toddrme2178@gmail.com + +- Re-add python-2to3, it is needed for OpenSUSE <= 12.2 + ------------------------------------------------------------------- Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com From ddd9b07b14966d937a494bbf4a5c5ea74125f8cbb0835a4d29167c364afecb3d Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 17 Apr 2013 14:19:22 +0000 Subject: [PATCH 4/4] Accepting request 171301 from devel:languages:python3 Re-add python-2to3. It is needed for OpenSUSE <= 12.2 OBS-URL: https://build.opensuse.org/request/show/171301 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isodate?expand=0&rev=10 --- python-isodate.changes | 5 +++++ python3-isodate.changes | 4 ++-- python3-isodate.spec | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-isodate.changes b/python-isodate.changes index 11a42b5..66ac2a6 100644 --- a/python-isodate.changes +++ b/python-isodate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 17 14:08:25 UTC 2013 - toddrme2178@gmail.com + +- Re-add python-2to3. It is needed for OpenSUSE <= 12.2 + ------------------------------------------------------------------- Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com diff --git a/python3-isodate.changes b/python3-isodate.changes index effd856..dd01584 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Wed Apr 17 14:08:58 UTC 2013 - toddrme2178@gmail.com +Wed Apr 17 14:08:25 UTC 2013 - toddrme2178@gmail.com -- Re-add python-2to3, it is needed for OpenSUSE <= 12.2 +- Re-add python-2to3. It is needed for OpenSUSE <= 12.2 ------------------------------------------------------------------- Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com diff --git a/python3-isodate.spec b/python3-isodate.spec index 390691a..9ad4588 100644 --- a/python3-isodate.spec +++ b/python3-isodate.spec @@ -25,7 +25,9 @@ License: BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +# this is needed for openSUSE <= 12.2 BuildRequires: python3 +BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute Requires: python3