492f494
%global modname dogpile.cache
9b96cb3
%global sum A caching front-end based on the Dogpile lock
9b96cb3
%global desc Dogpile consists of two subsystems, one building on top of the other.\
9b96cb3
\
9b96cb3
dogpile provides the concept of a "dogpile lock", a control structure\
9b96cb3
which allows a single thread of execution to be selected as the\
9b96cb3
"creator" of some resource, while allowing other threads of execution to\
9b96cb3
refer to the previous version of this resource as the creation proceeds;\
9b96cb3
if there is no previous version, then those threads block until the\
9b96cb3
object is available.\
9b96cb3
\
9b96cb3
dogpile.cache is a caching API which provides a generic interface to\
9b96cb3
caching backends of any variety, and additionally provides API hooks\
9b96cb3
which integrate these cache backends with the locking mechanism of\
9b96cb3
dogpile.\
9b96cb3
\
9b96cb3
Overall, dogpile.cache is intended as a replacement to the Beaker\
9b96cb3
caching system, the internals of which are written by the same author.\
9b96cb3
All the ideas of Beaker which "work" are re- implemented in\
9b96cb3
dogpile.cache in a more efficient and succinct manner, and all the cruft\
9b96cb3
(Beaker\'s internals were first written in 2005) relegated to the trash\
9b96cb3
heap.
492f494
492f494
Name:               python-dogpile-cache
dc20f32
Version:            1.3.1
dc20f32
Release:            1%{?dist}
9b96cb3
Summary:            %{sum}
492f494
b6bac12
License:            MIT
f5c2807
URL:                https://pypi.io/project/dogpile.cache
f5c2807
Source0:            https://pypi.io/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
492f494
492f494
BuildArch:          noarch
492f494
b6bac12
BuildRequires:      python3-decorator >= 4.0.0
492f494
BuildRequires:      python3-devel
7e9be06
BuildRequires:      python3-mako
7e9be06
BuildRequires:      python3-pytest-cov
7e9be06
BuildRequires:      python3-setuptools
b61298a
BuildRequires:      python3-stevedore
3f3610b
BuildRequires:      python3-typing-extensions
492f494
afb28b5
492f494
%description
9b96cb3
%{desc}
9b96cb3
9b96cb3
492f494
%package -n python3-dogpile-cache
9b96cb3
Summary:  %{sum}
9b96cb3
4a1b04d
Requires:           python3-mako
4a1b04d
9b96cb3
%{?python_provide:%python_provide python3-dogpile-cache}
9b96cb3
9b96cb3
Provides: python3-dogpile-core = %{version}-%{release}
9b96cb3
Obsoletes: python3-dogpile-core < 0.4.1-12
492f494
afb28b5
492f494
%description -n python3-dogpile-cache
9b96cb3
%{desc}
492f494
492f494
%prep
492f494
%setup -q -n %{modname}-%{version}
492f494
492f494
# Remove bundled egg-info in case it exists
492f494
rm -rf %{modname}.egg-info
492f494
492f494
%build
492f494
%{__python3} setup.py build
492f494
492f494
%install
492f494
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
492f494
7e9be06
7e9be06
%check
b1495d7
# Package is currently FTBFS because of some failing tests.
b1495d7
# In order to continue with bootstrap sequence of Python 3.10, we are disabling them.
b1495d7
# Once it is fixed it can be again enabled.
b1495d7
# Downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1958192
b1495d7
%{__python3} -m pytest -k "not test_cache_preserve_sig and not test_cache_multi_preserve_sig"
7e9be06
7e9be06
492f494
%files -n python3-dogpile-cache
9b96cb3
%license LICENSE
9b96cb3
%doc README.rst
25c205a
%{python3_sitelib}/dogpile
492f494
%{python3_sitelib}/%{modname}-%{version}-*
492f494
492f494
%changelog
dc20f32
* Tue Feb 13 2024 Jonathan Wright <jonathan@almalinux.org> - 1.3.1-1
c642491
- update to 1.3.1 rhbz#2263281
c642491
7f9fa02
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
7f9fa02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7f9fa02
4134d32
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
4134d32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4134d32
e8c869a
* Wed Jan 03 2024 Jonathan Wright <jonathan@almalinux.org> - 1.3.0-1
e8c869a
- Update to 1.3.0 rhbz#2255410
e8c869a
3940a1f
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
3940a1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3940a1f
3f3610b
* Fri Jul 14 2023 Jonathan Wright <jonathan@almalinux.org> - 1.2.2-2
3f3610b
- Add missing BR
3f3610b
67e4e4a
* Fri Jul 14 2023 Jonathan Wright <jonathan@almalinux.org> - 1.2.2-1
67e4e4a
- Update to 1.2.2 rhbz#2208776
67e4e4a
8e051c0
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.2.0-3
8e051c0
- Rebuilt for Python 3.12
8e051c0
Jonathan e62d9c5
* Thu Apr 27 2023 Jonathan Wright <jonathan@almalinux.org> - 1.2.0-2
Jonathan e62d9c5
- remove unnecessary BR on python3-mock
Jonathan e62d9c5
Jonathan 96c71f4
* Thu Apr 27 2023 Jonathan Wright <jonathan@almalinux.org> - 1.2.0-1
Jonathan 96c71f4
- Update to 1.2.0 rhbz#2189978
Jonathan 96c71f4
128f7ac
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
128f7ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
128f7ac
8b746e6
* Sun Sep 18 2022 Kevin Fenzi <kevin@scrye.com> - 1.1.8-1
8b746e6
- Update to 1.1.8. Fixes rhbz#2095790
8b746e6
5bb8041
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
5bb8041
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5bb8041
9ecc807
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.1.5-2
9ecc807
- Rebuilt for Python 3.11
9ecc807
d7b5ab0
* Mon Feb 07 2022 Joel Capitao <jcapitao@redhat.com> - 1.1.5-1
d7b5ab0
- Update to 1.1.5. Fixes rhbz#2000647
d7b5ab0
f4326af
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
f4326af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f4326af
a33518a
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
a33518a
- Second attempt - Rebuilt for
a33518a
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a33518a
8252c48
* Sat Jun 26 2021 siddharthvipul <siddharthvipul1@gmail.com> - 1.1.3-1
8252c48
- Update to 1.1.3. Fixes rhbz#1962945
8252c48
5b433a1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.2-2
5b433a1
- Rebuilt for Python 3.10
5b433a1
da66d1a
* Thu Jan 28 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.2-1
da66d1a
- Update to 1.1.2. Fixes rhbz#1920627
da66d1a
d794205
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
d794205
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d794205
60a8d25
* Fri Jan 01 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.1-1
60a8d25
- Upgrade to 1.1.1. Fixes rhbz#1897941
60a8d25
b61298a
* Sat Oct 10 2020 Kevin Fenzi <kevin@scrye.com> - 1.0.2-1
b61298a
- Update to 1.0.2.
b61298a
- Add patch to use older python-stevedore package in fedora for now for tests.
b61298a
fadbfa6
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
fadbfa6
- Second attempt - Rebuilt for
fadbfa6
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fadbfa6
08d7b1a
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
08d7b1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
08d7b1a
8f896b0
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-3
8f896b0
- Rebuilt for Python 3.9
8f896b0
f4fde42
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
f4fde42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f4fde42
e05d8ee
* Fri Nov 15 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.9.0-1
e05d8ee
- Update to 0.9.0 (#1766238).
e05d8ee
- https://dogpilecache.sqlalchemy.org/en/latest/changelog.html#change-0.9.0
e05d8ee
b6bac12
* Fri Sep 27 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.8.0-1
b6bac12
- Update to 0.8.0 (#1754092).
b6bac12
- https://dogpilecache.sqlalchemy.org/en/latest/changelog.html
b6bac12
ddcad89
* Mon Sep 09 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.6.8-3
ddcad89
- Drop python2-dogpile-cache (#1748419).
ddcad89
46cb852
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.8-3
46cb852
- Rebuilt for Python 3.8
46cb852
4425bc4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-2
4425bc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4425bc4
a6df771
* Wed Feb 06 2019 Alfredo Moralejo <amoralej@redhat.com> - 0.6.8-1
a6df771
- Update to 0.6.8.
a6df771
d305bcc
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7-2
d305bcc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d305bcc
824b75a
* Tue Oct 09 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.6.7-1
824b75a
- Update to 0.6.7 (#1609253).
824b75a
- https://dogpilecache.readthedocs.io/en/latest/changelog.html#change-0.6.7
824b75a
70eeb91
* Mon Jul 23 2018 Kevin Fenzi <kevin@scrye.com> - 0.6.6-1
70eeb91
- Fix FTBFS bug #1605662
70eeb91
- Update to 0.6.6.
70eeb91
d341685
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-3
d341685
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d341685
27d251d
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.5-2
27d251d
- Rebuilt for Python 3.7
27d251d
aa44c33
* Thu Apr 12 2018 Ralph Bean <rbean@redhat.com> - 0.6.5-1
aa44c33
- new version
aa44c33
6cf06e0
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.4-5
6cf06e0
- Update Python 2 dependency declarations to new packaging standards
6cf06e0
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6cf06e0
4a88ccb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-4
4a88ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild