Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2017-08-28 15:13:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tablib" Mon Aug 28 15:13:33 2017 rev:8 rq:518484 version:0.11.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2015-08-03 17:21:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new/python-tablib.changes 2017-08-28 15:15:02.358649004 +0200 @@ -1,0 +2,27 @@ +Thu Aug 24 05:12:52 UTC 2017 - [email protected] + +- update to 0.11.5: + - Use ``yaml.safe_load`` for importing yaml. + - Use built-in `json` package if available + - Support Python 3.5+ in classifiers + - Fixed textual representation for Dataset with no headers + - Handle decimal types + - Release fix. + - Fix export only formats. + - Fix for xlsx output. + - Fixed packaging error on Python 3. + - Added LaTeX table export format (``Dataset.latex``). + - Support for dBase (DBF) files (``Dataset.dbf``). + - New import/export interface (``Dataset.export()``, ``Dataset.load()``). + - CSV custom delimiter support (``Dataset.export('csv', delimiter='$')``). + - Adding ability to remove duplicates to all rows in a dataset (``Dataset.remove_duplicates()``). + - Added a mechanism to avoid ``datetime.datetime`` issues when serializing data. + - New ``detect_format()`` function (mostly for internal use). + - Update the vendored unicodecsv to fix ``None`` handling. + - Only freeze the headers row, not the headers columns (xls). + - ``detect()`` function removed. + - Fix XLSX import. + - Bugfix for ``Dataset.transpose().transpose()``. +- convert to singlespec + +------------------------------------------------------------------- Old: ---- tablib-0.10.0.tar.gz New: ---- tablib-0.11.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tablib.spec ++++++ --- /var/tmp/diff_new_pack.dAn9d5/_old 2017-08-28 15:15:03.210529312 +0200 +++ /var/tmp/diff_new_pack.dAn9d5/_new 2017-08-28 15:15:03.250523692 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# 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 @@ -21,26 +21,38 @@ %define _python_bytecompile_errors_terminate_build 0 %endif +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tablib -Version: 0.10.0 +Version: 0.11.5 Release: 0 Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV) License: MIT Group: Development/Languages/Python Url: http://python-tablib.org -Source: http://pypi.python.org/packages/source/t/tablib/tablib-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module odfpy} +BuildRequires: %{python_module openpyxl} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module unicodecsv} +BuildRequires: %{python_module xlrd} +BuildRequires: %{python_module xlwt} +BuildRequires: %{python_module xml} BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-xml +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Requires: python-odfpy +Requires: python-openpyxl +Requires: python-unicodecsv +Requires: python-xlrd +Requires: python-xlwt Requires: python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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()")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%else BuildArch: noarch -%endif + +%python_subpackages %description Tablib is a format-agnostic tabular dataset library, written in Python. @@ -60,16 +72,16 @@ find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }' %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}/%{_prefix} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -python test_tablib.py +%python_exec test_tablib.py -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/* ++++++ tablib-0.10.0.tar.gz -> tablib-0.11.5.tar.gz ++++++ ++++ 103308 lines of diff (skipped)
