forked from pool/python-python-utils
Accepting request 937343 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/937343 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-utils?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 09:03:34 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- do not require pytest-runner for build, it is not needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 23 16:28:04 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.5.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 11:00:23 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-utils
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# 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
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-utils
|
||||
Version: 2.4.0
|
||||
Version: 2.5.6
|
||||
Release: 0
|
||||
Summary: Utilities not included with the standard Python install
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/WoLpH/python-utils
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-utils/python-utils-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -53,14 +52,9 @@ classes which make common patterns shorter and easier.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# default test settings enable some pytest backends we don't care about
|
||||
mv pytest.ini old_pytest.ini_old
|
||||
%{python_expand rm -rf _build.* build tests/__pycache__ tests/*.pyc tests/*.pyo
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix} tests/*.py
|
||||
}
|
||||
mv old_pytest.ini_old pytest.ini
|
||||
mv pytest.ini{,.hide}
|
||||
%pytest
|
||||
mv pytest.ini{.hide,}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f21fc09ff58ea5ebd1fd2e8ef7f63e39d456336900f26bdc9334a03a3f7d8089
|
||||
size 22230
|
3
python-utils-2.5.6.tar.gz
Normal file
3
python-utils-2.5.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:352d5b1febeebf9b3cdb9f3c87a3b26ef22d3c9e274a8ec1e7048ecd2fac4349
|
||||
size 14057
|
Reference in New Issue
Block a user