forked from pool/python-zope.cachedescriptors
Accepting request 921313 from home:pgajdos:python
- %check: do no use deprecated setup.py test OBS-URL: https://build.opensuse.org/request/show/921313 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.cachedescriptors?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 12:39:41 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: do no use deprecated setup.py test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:27 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zope.cachedescriptors
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: Method and property caching decorators
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/zopefoundation/zope.cachedescriptors
|
||||
URL: http://github.com/zopefoundation/zope.cachedescriptors
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.cachedescriptors/zope.cachedescriptors-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -53,7 +53,11 @@ persistent objects.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py -q test -q
|
||||
cd build/lib
|
||||
%{python_expand \
|
||||
$python -m unittest -v zope.cachedescriptors.tests
|
||||
$python -m doctest -v zope/cachedescriptors/*.rst
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
|
||||
Reference in New Issue
Block a user