Sync from SUSE:SLFO:Main python-pytest-fixture-config revision 5e5249896d85cedf743ba7906b94c3df

This commit is contained in:
2024-12-13 12:10:08 +01:00
parent 178152bf68
commit 4e6f33ee46
4 changed files with 33 additions and 13 deletions

BIN
pytest-fixture-config-1.7.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest-fixture-config-1.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Nov 4 11:33:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove not needed dep python-setuptools-git
-------------------------------------------------------------------
Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.0:
* Drop support for Python 2 and <3.6, removing compatibility code.
* Use stdlib unittest.mock instead of mock package.
* Removed usage of path.py and path in favour of pathlib.
-------------------------------------------------------------------
Thu Feb 22 04:08:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sat Jun 10 11:50:36 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-fixture-config
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,18 @@
%{?sle15_python_module_pythons}
Name: python-pytest-fixture-config
Version: 1.7.0
Version: 1.8.0
Release: 0
Summary: Fixture configuration utils for pytest
License: MIT
Group: Development/Languages/Python
URL: https://github.com/manahl/pytest-plugins
URL: https://github.com/man-group/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
# https://github.com/man-group/pytest-plugins/issues/209
Patch0: python-pytest-fixture-config-no-six.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest
@@ -40,14 +40,13 @@ BuildArch: noarch
Fixture configuration utilities for pytest
%prep
%setup -q -n pytest-fixture-config-%{version}
%patch0 -p1
%autosetup -p1 -n pytest-fixture-config-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +55,8 @@ Fixture configuration utilities for pytest
%files %{python_files}
%doc README.md CHANGES.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_fixture_config.py
%pycache_only %{python_sitelib}/__pycache__/pytest_fixture_config*.py*
%{python_sitelib}/pytest_fixture_config-%{version}.dist-info
%changelog