2024-01-06 10:48:33 +01:00
|
|
|
Name: python-beaker
|
2024-01-06 10:48:34 +01:00
|
|
|
Version: 1.12.0
|
2024-01-06 10:48:34 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:48:33 +01:00
|
|
|
Summary: A Session and Caching library with WSGI Middleware
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:48:34 +01:00
|
|
|
URL: https://beaker.readthedocs.io/en/latest/
|
2024-01-06 10:48:33 +01:00
|
|
|
Source: http://pypi.debian.net/Beaker/Beaker-%{version}.tar.gz
|
2024-01-06 10:48:33 +01:00
|
|
|
Patch0: python-beaker-1.5-absimport.patch
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:48:34 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 10:48:33 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:48:34 +01:00
|
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
2024-01-06 10:48:33 +01:00
|
|
|
BuildRequires: python-setuptools-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
Beaker is a web session and general caching library that includes WSGI middleware for use in web applications.
|
|
|
|
As a general caching library, Beaker can handle storing for various times any Python object that can be pickled with optional back-ends on a fine-grained basis.
|
|
|
|
Beaker was built largely on the code from MyghtyUtils, then refactored and extended with database support.
|
|
|
|
|
|
|
|
Beaker includes Cache and Session WSGI middleware to ease integration with WSGI capable frameworks, and is automatically used by Pylons http://pylonshq.com/.
|
|
|
|
|
|
|
|
Features
|
|
|
|
========
|
|
|
|
|
|
|
|
* Fast, robust performance
|
|
|
|
* Multiple reader/single writer lock system to avoid duplicate simultaneous cache creation
|
|
|
|
* Cache back-ends include dbm, file, memory, memcached, and database (Using SQLAlchemy for multiple-db vendor support)
|
|
|
|
* Signed cookie's to prevent session hijacking/spoofing
|
|
|
|
* Cookie-only sessions to remove the need for a db or file backend (ideal for clustered systems)
|
|
|
|
* Extensible Container object to support new back-ends
|
|
|
|
* Cache's can be divided into namespaces (to represent templates, objects, etc.) then keyed for different copies
|
|
|
|
* Create functions for automatic call-backs to create new cache copies after expiration
|
|
|
|
* Fine-grained toggling of back-ends, keys, and expiration per Cache object
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
2024-01-06 10:48:33 +01:00
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
%prep
|
2024-01-06 10:48:33 +01:00
|
|
|
%setup -q -n Beaker-%{version}
|
|
|
|
#%patch0 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
2024-01-06 10:48:33 +01:00
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
2024-01-06 10:48:34 +01:00
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:48:33 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:48:33 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:48:34 +01:00
|
|
|
%dir %{python_sitearch}/Beaker-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/Beaker-%{version}-py*.egg-info/*
|
2024-01-06 10:48:33 +01:00
|
|
|
#%doc LICENSE CHANGELOG
|
2024-01-06 10:48:33 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:48:34 +01:00
|
|
|
* Sat Dec 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- update to 1.12.0
|
|
|
|
|
2024-01-06 10:48:34 +01:00
|
|
|
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:34 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-2mamba
|
|
|
|
- rebuilt with python3 3.7.4
|
|
|
|
|
2024-01-06 10:48:34 +01:00
|
|
|
* Sat Feb 23 2019 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:34 +01:00
|
|
|
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:34 +01:00
|
|
|
* Sat Apr 28 2018 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Thu Nov 16 2017 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-2mamba
|
|
|
|
- -py3 package support
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Fri Jan 29 2016 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:48:33 +01:00
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu Mar 07 2013 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 01 2010 gil <puntogil@libero.it> 1.5.3-1mamba
|
|
|
|
- update to 1.5.3
|
|
|
|
|
|
|
|
* Fri Nov 27 2009 gil <puntogil@libero.it> 1.5-1mamba
|
|
|
|
- package created by autospec
|