14
0
forked from pool/python-tablib

Accepting request 692017 from home:jayvdb:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/692017
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tablib?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-04-08 08:32:59 +00:00
committed by Git OBS Bridge
parent 1ca06982a9
commit ea61179883
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 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 openpyxl >= 2.4.8}
BuildRequires: %{python_module pandas >= 0.20.3} BuildRequires: %{python_module pandas >= 0.20.3}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module unicodecsv >= 0.14.1}
BuildRequires: %{python_module xlrd >= 1.1.0} BuildRequires: %{python_module xlrd >= 1.1.0}
BuildRequires: %{python_module xlwt >= 1.3.0} BuildRequires: %{python_module xlwt >= 1.3.0}
BuildRequires: %{python_module xml} BuildRequires: %{python_module xml}
@@ -44,7 +43,6 @@ BuildRequires: python2-backports.csv
Requires: python-PyYAML >= 3.12 Requires: python-PyYAML >= 3.12
Requires: python-odfpy >= 1.3.5 Requires: python-odfpy >= 1.3.5
Requires: python-openpyxl >= 2.4.8 Requires: python-openpyxl >= 2.4.8
Requires: python-unicodecsv >= 0.14.1
Requires: python-xlrd >= 1.1.0 Requires: python-xlrd >= 1.1.0
Requires: python-xlwt >= 1.3.0 Requires: python-xlwt >= 1.3.0
Requires: python-xml Requires: python-xml
@@ -77,6 +75,9 @@ find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%install %install
%python_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} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check