Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zope.cachedescriptors for
openSUSE:Factory checked in at 2024-01-09 20:50:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.cachedescriptors (Old)
and /work/SRC/openSUSE:Factory/.python-zope.cachedescriptors.new.21961
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.cachedescriptors"
Tue Jan 9 20:50:22 2024 rev:6 rq:1137660 version:5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.cachedescriptors/python-zope.cachedescriptors.changes
2023-05-05 17:33:26.218284934 +0200
+++
/work/SRC/openSUSE:Factory/.python-zope.cachedescriptors.new.21961/python-zope.cachedescriptors.changes
2024-01-09 20:50:46.790677504 +0100
@@ -1,0 +2,7 @@
+Tue Jan 9 04:40:10 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Use zope-testrunner to run the test suite.
+- Switch to pyproject and autosetup macros.
+- Stop using greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.cachedescriptors.spec ++++++
--- /var/tmp/diff_new_pack.XY4q7o/_old 2024-01-09 20:50:47.350697865 +0100
+++ /var/tmp/diff_new_pack.XY4q7o/_new 2024-01-09 20:50:47.354698010 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.cachedescriptors
#
-# Copyright (c) 2023 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
@@ -16,18 +16,20 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.cachedescriptors
Version: 5.0
Release: 0
Summary: Method and property caching decorators
License: ZPL-2.1
-Group: Development/Languages/Python
URL: https://github.com/zopefoundation/zope.cachedescriptors
Source:
https://files.pythonhosted.org/packages/source/z/zope.cachedescriptors/zope.cachedescriptors-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
+BuildRequires: %{python_module zope.testrunner}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-setuptools
BuildArch: noarch
%python_subpackages
@@ -45,21 +47,19 @@
%setup -q -n zope.cachedescriptors-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-cd build/lib
-%{python_expand \
-$python -m unittest -v zope.cachedescriptors.tests
-$python -m doctest -v zope/cachedescriptors/*.rst
-}
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
zope-testrunner-%{$python_bin_suffix} --test-path=src
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/zope/cachedescriptors
+%{python_sitelib}/zope.cachedescriptors-%{version}-py*-nspkg.pth
+%{python_sitelib}/zope.cachedescriptors-%{version}.dist-info