forked from pool/python-tablib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tablib?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
f9efd3b15e
commit
1ca06982a9
@@ -16,24 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
# I get syntax errors in the brp-python-bytecompile step...
|
# I get syntax errors in the brp-python-bytecompile step...
|
||||||
%define _python_bytecompile_errors_terminate_build 0
|
%define _python_bytecompile_errors_terminate_build 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-tablib
|
Name: python-tablib
|
||||||
Version: 0.13.0
|
Version: 0.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)
|
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyYAML >= 3.12}
|
BuildRequires: %{python_module PyYAML >= 3.12}
|
||||||
%ifpython2
|
|
||||||
BuildRequires: python2-backports.csv
|
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module odfpy >= 1.3.5}
|
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}
|
||||||
@@ -44,6 +40,7 @@ BuildRequires: %{python_module xlwt >= 1.3.0}
|
|||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
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
|
||||||
@@ -51,12 +48,11 @@ 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
|
||||||
|
Suggests: python-pandas >= 0.20.3
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python2-backports.csv
|
Requires: python2-backports.csv
|
||||||
%endif
|
%endif
|
||||||
Suggests: python-pandas >= 0.20.3
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user