From f639194a77843239d14af87d3b2120a6e465fc24 Mon Sep 17 00:00:00 2001
From: mcepl <>
Date: May 14 2025 15:09:41 +0000
Subject: Update python-zope.deprecation to version 5.1 / rev 15 via SR 1274648
https://build.opensuse.org/request/show/1274648
by user mcepl + anag_factory
---
diff --git a/.files b/.files
index 864c110..650458c 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 2e5fc74..474331d 100644
--- a/.rev
+++ b/.rev
@@ -116,4 +116,12 @@ New dependency of python-Pyramid
1238983
+
+ 9e6411c26861382ff885c7ed47e83f36
+ 5.1
+
+ anag_factory
+
+ 1274648
+
diff --git a/python-zope.deprecation.changes b/python-zope.deprecation.changes
index 008c9ee..c55f16b 100644
--- a/python-zope.deprecation.changes
+++ b/python-zope.deprecation.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon May 5 11:23:05 UTC 2025 - Markéta Machová
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
Mon Jan 20 09:49:50 UTC 2025 - John Paul Adrian Glaubitz
- Update to 5.1
diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec
index d6711b8..ea4ab36 100644
--- a/python-zope.deprecation.spec
+++ b/python-zope.deprecation.spec
@@ -25,6 +25,7 @@ Summary: Zope Deprecation Infrastructure
License: ZPL-2.1
URL: https://pypi.python.org/pypi/zope.deprecation
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope_deprecation-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -53,22 +54,21 @@ This package contains documentation files for %{name}.
rm -rf zope_deprecation.egg-info
%build
-%python_build
+%pyproject_wheel
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-pushd build/lib
%pyunittest -v zope.deprecation.tests
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%dir %{python_sitelib}/zope
-%{python_sitelib}/zope.deprecation-%{version}*-info
+%{python_sitelib}/zope[_.]deprecation-%{version}*info
%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth
%{python_sitelib}/zope/deprecation