forked from pool/python-pytest-regressions
Accepting request 1275110 from devel:languages:python:pytest
- Switch to pyproject macros. - Be more explicit about directories in %files. OBS-URL: https://build.opensuse.org/request/show/1275110 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-regressions?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 06:58:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Be more explicit about directories in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-regressions
|
# spec file for package python-pytest-regressions
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -25,8 +25,10 @@ Summary: Python fixtures to write regression tests
|
|||||||
URL: https://github.com/ESSS/pytest-regressions
|
URL: https://github.com/ESSS/pytest-regressions
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest >= 6.2.0}
|
BuildRequires: %{python_module pytest >= 6.2.0}
|
||||||
@@ -58,10 +60,10 @@ Python fixtures to write regression tests.
|
|||||||
%autosetup -p1 -n pytest-regressions-%{version}
|
%autosetup -p1 -n pytest-regressions-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -79,6 +81,7 @@ donttest+=" or test_different_data_types"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG.rst README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/pytest_regressions*
|
%{python_sitelib}/pytest_regressions
|
||||||
|
%{python_sitelib}/pytest_regressions-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user