forked from pool/python-fields
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 339c86f0ff | |||
| 6e731e9ea2 | |||
| 58301801e8 | |||
| 321a728eff |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 26 01:12:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Drop conftest.py, only required for Python 2 and breaks with pytest 9+.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 27 11:45:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue May 27 11:45:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fields
|
# spec file for package python-fields
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,7 +22,6 @@ Version: 5.0.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Container class boilerplate killer
|
Summary: Container class boilerplate killer
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ionelmc/python-fields
|
URL: https://github.com/ionelmc/python-fields
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@@ -52,6 +51,8 @@ sed -i -e '/--benchmark-disable/d' setup.cfg
|
|||||||
sed -i -e '/doctest/d' setup.cfg
|
sed -i -e '/doctest/d' setup.cfg
|
||||||
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
||||||
rm tests/test_perf.py
|
rm tests/test_perf.py
|
||||||
|
# only required for python 2 support, breaks with pytest 9
|
||||||
|
rm conftest.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -67,6 +68,6 @@ rm tests/test_perf.py
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%{python_sitelib}/fields
|
%{python_sitelib}/fields
|
||||||
%{python_sitelib}/fields-%{version}*-info
|
%{python_sitelib}/fields-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user