forked from pool/python-jaraco.collections
Accepting request 1069693 from home:frispete:blender:python
- prepare test environment: correctly provide jaraco modules locally
%{python3_sitelib} might not be available
OBS-URL: https://build.opensuse.org/request/show/1069693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.collections?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 5 18:56:10 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- prepare test environment: correctly provide jaraco modules locally
|
||||
%{python3_sitelib} might not be available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 18:07:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jaraco.collections
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -55,10 +55,11 @@ Models and classes to supplement the stdlib ‘collections’ module.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release
|
||||
# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release
|
||||
# prepare test environment: provide jaraco modules locally
|
||||
touch jaraco/__init__.py
|
||||
cp -r %{python3_sitelib}/jaraco/* jaraco/
|
||||
%{python_expand # workaround for gh#jaraco/jaraco.text#10 without pathlib2
|
||||
%{python_expand cp -vr %{$python_sitelib}/jaraco/* jaraco/
|
||||
# workaround for gh#jaraco/jaraco.text#10 without pathlib2
|
||||
if [ %{$python_version_nodots} -lt 310 ]; then
|
||||
$python_donttest="or read_newlines or report_newlines"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user