Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-mockito for
openSUSE:Factory checked in at 2025-05-07 19:19:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-mockito (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-mockito.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-mockito"
Wed May 7 19:19:26 2025 rev:3 rq:1275105 version:0.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-mockito/python-pytest-mockito.changes
2021-12-28 12:26:51.392494810 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-mockito.new.30101/python-pytest-mockito.changes
2025-05-07 19:19:30.210753280 +0200
@@ -1,0 +2,6 @@
+Wed May 7 06:53:50 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Be more explicit about the metadata directory name.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-mockito.spec ++++++
--- /var/tmp/diff_new_pack.lK28rD/_old 2025-05-07 19:19:32.022828832 +0200
+++ /var/tmp/diff_new_pack.lK28rD/_new 2025-05-07 19:19:32.042829666 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-mockito
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021 Fabrice Bauzac-Stehly
#
# All modifications and additions to the file contributed by third parties
@@ -17,22 +17,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
-# python-mockito is not available for Python 3.6
-%define skip_python36 1
-
Name: python-pytest-mockito
Version: 0.0.4
Release: 0
Summary: Convenience plugin on top of mockito
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/kaste/pytest-mockito
Source:
https://github.com/kaste/pytest-mockito/archive/refs/tags/%{version}.tar.gz
BuildRequires: %{python_module mockito}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
@@ -53,10 +49,10 @@
%autosetup -n pytest-mockito-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -65,6 +61,6 @@
%files %python_files
%license LICENSE
%doc README.rst
-%{python_sitelib}/pytest_mockito/
-%{python_sitelib}/pytest_mockito-*
+%{python_sitelib}/pytest_mockito
+%{python_sitelib}/pytest_mockito-%{version}.dist-info