Hello community, here is the log from the commit of package python-xlrd for openSUSE:Factory checked in at 2013-05-02 11:45:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xlrd (Old) and /work/SRC/openSUSE:Factory/.python-xlrd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-xlrd" Changes: -------- --- /work/SRC/openSUSE:Factory/python-xlrd/python-xlrd.changes 2012-12-28 22:48:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-xlrd.new/python-xlrd.changes 2013-05-02 11:45:27.000000000 +0200 @@ -1,0 +2,20 @@ +Tue Apr 30 11:34:15 UTC 2013 - toddrme2178@gmail.com + +- Remove unnecessary .py extension from executable +- Fix python2/python3 executable name conflict + +------------------------------------------------------------------- +Tue Apr 16 18:52:07 UTC 2013 - jfunk@funktronics.ca + +- Update to 0.9.2: + - Bug fixes +- Changes from 0.9.1: + * Removed support for Python < 2.6 + * Bug fixes +- Changes from 0.9.0: + * Python3 support + * Expanded tests + * Bug fixes +- Spec cleanup + +------------------------------------------------------------------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.python-xlrd.new/python3-xlrd.changes 2013-05-02 11:45:27.000000000 +0200 @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 30 11:34:15 UTC 2013 - toddrme2178@gmail.com + +- Remove unnecessary .py extension from executable +- Fix python2/python3 executable name conflict + +------------------------------------------------------------------- +Tue Apr 16 19:29:03 UTC 2013 - jfunk@funktronics.ca + +- Create python3 package + Old: ---- shabang.patch xlrd-0.8.0.tar.gz New: ---- python3-xlrd.changes python3-xlrd.spec reveng1.xlsx text_bar.xlsx xlrd-0.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xlrd.spec ++++++ --- /var/tmp/diff_new_pack.LkX4a4/_old 2013-05-02 11:45:29.000000000 +0200 +++ /var/tmp/diff_new_pack.LkX4a4/_new 2013-05-02 11:45:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xlrd # -# 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 @@ -11,29 +11,30 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-xlrd -Version: 0.8.0 +Version: 0.9.2 Release: 0 Url: http://www.lexicon.net/sjmachin/xlrd.htm Summary: Library for Developers to Extract Data From Microsoft Excel Spreadsheet Files License: BSD-4-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz -Patch: shabang.patch +# Test files missing in the 0.9.2 tarball. https://github.com/python-excel/xlrd/issues/49 +Source1: reveng1.xlsx +Source2: text_bar.xlsx BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +BuildRequires: python-nose +%if 0%{?suse_version} && 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 %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description Extract data from new and old Excel spreadsheets on any platform. Pure Python @@ -41,18 +42,23 @@ %prep %setup -q -n xlrd-%{version} -%patch -p1 +# Add missing test files +cp %{SOURCE1} %{SOURCE2} tests/ %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build + +%check +nosetests %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd %files %defattr(-,root,root,-) -%doc xlrd/doc/* xlrd/examples -%{_bindir}/runxlrd.py +%doc xlrd/doc/* xlrd/examples README.html +%{_bindir}/runxlrd %{python_sitelib}/* %changelog ++++++ python3-xlrd.spec ++++++ # # spec file for package python3-xlrd # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-xlrd Version: 0.9.2 Release: 0 Url: http://www.lexicon.net/sjmachin/xlrd.htm Summary: Library for Developers to Extract Data From Microsoft Excel Spreadsheet Files License: BSD-4-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz # Test files missing in the 0.9.2 tarball. https://github.com/python-excel/xlrd/issues/49 Source1: reveng1.xlsx Source2: text_bar.xlsx BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-nose BuildArch: noarch %description Extract data from new and old Excel spreadsheets on any platform. Pure Python (2.1 to 2.6). Strong support for Excel dates. Unicode-aware. %prep %setup -q -n xlrd-%{version} # Add missing test files cp %{SOURCE1} %{SOURCE2} tests/ %build python3 setup.py build %check nosetests-%{py3_ver} %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd-python3 %files %defattr(-,root,root,-) %doc xlrd/doc/* xlrd/examples README.html %{_bindir}/runxlrd-python3 %{python_sitelib}/* %changelog ++++++ text_bar.xlsx ++++++ ++++++ xlrd-0.8.0.tar.gz -> xlrd-0.9.2.tar.gz ++++++ ++++ 4810 lines of diff (skipped)