14
0
forked from pool/python-tablib

Accepting request 692222 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/692222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tablib?expand=0&rev=3
This commit is contained in:
2019-05-06 11:21:11 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Apr 6 15:07:34 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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.
-------------------------------------------------------------------
Tue Mar 26 10:26:24 UTC 2019 - pgajdos@suse.com

View File

@@ -34,7 +34,6 @@ BuildRequires: %{python_module odfpy >= 1.3.5}
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 @@ BuildRequires: python2-backports.csv
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 @@ find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%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