commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2020-07-26 16:19:20 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.3592 (New) Package is "python-tablib" Sun Jul 26 16:19:20 2020 rev:7 rq:822670 version:2.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2020-04-21 13:07:15.968405282 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.3592/python-tablib.changes 2020-07-26 16:19:57.948843179 +0200 @@ -1,0 +2,12 @@ +Fri Jul 24 14:13:26 UTC 2020 - Marketa Calabkova + +- Update to 2.0.0 + * The `Row.lpush/rpush` logic was reversed. `lpush` was appending while `rpush` +and `append` were prepending. This was fixed (reversed behavior). If you +counted on the broken behavior, please update your code (#453). + * Fixed minimal openpyxl dependency version to 2.6.0 (#457). + * Dates from xls files are now read as Python datetime objects (#373). + * Allow import of "ragged" xlsx files (#465). + * When importing an xlsx file, Tablib will now read cell values instead of formulas (#462). + +--- Old: tablib-1.1.0.tar.gz New: tablib-2.0.0.tar.gz Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.RhlCnJ/_old 2020-07-26 16:20:01.916846890 +0200 +++ /var/tmp/diff_new_pack.RhlCnJ/_new 2020-07-26 16:20:01.920846893 +0200 @@ -23,7 +23,7 @@ %endif %define skip_python2 1 Name: python-tablib -Version:1.1.0 +Version:2.0.0 Release:0 Summary:Format agnostic tabular data library (XLS, JSON, YAML, CSV) License:MIT @@ -31,28 +31,27 @@ URL:http://python-tablib.org Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz BuildRequires: %{python_module MarkupPy} -BuildRequires: %{python_module PyYAML >= 3.12} -BuildRequires: %{python_module odfpy >= 1.3.5} -BuildRequires: %{python_module openpyxl >= 2.4.8} -BuildRequires: %{python_module pandas >= 0.20.3} +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module odfpy} +BuildRequires: %{python_module openpyxl >= 2.6.0} +BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tabulate} -BuildRequires: %{python_module xlrd >= 1.1.0} -BuildRequires: %{python_module xlwt >= 1.3.0} -BuildRequires: %{python_module xml} +BuildRequires: %{python_module xlrd} +BuildRequires: %{python_module xlwt} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-MarkupPy -Requires: python-PyYAML >= 3.12 -Requires: python-odfpy >= 1.3.5 -Requires: python-openpyxl >= 2.4.8 -Requires: python-xlrd >= 1.1.0 -Requires: python-xlwt >= 1.3.0 -Requires: python-xml -Suggests: python-pandas >= 0.20.3 +Requires: python-PyYAML +Requires: python-odfpy +Requires: python-openpyxl >= 2.6.0 +Requires: python-tabulate +Requires: python-xlrd +Requires: python-xlwt +Suggests: python-pandas BuildArch: noarch %python_subpackages ++ tablib-1.1.0.tar.gz -> tablib-2.0.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tablib-1.1.0/HISTORY.md new/tablib-2.0.0/HISTORY.md --- old/tablib-1.1.0/HISTORY.md 2020-02-13 18:59:20.0 +0100 +++ new/tablib-2.0.0/HISTORY.md 2020-05-16 14:07:58.0 +0200 @@ -1,5 +1,23 @@ # History +## 2.0.0 (2020-05-16) + +### Breaking changes + +- The `Row.lpush/rpush` logic was reversed. `lpush` was appending while `rpush` + and `append` were prepending. This was fixed (reversed behavior). If you + counted on the broken behavior, please update your code (#453). + +### Bugfixes + +- Fixed minimal openpyxl dependency version to 2.6.0 (#457). +- Dates from xls files are now read as Python datetime objects (#373). +- Allow import of "ragged" xlsx files (#465). + +### Improvements + +- When importing an xlsx file, Tablib will now read cell values instead of formulas (#462). + ## 1.1.0 (2020-02-13) ### Deprecations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tablib-1.1.0/PKG-INFO new/tablib-2.0.0/PKG-INFO --- old/tablib-1.1.0/PKG-INFO 2020-02-13 19:00:19.0 +0100 +++ new/tablib-2.0.0/PKG-INFO 2020-05-16 14:08:46.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tablib
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2020-04-21 13:07:15 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.2738 (New) Package is "python-tablib" Tue Apr 21 13:07:15 2020 rev:6 rq:795718 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2020-02-25 16:06:39.824547911 +0100 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.2738/python-tablib.changes 2020-04-21 13:07:15.968405282 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 09:06:13 UTC 2020 - Tomáš Chvátal + +- Remove py2 dependencies as the package is py3 only + +--- Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.yJQbPh/_old 2020-04-21 13:07:17.024407388 +0200 +++ /var/tmp/diff_new_pack.yJQbPh/_new 2020-04-21 13:07:17.028407396 +0200 @@ -45,7 +45,6 @@ BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-backports.csv Requires: python-MarkupPy Requires: python-PyYAML >= 3.12 Requires: python-odfpy >= 1.3.5 @@ -55,9 +54,6 @@ Requires: python-xml Suggests: python-pandas >= 0.20.3 BuildArch: noarch -%ifpython2 -Requires: python2-backports.csv -%endif %python_subpackages %description
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2020-02-25 16:06:09 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.26092 (New) Package is "python-tablib" Tue Feb 25 16:06:09 2020 rev:5 rq:778913 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2019-12-04 14:20:37.502450525 +0100 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.26092/python-tablib.changes 2020-02-25 16:06:39.824547911 +0100 @@ -1,0 +2,12 @@ +Tue Feb 25 05:52:59 UTC 2020 - Steve Kowalik + +- Update to 1.1.0: + * Tablib is now able to import CSV content where not all rows have the same length. Missing columns on any line receive the empty string (#226). + * Dropped Python 2 support + * Formats can now be dynamically registered through the tablib.formats.registry.refister API (#256). + * Tablib methods expecting data input (detect_format, import_set, Dataset.load, Databook.load) now accepts file-like objects in addition to raw strings and bytestrings (#440). + * Fixed a crash when exporting an empty string with the ReST format (#368) + * Error cells from imported .xls files contain now the error string (#202) +- Add BuildRequires on python-tabulate. + +--- Old: tablib-0.14.0.tar.gz New: tablib-1.1.0.tar.gz Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.EHMqmv/_old 2020-02-25 16:06:41.296550991 +0100 +++ /var/tmp/diff_new_pack.EHMqmv/_new 2020-02-25 16:06:41.300551000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %endif %define skip_python2 1 Name: python-tablib -Version:0.14.0 +Version:1.1.0 Release:0 Summary:Format agnostic tabular data library (XLS, JSON, YAML, CSV) License:MIT @@ -35,10 +35,11 @@ BuildRequires: %{python_module odfpy >= 1.3.5} BuildRequires: %{python_module openpyxl >= 2.4.8} BuildRequires: %{python_module pandas >= 0.20.3} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tabulate} BuildRequires: %{python_module xlrd >= 1.1.0} BuildRequires: %{python_module xlwt >= 1.3.0} BuildRequires: %{python_module xml} ++ tablib-0.14.0.tar.gz -> tablib-1.1.0.tar.gz ++ 8335 lines of diff (skipped)
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2019-12-04 13:54:48 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.4691 (New) Package is "python-tablib" Wed Dec 4 13:54:48 2019 rev:4 rq:753797 version:0.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2019-05-06 13:21:13.512514112 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.4691/python-tablib.changes 2019-12-04 14:20:37.502450525 +0100 @@ -1,0 +2,23 @@ +Mon Dec 2 16:03:37 UTC 2019 - Todd R + +- Drop python2 support due to dependencies dropping python2 support +- Update to 0.14.0 + + Deprecations +* The 0.14.x series will be the last to support Python 2 + + Breaking changes +* Dropped Python 3.4 support + + Improvements +* Added Python 3.7 and 3.8 support +* The project is now maintained by the Jazzband team, https://jazzband.co +* Improved format autodetection and added autodetection for the odf format. +* Added search to all documentation pages +* Open xlsx workbooks in read-only mode +* Unpin requirements +* Only install backports.csv on Python 2 + + Bugfixes +* Fixed `DataBook().load` parameter ordering (first stream, then format). +* Fixed a regression for xlsx exports where non-string values were forced to + strings +* Fixed xlsx format detection (which was often detected as `xls` format) + +--- Old: tablib-0.13.0.tar.gz New: tablib-0.14.0.tar.gz Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.9jfAf9/_old 2019-12-04 14:20:37.962450913 +0100 +++ /var/tmp/diff_new_pack.9jfAf9/_new 2019-12-04 14:20:37.962450913 +0100 @@ -21,25 +21,31 @@ # I get syntax errors in the brp-python-bytecompile step... %define _python_bytecompile_errors_terminate_build 0 %endif +%define skip_python2 1 Name: python-tablib -Version:0.13.0 +Version:0.14.0 Release:0 Summary:Format agnostic tabular data library (XLS, JSON, YAML, CSV) License:MIT Group: Development/Languages/Python URL:http://python-tablib.org Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz +BuildRequires: %{python_module MarkupPy} BuildRequires: %{python_module PyYAML >= 3.12} BuildRequires: %{python_module odfpy >= 1.3.5} BuildRequires: %{python_module openpyxl >= 2.4.8} BuildRequires: %{python_module pandas >= 0.20.3} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module xlrd >= 1.1.0} BuildRequires: %{python_module xlwt >= 1.3.0} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-backports.csv +Requires: python-MarkupPy Requires: python-PyYAML >= 3.12 Requires: python-odfpy >= 1.3.5 Requires: python-openpyxl >= 2.4.8 @@ -68,24 +74,21 @@ %prep %setup -q -n tablib-%{version} # Remove shebang lines from non-executable scripts: -find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }' +find src -name "*.py" | xargs sed -i '1 { /^#!/ d }' %build %python_build %install %python_install -# Remove dependency on backports.csv from egg-info, as it isnt -# installed on Python 3, breaking pkg_resources resolver. -sed -i '/backports.csv/d' %{buildroot}%{python3_sitelib}/tablib*egg-info/requires.txt %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec test_tablib.py +%pytest %files %{python_files} %license LICENSE -%doc README.rst HISTORY.rst +%doc AUTHORS README.md HISTORY.md %{python_sitelib}/* %changelog ++ tablib-0.13.0.tar.gz -> tablib-0.14.0.tar.gz ++ 19548 lines of diff (skipped)
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2019-05-06 13:21:11 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.5148 (New) Package is "python-tablib" Mon May 6 13:21:11 2019 rev:3 rq:69 version:0.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2019-03-26 22:34:55.873667215 +0100 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.5148/python-tablib.changes 2019-05-06 13:21:13.512514112 +0200 @@ -1,0 +2,8 @@ +Sat Apr 6 15:07:34 UTC 2019 - John Vandenberg + +- Remove egg-info requires.txt entry for backports.csv as it isnt + a dependency on Python 3. +- Remove build and runtime dependency on unicodecsv, which was + replaced with backports.csv in the last release. + +--- Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.cm14g1/_old 2019-05-06 13:21:14.192515644 +0200 +++ /var/tmp/diff_new_pack.cm14g1/_new 2019-05-06 13:21:14.192515644 +0200 @@ -34,7 +34,6 @@ BuildRequires: %{python_module openpyxl >= 2.4.8} BuildRequires: %{python_module pandas >= 0.20.3} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module unicodecsv >= 0.14.1} BuildRequires: %{python_module xlrd >= 1.1.0} BuildRequires: %{python_module xlwt >= 1.3.0} BuildRequires: %{python_module xml} @@ -44,7 +43,6 @@ Requires: python-PyYAML >= 3.12 Requires: python-odfpy >= 1.3.5 Requires: python-openpyxl >= 2.4.8 -Requires: python-unicodecsv >= 0.14.1 Requires: python-xlrd >= 1.1.0 Requires: python-xlwt >= 1.3.0 Requires: python-xml @@ -77,6 +75,9 @@ %install %python_install +# Remove dependency on backports.csv from egg-info, as it isnt +# installed on Python 3, breaking pkg_resources resolver. +sed -i '/backports.csv/d' %{buildroot}%{python3_sitelib}/tablib*egg-info/requires.txt %python_expand %fdupes %{buildroot}%{$python_sitelib} %check
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2019-03-26 22:34:27 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new.25356 (New) Package is "python-tablib" Tue Mar 26 22:34:27 2019 rev:2 rq:688774 version:0.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2019-03-19 09:58:14.836106460 +0100 +++ /work/SRC/openSUSE:Factory/.python-tablib.new.25356/python-tablib.changes 2019-03-26 22:34:55.873667215 +0100 @@ -1,0 +2,8 @@ +Tue Mar 26 10:26:24 UTC 2019 - pgaj...@suse.com + +- version update to 0.13.0 + * no upstream changelog (HISTORY.rst outdated), see git log +- deleted patches + - openpyxl-usage-fix.patch (upstreamed) + +--- Old: openpyxl-usage-fix.patch tablib-0.12.1.tar.gz New: tablib-0.13.0.tar.gz Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.9LdKco/_old 2019-03-26 22:34:57.453666534 +0100 +++ /var/tmp/diff_new_pack.9LdKco/_new 2019-03-26 22:34:57.477666523 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,25 +12,23 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} %if 0%{?rhel} # I get syntax errors in the brp-python-bytecompile step... %define _python_bytecompile_errors_terminate_build 0 %endif - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tablib -Version:0.12.1 +Version:0.13.0 Release:0 Summary:Format agnostic tabular data library (XLS, JSON, YAML, CSV) License:MIT Group: Development/Languages/Python -Url:http://python-tablib.org +URL:http://python-tablib.org Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz -Patch0: openpyxl-usage-fix.patch BuildRequires: %{python_module PyYAML >= 3.12} BuildRequires: %{python_module odfpy >= 1.3.5} BuildRequires: %{python_module openpyxl >= 2.4.8} @@ -42,6 +40,7 @@ BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python2-backports.csv Requires: python-PyYAML >= 3.12 Requires: python-odfpy >= 1.3.5 Requires: python-openpyxl >= 2.4.8 @@ -51,7 +50,9 @@ Requires: python-xml Suggests: python-pandas >= 0.20.3 BuildArch: noarch - +%ifpython2 +Requires: python2-backports.csv +%endif %python_subpackages %description @@ -68,7 +69,6 @@ %prep %setup -q -n tablib-%{version} -%patch0 -p1 # Remove shebang lines from non-executable scripts: find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }' ++ tablib-0.12.1.tar.gz -> tablib-0.13.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tablib-0.12.1/AUTHORS new/tablib-0.13.0/AUTHORS --- old/tablib-0.12.1/AUTHORS 2017-08-27 09:23:48.0 +0200 +++ new/tablib-0.13.0/AUTHORS 2019-03-08 13:15:56.0 +0100 @@ -34,3 +34,5 @@ - Mathias Loesch - Tushar Makkar - Andrii Soldatenko +- Bruno Soares +- Tsuyoshi Hombashi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tablib-0.12.1/HISTORY.rst new/tablib-0.13.0/HISTORY.rst --- old/tablib-0.12.1/HISTORY.rst 2017-08-27 09:23:48.0 +0200 +++ new/tablib-0.13.0/HISTORY.rst 2019-03-08 13:15:56.0 +0100 @@ -254,4 +254,3 @@ * Export Support for XLS, JSON, YAML, and CSV. * DataBook Export for XLS, JSON, and YAML. * Python Dict Property Support. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tablib-0.12.1/NOTICE new/tablib-0.13.0/NOTICE --- old/tablib-0.12.1/NOTICE2017-08-27 09:23:48.0 +0200 +++ new/tablib-0.13.0/NOTICE2019-03-08 13:15:56.0 +0100 @@ -1,32 +1,6 @@ -Tablib includes some vendorized python libraries: ordereddict, markup. +Tablib includes some vendorized Python libraries: markup. Markup License == Markup is in the public domain. - -
commit python-tablib for openSUSE:Factory
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.0 +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 - tbecht...@suse.com + +- 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
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2015-08-03 17:21:16 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new (New) Package is python-tablib Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2015-05-19 23:42:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new/python-tablib.changes 2015-08-03 17:21:37.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 24 21:47:30 UTC 2015 - seife+...@b1-systems.com + +- fix RHEL build by ignoring bytecompile-errors + +--- Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.eCDMHV/_old 2015-08-03 17:21:38.0 +0200 +++ /var/tmp/diff_new_pack.eCDMHV/_new 2015-08-03 17:21:38.0 +0200 @@ -16,6 +16,11 @@ # +%if 0%{?rhel} +# I get syntax errors in the brp-python-bytecompile step... +%define _python_bytecompile_errors_terminate_build 0 +%endif + Name: python-tablib Version:0.10.0 Release:0
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2015-05-19 23:42:33 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new (New) Package is python-tablib Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2013-10-25 11:33:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new/python-tablib.changes 2015-05-19 23:42:34.0 +0200 @@ -1,0 +2,11 @@ +Thu May 14 09:25:23 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 0.10.0: + * Unicode Column Headers + * ALL the bugfixes! +- add fdupes as BuildRequires and call it after install +- remove shebang in every python files +- remove useless CFLAGS declaration +- run the tests during build with test_tablib.py + +--- Old: tablib-0.9.11.tar.gz New: tablib-0.10.0.tar.gz Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.0d2aEv/_old 2015-05-19 23:42:35.0 +0200 +++ /var/tmp/diff_new_pack.0d2aEv/_new 2015-05-19 23:42:35.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,13 +17,14 @@ Name: python-tablib -Version:0.9.11 +Version:0.10.0 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 +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-xml @@ -51,13 +52,17 @@ %prep %setup -q -n tablib-%{version} # Remove shebang lines from non-executable scripts: -sed -i /#!\/usr\/bin\/python/d tablib/packages/odf/{elementtypes,userfield,load,thumbnail,element,odf2xhtml,manifest,odfmanifest}.py tablib/packages/xlwt/Formatting.py +find tablib -name *.py | xargs sed -i '1 { /^#!/ d }' %build -CFLAGS=%{optflags} python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}/%{_prefix} + +%check +python test_tablib.py %files %defattr(-,root,root,-) ++ tablib-0.9.11.tar.gz - tablib-0.10.0.tar.gz ++ 20236 lines of diff (skipped)
commit python-tablib for openSUSE:Factory
Hello community, here is the log from the commit of package python-tablib for openSUSE:Factory checked in at 2013-10-25 11:33:34 Comparing /work/SRC/openSUSE:Factory/python-tablib (Old) and /work/SRC/openSUSE:Factory/.python-tablib.new (New) Package is python-tablib Changes: --- /work/SRC/openSUSE:Factory/python-tablib/python-tablib.changes 2012-07-31 13:59:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-tablib.new/python-tablib.changes 2013-10-25 11:33:36.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 24 11:15:40 UTC 2013 - speili...@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +--- Other differences: -- ++ python-tablib.spec ++ --- /var/tmp/diff_new_pack.0tLeLx/_old 2013-10-25 11:33:37.0 +0200 +++ /var/tmp/diff_new_pack.0tLeLx/_new 2013-10-25 11:33:37.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# 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 @@ -13,18 +13,19 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-tablib Version:0.9.11 Release:0 -License:MIT Summary:Format agnostic tabular data library (XLS, JSON, YAML, CSV) -Url:http://python-tablib.org +License:MIT Group: Development/Languages/Python +Url:http://python-tablib.org Source: http://pypi.python.org/packages/source/t/tablib/tablib-%{version}.tar.gz BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools BuildRequires: python-xml Requires: python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org