15
0
Tomáš Chvátal
2018-08-02 08:12:40 +00:00
committed by Git OBS Bridge
parent 91dcff746e
commit 409185c659

View File

@@ -25,9 +25,11 @@ License: BSD-2-Clause
Group: Development/Languages/Python
URL: http://github.com/jamesturk/jellyfish
Source: https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module unicodecsv}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -51,9 +53,11 @@ Match Rating Codex.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test
# Tests actually do some crazy import order
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} jellyfish/test.py
%files %{python_files}
%license LICENSE