From c61f5951483259666052bfd237618c8d5ee68f5de5483dc1cd814ca532d1f525 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 4 Mar 2025 03:25:40 +0000 Subject: [PATCH] - Update to 1.8.1: * drop support for setuptools * drop support for python < 3.11 * drop support for pytest < 6.0 - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-echo?expand=0&rev=4 --- pytest-echo-1.7.1.tar.gz | 3 --- pytest_echo-1.8.1.tar.gz | 3 +++ python-pytest-echo.changes | 10 ++++++++++ python-pytest-echo.spec | 24 +++++++++++++----------- 4 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 pytest-echo-1.7.1.tar.gz create mode 100644 pytest_echo-1.8.1.tar.gz diff --git a/pytest-echo-1.7.1.tar.gz b/pytest-echo-1.7.1.tar.gz deleted file mode 100644 index 9a79284..0000000 --- a/pytest-echo-1.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3bf6a065ca624a5915bc2a820505a44735a8aa11865a57d8214d4eac18960191 -size 13950 diff --git a/pytest_echo-1.8.1.tar.gz b/pytest_echo-1.8.1.tar.gz new file mode 100644 index 0000000..4dad857 --- /dev/null +++ b/pytest_echo-1.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d765b4ddac93468fa1d303e70c48ad9e38479b4d122d5ae019919bb7fed0c2a +size 14863 diff --git a/python-pytest-echo.changes b/python-pytest-echo.changes index 3b45e82..3f6a868 100644 --- a/python-pytest-echo.changes +++ b/python-pytest-echo.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 4 03:25:25 UTC 2025 - Steve Kowalik + +- Update to 1.8.1: + * drop support for setuptools + * drop support for python < 3.11 + * drop support for pytest < 6.0 +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Mon Aug 10 11:26:37 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-echo.spec b/python-pytest-echo.spec index efb9e02..e4ccf7a 100644 --- a/python-pytest-echo.spec +++ b/python-pytest-echo.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-echo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-echo -Version: 1.7.1 +Version: 1.8.1 Release: 0 Summary: Pytest plugin for echoing build environment attributes License: MIT URL: https://github.com/pytest-dev/pytest-echo -Source: https://files.pythonhosted.org/packages/source/p/pytest-echo/pytest-echo-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest-echo/pytest_echo-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 2.2 +Requires: python-pytest >= 8.3 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Django} -BuildRequires: %{python_module pytest >= 2.2} +BuildRequires: %{python_module pytest >= 8.3} # /SECTION %python_subpackages @@ -40,13 +40,13 @@ pytest plugin with mechanisms for echoing environment variables, package version and generic attributes. %prep -%setup -q -n pytest-echo-%{version} +%setup -q -n pytest_echo-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,6 +57,8 @@ mv /tmp/pytest_echo.py pytest_echo.py %files %{python_files} %doc CHANGELOG README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_echo.py +%pycache_only %{python_sitelib}/__pycache__/pytest_echo*pyc +%{python_sitelib}/pytest_echo-%{version}.dist-info %changelog