Accepting request 680462 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/680462 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydocstyle?expand=0&rev=4
This commit is contained in:
commit
e2ac67c906
@ -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>
|
||||
|
||||
|
@ -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,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user