%global projectname cached-property %global modulename cached_property Name: python-%{modulename} Version: 2.0.1 Release: 1%{?dist} Summary: A cached-property for decorating methods in Python classes License: BSD-3-Clause URL: https://github.com/pydanny/%{projectname} Source0: https://github.com/pydanny/%{projectname}/archive/%{version}/%{projectname}-%{version}.tar.gz # Prepare for deprecation of asyncio.iscoroutinefunction in Python 3.14 # https://github.com/pydanny/cached-property/pull/359 Patch1: 0001-Use-iscoroutinefunction-from-inspect-not-asyncio.patch BuildArch: noarch %description cached_property allows properties in Python classes to be cached until the cache is invalidated or expired. %package -n python3-%{modulename} Summary: A cached-property for decorating methods in Python classes. BuildRequires: python3-devel # This package was python3-{projectname} for a long time, but never should've # been Provides: python3-%{projectname} = %{version}-%{release} Obsoletes: python3-%{projectname} < 1.3.0-2 %description -n python3-%{modulename} cached_property allows properties in Python classes to be cached until the cache is invalidated or expired. %prep %autosetup -p1 -n %{projectname}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{modulename} %check %tox %files -n python3-%{modulename} -f %{pyproject_files} %doc AUTHORS.md HISTORY.md CONTRIBUTING.md README.md %changelog * Tue Nov 05 2024 Adam Williamson - 2.0.1-1 - Update to 2.0.1 * Wed Sep 04 2024 Miroslav Suchý - 1.5.2-17 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.5.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.5.2-15 - Rebuilt for Python 3.13 * Fri Jun 07 2024 Python Maint - 1.5.2-14 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.5.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.5.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.5.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 1.5.2-10 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.5.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.5.2-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 02 2021 Adam Williamson - 1.5.2-5 - Backport PR #267 to fix compatibility with Python 3.11 (thanks Petr Viktorin) * Fri Jul 23 2021 Fedora Release Engineering - 1.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.5.2-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 16:02:58 CET 2021 Petr Viktorin - 1.5.2-1 - Update to 1.5.2 * Wed Jul 29 2020 Fedora Release Engineering - 1.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.5.1-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.5.1-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.5.1-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 11 2019 Adam Williamson - 1.5.1-3 - Disable a couple of test checks that fail with freezegun 0.3.11 * Sat Feb 02 2019 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 23 2018 Adam Williamson - 1.5.1-1 - New release 1.5.1 - Disable Python 2 build on F30+, EL8+ * Fri Nov 23 2018 Miro Hrončok - 1.4.3-1 - Update to 1.4.3 (used by pipenv) * Fri Jul 13 2018 Fedora Release Engineering - 1.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.3.0-12 - Rebuilt for Python 3.7 * Sun Feb 11 2018 Iryna Shcherbina - 1.3.0-11 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 1.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 10 2017 Adam Williamson - 1.3.0-7 - Enable Python 3 build on EPEL 7 * Mon Dec 19 2016 Miro Hrončok - 1.3.0-6 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.3.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Mar 03 2016 Adam Williamson - 1.3.0-4 - disable tests on F22 (it doesn't know about py3.5) * Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Dec 09 2015 Adam Williamson - 1.3.0-2 - try to repair the mess I made of package naming: - # both subpackages now use module name not project name - # try to ensure all previous names are provided/obsoleted * Thu Nov 26 2015 Adam Williamson - 1.3.0-1 - new release 1.3.0, drop patch (merged upstream) - switch to python2-foo / python3-foo package naming * Tue Nov 10 2015 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Apr 29 2015 Adam Williamson - 1.2.0-1 - new upstream release 1.2.0 (refactoring, bug fixes) - patch out non-ASCII characters in HISTORY.rst (breaks py3 build in koji) * Thu Apr 16 2015 Adam Williamson - 1.1.0-1 - new upstream release 1.1.0 (insignificant changes) * Wed Mar 25 2015 Adam Williamson - 1.0.0-4 - python3 build only for Fedora (no python3 in RHEL6 or 7) - provide python2-cached_property - guard against #license not being available - only run tests on F>=22 (tox is too old on everything else) * Fri Mar 13 2015 Pete Travis - 1.0.0-2 - Use the module name for the package name. * Fri Feb 20 2015 Pete Travis 1.0.0-1 - Initial packaging.