From 10080f07bc84b0ddd5c03ba2c40f79846669337f001d1004dd47e6e419819238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 24 Jun 2019 10:34:56 +0000 Subject: [PATCH] Accepting request 711318 from home:pgajdos - run the testsuite in %check OBS-URL: https://build.opensuse.org/request/show/711318 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-metaextract?expand=0&rev=23 --- 1.0.5.tar.gz | 3 +++ python-metaextract.changes | 5 +++++ python-metaextract.spec | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 1.0.5.tar.gz diff --git a/1.0.5.tar.gz b/1.0.5.tar.gz new file mode 100644 index 0000000..cf6bc8a --- /dev/null +++ b/1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:218eb4cd11c6a750513e1139e3e5869a8142eced54110d0e5d1b534d22f81df8 +size 19594 diff --git a/python-metaextract.changes b/python-metaextract.changes index 1ae167a..3ddd1d0 100644 --- a/python-metaextract.changes +++ b/python-metaextract.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 21 12:54:53 UTC 2019 - pgajdos@suse.com + +- run the testsuite in %check + ------------------------------------------------------------------- Thu Mar 7 11:11:14 UTC 2019 - Tomáš Chvátal diff --git a/python-metaextract.spec b/python-metaextract.spec index 0991677..cea8c74 100644 --- a/python-metaextract.spec +++ b/python-metaextract.spec @@ -24,12 +24,14 @@ Summary: get metadata for python modules License: Apache-2.0 Group: Development/Languages/Python Url: http://github.com/toabctl/metaextract -Source: https://files.pythonhosted.org/packages/source/m/metaextract/metaextract-%{version}.tar.gz +Source: https://github.com/toabctl/metaextract/archive/%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # Needed even though no tests are present +BuildRequires: %{python_module pbr} BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} Requires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -62,6 +64,9 @@ useful for others, too. %preun %python_uninstall_alternative metaextract +%check +%pytest + %files %{python_files} %defattr(-,root,root,-) %doc README.rst