14
0
forked from pool/python-tablib

Accepting request 688770 from home:pgajdos

- version update to 0.13.0
  * no upstream changelog (HISTORY.rst outdated), see git log
- deleted patches
  - openpyxl-usage-fix.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/688770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tablib?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-03-26 14:56:08 +00:00
committed by Git OBS Bridge
parent da5ebca95b
commit f9efd3b15e
5 changed files with 20 additions and 31 deletions

View File

@@ -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,7 +12,7 @@
# 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/
#
@@ -23,15 +23,17 @@
%{?!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
Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz
Patch0: openpyxl-usage-fix.patch
BuildRequires: %{python_module PyYAML >= 3.12}
%ifpython2
BuildRequires: python2-backports.csv
%endif
BuildRequires: %{python_module odfpy >= 1.3.5}
BuildRequires: %{python_module openpyxl >= 2.4.8}
BuildRequires: %{python_module pandas >= 0.20.3}
@@ -49,6 +51,9 @@ Requires: python-unicodecsv >= 0.14.1
Requires: python-xlrd >= 1.1.0
Requires: python-xlwt >= 1.3.0
Requires: python-xml
%ifpython2
Requires: python2-backports.csv
%endif
Suggests: python-pandas >= 0.20.3
BuildArch: noarch
@@ -68,7 +73,6 @@ Output formats supported:
%prep
%setup -q -n tablib-%{version}
%patch0 -p1
# Remove shebang lines from non-executable scripts:
find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }'