15
0
forked from pool/python-pick

Accepting request 707091 from home:pgajdos

- turn the testsuite on

OBS-URL: https://build.opensuse.org/request/show/707091
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pick?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-06-03 10:21:37 +00:00
committed by Git OBS Bridge
parent 549c80ef23
commit c4c3e2653b
4 changed files with 17 additions and 4 deletions

View File

@@ -24,10 +24,15 @@ Summary: Curses-based interactive selection list module
License: MIT
Group: Development/Languages/Python
URL: https://github.com/wong2/pick
Source0: https://files.pythonhosted.org/packages/source/p/pick/pick-%{version}.tar.gz
# https://github.com/wong2/pick/issues/28
Source0: https://github.com/wong2/pick/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module curses}
BuildRequires: %{python_module pytest}
# /SECTION
BuildArch: noarch
%python_subpackages
@@ -45,6 +50,9 @@ interactive selection list in the terminal.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.md