%{?python_enable_dependency_generator} %global modname dogpile.cache %global sum A caching front-end based on the Dogpile lock %global desc Dogpile consists of two subsystems, one building on top of the other.\ \ dogpile provides the concept of a "dogpile lock", a control structure\ which allows a single thread of execution to be selected as the\ "creator" of some resource, while allowing other threads of execution to\ refer to the previous version of this resource as the creation proceeds;\ if there is no previous version, then those threads block until the\ object is available.\ \ dogpile.cache is a caching API which provides a generic interface to\ caching backends of any variety, and additionally provides API hooks\ which integrate these cache backends with the locking mechanism of\ dogpile.\ \ Overall, dogpile.cache is intended as a replacement to the Beaker\ caching system, the internals of which are written by the same author.\ All the ideas of Beaker which "work" are re- implemented in\ dogpile.cache in a more efficient and succinct manner, and all the cruft\ (Beaker\'s internals were first written in 2005) relegated to the trash\ heap. Name: python-dogpile-cache Version: 0.9.0 Release: 1%{?dist} Summary: %{sum} License: MIT URL: https://pypi.io/project/dogpile.cache Source0: https://pypi.io/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-decorator >= 4.0.0 BuildRequires: python3-devel BuildRequires: python3-mako BuildRequires: python3-mock BuildRequires: python3-pytest-cov BuildRequires: python3-setuptools %description %{desc} %package -n python3-dogpile-cache Summary: %{sum} Requires: python3-mako %{?python_provide:%python_provide python3-dogpile-cache} Provides: python3-dogpile-core = %{version}-%{release} Obsoletes: python3-dogpile-core < 0.4.1-12 %description -n python3-dogpile-cache %{desc} %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} %check %{__python3} -m pytest %files -n python3-dogpile-cache %license LICENSE %doc README.rst %{python3_sitelib}/dogpile %{python3_sitelib}/%{modname}-%{version}-* %changelog * Fri Nov 15 2019 Randy Barlow - 0.9.0-1 - Update to 0.9.0 (#1766238). - https://dogpilecache.sqlalchemy.org/en/latest/changelog.html#change-0.9.0 * Fri Sep 27 2019 Randy Barlow - 0.8.0-1 - Update to 0.8.0 (#1754092). - https://dogpilecache.sqlalchemy.org/en/latest/changelog.html * Mon Sep 09 2019 Randy Barlow - 0.6.8-3 - Drop python2-dogpile-cache (#1748419). * Sat Aug 17 2019 Miro Hrončok - 0.6.8-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 06 2019 Alfredo Moralejo - 0.6.8-1 - Update to 0.6.8. * Sat Feb 02 2019 Fedora Release Engineering - 0.6.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 09 2018 Randy Barlow - 0.6.7-1 - Update to 0.6.7 (#1609253). - https://dogpilecache.readthedocs.io/en/latest/changelog.html#change-0.6.7 * Mon Jul 23 2018 Kevin Fenzi - 0.6.6-1 - Fix FTBFS bug #1605662 - Update to 0.6.6. * Sat Jul 14 2018 Fedora Release Engineering - 0.6.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Miro Hrončok - 0.6.5-2 - Rebuilt for Python 3.7 * Thu Apr 12 2018 Ralph Bean - 0.6.5-1 - new version * Mon Feb 12 2018 Iryna Shcherbina - 0.6.4-5 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild