From 60469e477b8aaf3c8a6d5ae186b422fdd512803cc4ecb9cd62ee451be64c14ca Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Nov 2025 08:30:52 +0000 Subject: [PATCH 1/2] - update to 6.0: * Replace pkg_resources namespace with PEP 420 native namespace. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.cachedescriptors?expand=0&rev=18 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-zope.cachedescriptors.changes | 64 +++++++++++++++++++++++++++ python-zope.cachedescriptors.spec | 65 ++++++++++++++++++++++++++++ zope_cachedescriptors-5.1.tar.gz | 3 ++ zope_cachedescriptors-6.0.tar.gz | 3 ++ 6 files changed, 159 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-zope.cachedescriptors.changes create mode 100644 python-zope.cachedescriptors.spec create mode 100644 zope_cachedescriptors-5.1.tar.gz create mode 100644 zope_cachedescriptors-6.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-zope.cachedescriptors.changes b/python-zope.cachedescriptors.changes new file mode 100644 index 0000000..7032602 --- /dev/null +++ b/python-zope.cachedescriptors.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Mon Nov 10 08:30:48 UTC 2025 - Dirk Müller + +- update to 6.0: + * Replace pkg_resources namespace with PEP 420 native + namespace. + +------------------------------------------------------------------- +Tue Apr 1 16:04:44 UTC 2025 - Markéta Machová + +- Make it compatible with older setuptools + +------------------------------------------------------------------- +Thu Mar 27 00:40:09 UTC 2025 - Steve Kowalik + +- Normalize metadata directory name. + +------------------------------------------------------------------- +Tue Feb 25 20:16:21 UTC 2025 - Dirk Müller + +- update to 5.1: + * Add support for Python 3.12, 3.13. + * Drop support for Python 3.7, 3.8. + +------------------------------------------------------------------- +Tue Jan 9 04:40:10 UTC 2024 - Steve Kowalik + +- Use zope-testrunner to run the test suite. +- Switch to pyproject and autosetup macros. +- Stop using greedy globs in %files. + +------------------------------------------------------------------- +Fri May 5 14:26:02 UTC 2023 - Dirk Müller + +- update to 5.0: + * Add support for Python 3.11. + * Drop support for Python 2.7, 3.5, 3.6. + +------------------------------------------------------------------- +Thu Oct 13 07:21:12 UTC 2022 - Dirk Müller + +- use https for urls + +------------------------------------------------------------------- +Wed Oct 12 18:29:38 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 4.4 + * Drop support for Python 3.4. + * Add support for Python 3.7, 3.8, 3.9, 3.10. + +------------------------------------------------------------------- +Fri Sep 24 12:39:41 UTC 2021 - pgajdos@suse.com + +- %check: do no use deprecated setup.py test + +------------------------------------------------------------------- +Tue Dec 4 12:56:27 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Mon Aug 6 20:48:52 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-zope.cachedescriptors.spec b/python-zope.cachedescriptors.spec new file mode 100644 index 0000000..53d3131 --- /dev/null +++ b/python-zope.cachedescriptors.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-zope.cachedescriptors +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-zope.cachedescriptors +Version: 6.0 +Release: 0 +Summary: Method and property caching decorators +License: ZPL-2.1 +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 + +%description +Cached descriptors cache their output. They take into account +instance attributes that they depend on, so when the instance +attributes change, the descriptors will change the values they +return. + +Cached descriptors cache their data in _v_ attributes, so they are +also useful for managing the computation of volatile attributes for +persistent objects. + +%prep +%setup -q -n zope_cachedescriptors-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%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}/zope/cachedescriptors +%{python_sitelib}/zope[_.]cachedescriptors-%{version}.dist-info + +%changelog diff --git a/zope_cachedescriptors-5.1.tar.gz b/zope_cachedescriptors-5.1.tar.gz new file mode 100644 index 0000000..cad0fbf --- /dev/null +++ b/zope_cachedescriptors-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b86cf0c2e97b6cb2d781a233c1d4cf34c1fc69f3f488a8ef73fb6195ceff540 +size 14033 diff --git a/zope_cachedescriptors-6.0.tar.gz b/zope_cachedescriptors-6.0.tar.gz new file mode 100644 index 0000000..c94367b --- /dev/null +++ b/zope_cachedescriptors-6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bb2a04fd0037a861a8e368e51aa60a3b9d2f4ccbf7b793070df5cc79dde1f74 +size 14053 From f7bf375af7eb45b7bf4f7e8dc26ee7c0129ec194169fd84f98b6c6410406b038 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Nov 2025 08:30:59 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.cachedescriptors?expand=0&rev=19 --- zope_cachedescriptors-5.1.tar.gz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 zope_cachedescriptors-5.1.tar.gz diff --git a/zope_cachedescriptors-5.1.tar.gz b/zope_cachedescriptors-5.1.tar.gz deleted file mode 100644 index cad0fbf..0000000 --- a/zope_cachedescriptors-5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b86cf0c2e97b6cb2d781a233c1d4cf34c1fc69f3f488a8ef73fb6195ceff540 -size 14033