|
rdobuilder |
903144 |
%global modname dogpile.cache
|
|
rdobuilder |
903144 |
%global sum A caching front-end based on the Dogpile lock
|
|
rdobuilder |
903144 |
%global desc Dogpile consists of two subsystems, one building on top of the other.\
|
|
rdobuilder |
903144 |
\
|
|
rdobuilder |
903144 |
dogpile provides the concept of a "dogpile lock", a control structure\
|
|
rdobuilder |
903144 |
which allows a single thread of execution to be selected as the\
|
|
rdobuilder |
903144 |
"creator" of some resource, while allowing other threads of execution to\
|
|
rdobuilder |
903144 |
refer to the previous version of this resource as the creation proceeds;\
|
|
rdobuilder |
903144 |
if there is no previous version, then those threads block until the\
|
|
rdobuilder |
903144 |
object is available.\
|
|
rdobuilder |
903144 |
\
|
|
rdobuilder |
903144 |
dogpile.cache is a caching API which provides a generic interface to\
|
|
rdobuilder |
903144 |
caching backends of any variety, and additionally provides API hooks\
|
|
rdobuilder |
903144 |
which integrate these cache backends with the locking mechanism of\
|
|
rdobuilder |
903144 |
dogpile.\
|
|
rdobuilder |
903144 |
\
|
|
rdobuilder |
903144 |
Overall, dogpile.cache is intended as a replacement to the Beaker\
|
|
rdobuilder |
903144 |
caching system, the internals of which are written by the same author.\
|
|
rdobuilder |
903144 |
All the ideas of Beaker which "work" are re- implemented in\
|
|
rdobuilder |
903144 |
dogpile.cache in a more efficient and succinct manner, and all the cruft\
|
|
rdobuilder |
903144 |
(Beaker\'s internals were first written in 2005) relegated to the trash\
|
|
rdobuilder |
903144 |
heap.
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
Name: python-dogpile-cache
|
|
rdobuilder |
903144 |
Version: 1.1.8
|
|
rdobuilder |
903144 |
Release: 1%{?dist}
|
|
rdobuilder |
903144 |
Summary: %{sum}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
License: MIT
|
|
rdobuilder |
903144 |
URL: https://pypi.io/project/dogpile.cache
|
|
rdobuilder |
903144 |
Source0: https://pypi.io/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
BuildArch: noarch
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
BuildRequires: python3-decorator >= 4.0.0
|
|
rdobuilder |
903144 |
BuildRequires: python3-devel
|
|
rdobuilder |
903144 |
BuildRequires: python3-mako
|
|
rdobuilder |
903144 |
BuildRequires: python3-mock
|
|
rdobuilder |
903144 |
BuildRequires: python3-pytest-cov
|
|
rdobuilder |
903144 |
BuildRequires: python3-setuptools
|
|
rdobuilder |
903144 |
BuildRequires: python3-stevedore
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%description
|
|
rdobuilder |
903144 |
%{desc}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%package -n python3-dogpile-cache
|
|
rdobuilder |
903144 |
Summary: %{sum}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
Requires: python3-mako
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%{?python_provide:%python_provide python3-dogpile-cache}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
Provides: python3-dogpile-core = %{version}-%{release}
|
|
rdobuilder |
903144 |
Obsoletes: python3-dogpile-core < 0.4.1-12
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%description -n python3-dogpile-cache
|
|
rdobuilder |
903144 |
%{desc}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%prep
|
|
rdobuilder |
903144 |
%setup -q -n %{modname}-%{version}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
# Remove bundled egg-info in case it exists
|
|
rdobuilder |
903144 |
rm -rf %{modname}.egg-info
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%build
|
|
rdobuilder |
903144 |
%{__python3} setup.py build
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%install
|
|
rdobuilder |
903144 |
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%check
|
|
rdobuilder |
903144 |
# Package is currently FTBFS because of some failing tests.
|
|
rdobuilder |
903144 |
# In order to continue with bootstrap sequence of Python 3.10, we are disabling them.
|
|
rdobuilder |
903144 |
# Once it is fixed it can be again enabled.
|
|
rdobuilder |
903144 |
# Downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1958192
|
|
rdobuilder |
903144 |
%{__python3} -m pytest -k "not test_cache_preserve_sig and not test_cache_multi_preserve_sig"
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%files -n python3-dogpile-cache
|
|
rdobuilder |
903144 |
%license LICENSE
|
|
rdobuilder |
903144 |
%doc README.rst
|
|
rdobuilder |
903144 |
%{python3_sitelib}/dogpile
|
|
rdobuilder |
903144 |
%{python3_sitelib}/%{modname}-%{version}-*
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
%changelog
|
|
rdobuilder |
903144 |
* Sun Sep 18 2022 Kevin Fenzi <kevin@scrye.com> - 1.1.8-1
|
|
rdobuilder |
903144 |
- Update to 1.1.8. Fixes rhbz#2095790
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.1.5-2
|
|
rdobuilder |
903144 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Mon Feb 07 2022 Joel Capitao <jcapitao@redhat.com> - 1.1.5-1
|
|
rdobuilder |
903144 |
- Update to 1.1.5. Fixes rhbz#2000647
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
|
|
rdobuilder |
903144 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
903144 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Jun 26 2021 siddharthvipul <siddharthvipul1@gmail.com> - 1.1.3-1
|
|
rdobuilder |
903144 |
- Update to 1.1.3. Fixes rhbz#1962945
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.2-2
|
|
rdobuilder |
903144 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Thu Jan 28 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.2-1
|
|
rdobuilder |
903144 |
- Update to 1.1.2. Fixes rhbz#1920627
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Jan 01 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.1-1
|
|
rdobuilder |
903144 |
- Upgrade to 1.1.1. Fixes rhbz#1897941
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Oct 10 2020 Kevin Fenzi <kevin@scrye.com> - 1.0.2-1
|
|
rdobuilder |
903144 |
- Update to 1.0.2.
|
|
rdobuilder |
903144 |
- Add patch to use older python-stevedore package in fedora for now for tests.
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
|
|
rdobuilder |
903144 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
903144 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-3
|
|
rdobuilder |
903144 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Nov 15 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.9.0-1
|
|
rdobuilder |
903144 |
- Update to 0.9.0 (#1766238).
|
|
rdobuilder |
903144 |
- https://dogpilecache.sqlalchemy.org/en/latest/changelog.html#change-0.9.0
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Sep 27 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.8.0-1
|
|
rdobuilder |
903144 |
- Update to 0.8.0 (#1754092).
|
|
rdobuilder |
903144 |
- https://dogpilecache.sqlalchemy.org/en/latest/changelog.html
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Mon Sep 09 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.6.8-3
|
|
rdobuilder |
903144 |
- Drop python2-dogpile-cache (#1748419).
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.8-3
|
|
rdobuilder |
903144 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-2
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Wed Feb 06 2019 Alfredo Moralejo <amoralej@redhat.com> - 0.6.8-1
|
|
rdobuilder |
903144 |
- Update to 0.6.8.
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-2
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Tue Oct 09 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.6.7-1
|
|
rdobuilder |
903144 |
- Update to 0.6.7 (#1609253).
|
|
rdobuilder |
903144 |
- https://dogpilecache.readthedocs.io/en/latest/changelog.html#change-0.6.7
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Mon Jul 23 2018 Kevin Fenzi <kevin@scrye.com> - 0.6.6-1
|
|
rdobuilder |
903144 |
- Fix FTBFS bug #1605662
|
|
rdobuilder |
903144 |
- Update to 0.6.6.
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-3
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.5-2
|
|
rdobuilder |
903144 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Thu Apr 12 2018 Ralph Bean <rbean@redhat.com> - 0.6.5-1
|
|
rdobuilder |
903144 |
- new version
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.4-5
|
|
rdobuilder |
903144 |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
903144 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
903144 |
|
|
rdobuilder |
903144 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4
|
|
rdobuilder |
903144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|