Hello community,

here is the log from the commit of package python-dateutil for openSUSE:Factory 
checked in at 2012-06-12 07:09:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dateutil (Old)
 and      /work/SRC/openSUSE:Factory/.python-dateutil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dateutil", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dateutil/python-dateutil.changes  
2012-05-07 22:49:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-dateutil.new/python-dateutil.changes     
2012-06-12 07:09:58.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Jun  6 10:11:52 UTC 2012 - [email protected]
+
+- license update: BSD-3-Clause
+  Look at the LICENSE file
+
+-------------------------------------------------------------------
+Wed Jun  6 08:49:28 UTC 2012 - [email protected]
+
+- Added python-six requires and buildrequires.  dateutil will build
+  without out, but packaged down the dependency chain will fail
+  if it isn't installed
+
+-------------------------------------------------------------------
+Sun Jun  3 05:11:38 UTC 2012 - [email protected]
+
+- Update to version 2.1
+  * See NEWS for changes
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-dateutil/python3-dateutil.changes 
2012-05-26 13:09:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-dateutil.new/python3-dateutil.changes    
2012-06-12 07:09:59.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Jun  6 10:11:52 UTC 2012 - [email protected]
+
+- license update: BSD-3-Clause
+  Look at the LICENSE file
+
+-------------------------------------------------------------------
+Wed Jun  6 08:49:28 UTC 2012 - [email protected]
+
+- Added python-six requires and buildrequires.  dateutil will build
+  without out, but packaged down the dependency chain will fail
+  if it isn't installed
+
+-------------------------------------------------------------------
+Sun Jun  3 05:12:11 UTC 2012 - [email protected]
+
+- Add patch to open file with utf-8 encoding in setup.py
+- Remove call to 2to3, dateutil 2.1 supports Python 2.6, 2.7, 3.2
+
+-------------------------------------------------------------------

Old:
----
  python-dateutil-1.5.tar.gz

New:
----
  python-dateutil-2.1.tar.gz
  python3-dateutil-utf8.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-dateutil.spec ++++++
--- /var/tmp/diff_new_pack.T4JrvS/_old  2012-06-12 07:10:02.000000000 +0200
+++ /var/tmp/diff_new_pack.T4JrvS/_new  2012-06-12 07:10:02.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dateutil
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,23 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
-Name:           python-dateutil
-BuildRequires:  python-devel python-setuptools
+%define modname dateutil
+Name:           python-%{modname}
 Summary:        A Python Datetime Library
-Version:        1.5
-Release:        1
-Source0:        %{name}-%{version}.tar.gz
-License:        Python-2.0
+License:        BSD-3-Clause
 Group:          Development/Libraries/Python
+Version:        2.1
+Release:        0
+Source0:        
http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://labix.org/python-dateutil
-%define prefix  /usr
-%py_requires
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+BuildRequires:  python-devel
+BuildRequires:  python-distribute
+BuildRequires:  python-six
+Requires:       python-six
+%if 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%else
 BuildArch:      noarch
+%py_requires
 %endif
 
 %description
@@ -63,27 +65,24 @@
 * Computing of Easter Sunday dates for any given year, using Western,
 Orthodox or Julian algorithms.
 
-
-
-Authors:
---------
-    Gustavo Niemeyer <[email protected]>
-
 %prep
 %setup -q
 
 %build
 rm setup.cfg
-CFLAGS="$RPM_OPT_FLAGS" python setup.py build
+CFLAGS="%{optflags}" python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
 %doc LICENSE NEWS PKG-INFO README
+%doc LICENSE NEWS PKG-INFO README
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/python_%{modname}-%{version}-py%{py_ver}.egg-info/
 
 %changelog

++++++ python3-dateutil.spec ++++++
--- /var/tmp/diff_new_pack.T4JrvS/_old  2012-06-12 07:10:02.000000000 +0200
+++ /var/tmp/diff_new_pack.T4JrvS/_new  2012-06-12 07:10:02.000000000 +0200
@@ -15,20 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-Name:           python3-dateutil
+%define modname dateutil
+Name:           python3-%{modname}
+%define tarname python-%{modname}
 Summary:        A Python Datetime Library
-Version:        1.5
-Release:        1
-Source0:        python-dateutil-%{version}.tar.gz
-License:        Python-2.0
+License:        BSD-3-Clause
 Group:          Development/Libraries/Python
+Version:        2.1
+Release:        0
+Source0:        
http://pypi.python.org/packages/source/p/%{tarname}/%{tarname}-%{version}.tar.gz
+Patch0:         %{name}-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://labix.org/python-dateutil
 BuildRequires:  python3
-BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
+BuildRequires:  python3-six
 %if 0%{?suse_version} <= 1140
 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
@@ -39,6 +41,7 @@
 %endif
 BuildArch:      noarch
 Requires:       python3 >= %{py3_ver}
+Requires:       python3-six
 
 %description
 The python dateutil module provides powerful extensions to the standard
@@ -70,11 +73,11 @@
 Orthodox or Julian algorithms.
 
 %prep
-%setup -q -n python-dateutil-%{version}
+%setup -q -n %{tarname}-%{version}
+%patch0 -p1
 
 %build
 rm setup.cfg
-2to3 -w --no-diffs . 
 CFLAGS="%{optflags}" python3 setup.py build
 
 %install
@@ -86,7 +89,7 @@
 %files
 %defattr(-,root,root)
 %doc LICENSE NEWS PKG-INFO README
-%{python3_sitelib}/dateutil/
-%{python3_sitelib}/python_dateutil-%{version}-py%{py3_ver}.egg-info/
+%{python3_sitelib}/%{modname}/
+%{python3_sitelib}/python_%{modname}-%{version}-py%{py3_ver}.egg-info/
 
 %changelog

++++++ python-dateutil-1.5.tar.gz -> python-dateutil-2.1.tar.gz ++++++
++++ 4128 lines of diff (skipped)

++++++ python3-dateutil-utf8.patch ++++++
diff -uar a/setup.py b/setup.py
--- a/setup.py  2012-06-02 23:25:14.980665500 -0600
+++ b/setup.py  2012-06-02 23:26:24.708667848 -0600
@@ -13,7 +13,7 @@
 
 TOPDIR = os.path.dirname(__file__) or "."
 VERSION = re.search('__version__ = "([^"]+)"',
-                    open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
+                    open(TOPDIR + "/dateutil/__init__.py", 
encoding="utf-8").read()).group(1)
 
 
 setup(name="python-dateutil",
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to