Hello community, here is the log from the commit of package python-xlrd for openSUSE:Factory checked in at 2017-05-17 10:50:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xlrd (Old) and /work/SRC/openSUSE:Factory/.python-xlrd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-xlrd" Wed May 17 10:50:51 2017 rev:8 rq:492684 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xlrd/python-xlrd.changes 2015-11-04 15:32:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-xlrd.new/python-xlrd.changes 2017-05-17 10:50:54.667888927 +0200 @@ -1,0 +2,34 @@ +Wed May 3 14:53:22 UTC 2017 - toddrme2178@gmail.com + +- Fix license +- Executable is python version independent so make it python3-only. + +------------------------------------------------------------------- +Wed Apr 19 22:13:57 UTC 2017 - toddrme2178@gmail.com + +- Source url must be https. + +------------------------------------------------------------------- +Tue Apr 18 16:19:23 UTC 2017 - toddrme2178@gmail.com + +- Update to 1.0.0 + * Official support, such as it is, is now for 2.6, 2.7, 3.3+ + * Fixes a bug in looking up non-lowercase sheet filenames by + ensuring that the sheet targets are transformed the same way + as the component_names dict keys. + * Fixes a bug for ragged_rows=False when merged cells increases + the number of columns in the sheet. This requires all rows + to be extended to ensure equal row lengths that match the + number of columns in the sheet. + * Fixes to enable reading of SAP-generated .xls files. + * support BIFF4 files with missing FORMAT records. + * support files with missing WINDOW2 record. + * Empty cells are now always unicode strings, they were a + bytestring on Python 2 and a unicode string on Python 3. + * Fix for <cell> inlineStr attribute without <si> child. + * Fix for a zoom of None causing problems on Python 3. + * Fix parsing of bad dimensions. + * Fix xlsx sheet to comments relationship. +- Implement single-spec version. + +------------------------------------------------------------------- Old: ---- reveng1.xlsx text_bar.xlsx xlrd-0.9.4.tar.gz New: ---- xlrd-1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xlrd.spec ++++++ --- /var/tmp/diff_new_pack.siSzqZ/_old 2017-05-17 10:50:56.023698198 +0200 +++ /var/tmp/diff_new_pack.siSzqZ/_new 2017-05-17 10:50:56.027697635 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xlrd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,27 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xlrd -Version: 0.9.4 +Version: 1.0.0 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 +License: BSD-3-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 +Source: https://files.pythonhosted.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -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 +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with tests} +BuildRequires: %{python_module nose} %endif +BuildArch: noarch +%python_subpackages %description Extract data from new and old Excel spreadsheets on any platform. Pure Python @@ -42,23 +44,23 @@ %prep %setup -q -n xlrd-%{version} -# Add missing test files -cp %{SOURCE1} %{SOURCE2} tests/ %build -python setup.py build - -%check -nosetests +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd -%files +%if %{with tests} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif + +%files %{python_files} %defattr(-,root,root,-) -%doc xlrd/doc/* xlrd/examples README.html -%{_bindir}/runxlrd +%doc HISTORY.html README.md +%python3_only %{_bindir}/runxlrd %{python_sitelib}/* %changelog ++++++ xlrd-0.9.4.tar.gz -> xlrd-1.0.0.tar.gz ++++++ ++++ 2900 lines of diff (skipped)