1
0

Accepting request 680461 from home:frispete:python

- don't run tests, if they're disabled from build conditional

OBS-URL: https://build.opensuse.org/request/show/680461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydocstyle?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2019-03-01 11:16:57 +00:00 committed by Git OBS Bridge
parent dc573517f3
commit 19aa9a01b1
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 1 11:13:40 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- don't run tests, if they're disabled from build conditional
-------------------------------------------------------------------
Tue Dec 4 12:52:06 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pydocstyle
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -66,6 +66,7 @@ conventions.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
mkdir empty
pushd empty
@ -74,6 +75,7 @@ $python -c "import pydocstyle"
$python -c "from pydocstyle import *"
}
popd
%endif
%files %{python_files}
%defattr(-,root,root,-)