diff --git a/python-zope.testing.changes b/python-zope.testing.changes index b0c56dd..16ac8f9 100644 --- a/python-zope.testing.changes +++ b/python-zope.testing.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon May 5 04:01:02 UTC 2025 - Steve Kowalik + +- Update to 5.1: + * Drop support for Python 3.7, 3.8. + * Add support for Python 3.12, 3.13. +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Fri Apr 21 12:39:21 UTC 2023 - Dirk Müller diff --git a/python-zope.testing.spec b/python-zope.testing.spec index cd6ba42..3c65f36 100644 --- a/python-zope.testing.spec +++ b/python-zope.testing.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.testing # -# Copyright (c) 2023 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,19 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-zope.testing -Version: 5.0.1 +Version: 5.1 Release: 0 Summary: Zope testing helpers License: ZPL-2.1 URL: https://pypi.python.org/pypi/zope.testing -Source: https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/z/zope.testing/zope_testing-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} -# Test requirements: BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools BuildArch: noarch %python_subpackages @@ -83,22 +84,24 @@ wait See wait.txt. %prep -%setup -q -n zope.testing-%{version} +%setup -q -n zope_testing-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pushd build/lib %pyunittest -v zope.testing.tests.test_suite %files %{python_files} %license LICENSE.txt %doc COPYRIGHT.txt README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/zope +%{python_sitelib}/zope/testing +%{python_sitelib}/zope[_.]testing-%{version}.dist-info +%{python_sitelib}/zope.testing-%{version}*-nspkg.pth %changelog diff --git a/zope.testing-5.0.1.tar.gz b/zope.testing-5.0.1.tar.gz deleted file mode 100644 index b17a515..0000000 --- a/zope.testing-5.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e87cd0d8d666573cdaf133816ab7b9beec801a64a86595c19cb5fe992ef3d649 -size 41745 diff --git a/zope_testing-5.1.tar.gz b/zope_testing-5.1.tar.gz new file mode 100644 index 0000000..ab38745 --- /dev/null +++ b/zope_testing-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7135ebaaec3d38796e491a9adb127a3651aa0e3b20128de6c778451fa11acc47 +size 42344