From 111a022730943aa6b15d8c5f8c9efa2b625058173553545c912af7f0742944cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 10:21:37 +0000 Subject: [PATCH] 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 --- pick-0.6.4.tar.gz | 3 --- python-pick.changes | 5 +++++ python-pick.spec | 10 +++++++++- v0.6.4.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 pick-0.6.4.tar.gz create mode 100644 v0.6.4.tar.gz diff --git a/pick-0.6.4.tar.gz b/pick-0.6.4.tar.gz deleted file mode 100644 index 874285e..0000000 --- a/pick-0.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e14aca88c256160a37d98ce987b74545eccb5ab97710aa1f5bb215f650e4c43 -size 5262 diff --git a/python-pick.changes b/python-pick.changes index 66dd42c..4280d75 100644 --- a/python-pick.changes +++ b/python-pick.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 09:03:40 UTC 2019 - Petr Gajdos + +- turn the testsuite on + ------------------------------------------------------------------- Tue Jan 22 11:32:34 UTC 2019 - Jan Engelhardt diff --git a/python-pick.spec b/python-pick.spec index 7adaadf..c123ba6 100644 --- a/python-pick.spec +++ b/python-pick.spec @@ -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 diff --git a/v0.6.4.tar.gz b/v0.6.4.tar.gz new file mode 100644 index 0000000..9bffb02 --- /dev/null +++ b/v0.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfbe977083ec3e7e34fbb817fd31857027ce87f8a4f0a9de1908958aae278dcf +size 58251