Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-subprocess for
openSUSE:Factory checked in at 2023-01-28 18:44:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-subprocess (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-subprocess.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-subprocess"
Sat Jan 28 18:44:21 2023 rev:2 rq:1061618 version:1.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-subprocess/python-pytest-subprocess.changes
2023-01-27 10:35:30.825626341 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-subprocess.new.32243/python-pytest-subprocess.changes
2023-01-28 19:02:44.848525425 +0100
@@ -1,0 +2,6 @@
+Fri Jan 27 18:22:44 UTC 2023 - Ben Greiner <[email protected]>
+
+- Clean out recommendations and test requirements
+- Move to PEP517 build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-subprocess.spec ++++++
--- /var/tmp/diff_new_pack.HD91zu/_old 2023-01-28 19:02:45.364528271 +0100
+++ /var/tmp/diff_new_pack.HD91zu/_new 2023-01-28 19:02:45.376528336 +0100
@@ -16,8 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define modname pytest_subprocess
Name: python-pytest-subprocess
Version: 1.4.2
Release: 0
@@ -26,28 +24,20 @@
URL: https://github.com/aklajnert/pytest-subprocess
Source0:
https://files.pythonhosted.org/packages/source/p/pytest-subprocess/pytest-subprocess-%{version}.tar.gz
Source1: tests.tar.xz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 4.0.0
-Recommends: python-Pygments >= 2.0
-Recommends: python-anyio
-Recommends: python-changelogd
-Recommends: python-coverage
-Recommends: python-docutils >= 0.12
-Recommends: python-furo
-Recommends: python-nox
-Recommends: python-pytest-asyncio >= 0.15.1
-Recommends: python-pytest-rerunfailures
-Recommends: python-sphinx
-Recommends: python-sphinx-autodoc-typehints
-Recommends: python-sphinxcontrib-napoleon
BuildArch: noarch
# SECTION Test requirements
BuildRequires: %{python_module anyio}
-BuildRequires: %{python_module docutils}
-BuildRequires: %{python_module pygments}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module Pygments >= 2}
+BuildRequires: %{python_module docutils >= 0.12}
+BuildRequires: %{python_module pytest >= 4}
+BuildRequires: %{python_module pytest-asyncio >= 0.15.1}
+BuildRequires: %{python_module pytest-rerunfailures}
# /SECTION
%python_subpackages
@@ -63,10 +53,10 @@
sed -Ei "s/\r$//" README.rst
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,7 +66,7 @@
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/pytest_subprocess/
+%{python_sitelib}/pytest_subprocess-%{version}.dist-info
%changelog