Accepting request 850322 from home:bnavigator:branches:devel:languages:python
- The tests need pytest for discovery OBS-URL: https://build.opensuse.org/request/show/850322 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asciitree?expand=0&rev=5
This commit is contained in:
parent
f11d2f7406
commit
86a97dd4ad
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 23 23:06:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- The tests need pytest for discovery
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 14 09:54:59 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Wed Oct 14 09:54:59 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/mbr/asciitree
|
URL: https://github.com/mbr/asciitree
|
||||||
# https://github.com/mbr/asciitree/issues/16 -- no tests on PyPI
|
# https://github.com/mbr/asciitree/issues/16 -- no tests on PyPI
|
||||||
Source: https://github.com/mbr/asciitree/archive/%{version}.tar.gz#/asciitree-%{version}-gh.tar.gz
|
Source: https://github.com/mbr/asciitree/archive/%{version}.tar.gz#/asciitree-%{version}-gh.tar.gz
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -47,7 +48,7 @@ sed -i '1{/env python/ d}' asciitree/__init__.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest -v
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user