Compare commits

1 Commits
main ... 1.1

4 changed files with 13 additions and 33 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

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