forked from pool/python-jellyfish
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jellyfish?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
91dcff746e
commit
409185c659
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user