2019-11-06 19:48:40 +08:00
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: python-beaker
|
2021-02-02 16:51:51 +08:00
|
|
|
Version: 1.11.0
|
2022-06-13 15:39:59 +08:00
|
|
|
Release: 3
|
2019-11-06 19:48:40 +08:00
|
|
|
Summary: A web session and general caching library.
|
|
|
|
|
License: BSD and MIT
|
|
|
|
|
URL: http://beaker.readthedocs.io
|
|
|
|
|
Source0: https://github.com/bbangert/beaker/archive/%{version}/beaker-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch6000: beaker-use-system-paste.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2021-07-30 23:19:12 +08:00
|
|
|
BuildRequires: %{_bindir}/redis-server %{_bindir}/netstat
|
2019-11-06 19:48:40 +08:00
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
|
Beaker is a caching library that includes Session and Cache objects\
|
|
|
|
|
built on Myghty's Container API used in MyghtyUtils. WSGI middleware\
|
|
|
|
|
is also included to manage Session objects and signed cookies.
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-beaker
|
|
|
|
|
Summary: %summary
|
|
|
|
|
BuildRequires: python3-devel python3dist(cryptography) python3dist(funcsigs) python3dist(mock)
|
2022-06-13 15:39:59 +08:00
|
|
|
BuildRequires: python3dist(paste) python3dist(pycrypto)
|
2019-11-06 19:48:40 +08:00
|
|
|
BuildRequires: python3dist(redis) python3dist(setuptools) python3dist(sqlalchemy)
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: python3dist(webtest)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: python3dist(paste)
|
|
|
|
|
Recommends: python3dist(cryptography) python3dist(pycrypto) python3dist(pycryptodome) python3dist(pycryptopp)
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-beaker}
|
|
|
|
|
|
|
|
|
|
%description -n python3-beaker
|
|
|
|
|
%_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 23:19:12 +08:00
|
|
|
%autosetup -n beaker-%{version} -p1
|
2019-11-06 19:48:40 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%check
|
|
|
|
|
redis-server &
|
|
|
|
|
|
|
|
|
|
rm -rf /tmp/beaker-tests
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m nose -v
|
|
|
|
|
|
|
|
|
|
kill %1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n python3-beaker
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.* CHANGELOG
|
|
|
|
|
%{python3_sitelib}/beaker/
|
|
|
|
|
%{python3_sitelib}/Beaker*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-06-13 15:39:59 +08:00
|
|
|
* Mon Jun 13 2022 guozhaorui <guozhaorui1@h-partners.com> - 1.11.0-3
|
|
|
|
|
- DESC: remove python3-nose
|
|
|
|
|
|
2021-07-30 23:19:12 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.11.0-2
|
|
|
|
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2021-02-02 16:51:51 +08:00
|
|
|
* Tue Feb 2 2021 wangjie<wangjie294@huawei.com> -1.11.0-1
|
|
|
|
|
- upgrade 1.11
|
|
|
|
|
|
2020-12-12 17:59:48 +08:00
|
|
|
* Sat Dec 12 2020 tianwei <tianwei12@huawei.com> - 1.10.0-6
|
|
|
|
|
- remove mongod
|
|
|
|
|
|
2020-08-05 16:43:35 +08:00
|
|
|
* Wed Aug 5 2020 tianwei <tianwei12@huawei.com> - 1.10.0-5
|
|
|
|
|
- delete python2.
|
|
|
|
|
|
2019-12-13 16:02:05 +08:00
|
|
|
* Thu Nov 21 2019 fangyufa <fangyufa1@huawei.com> - 1.10.0-4
|
|
|
|
|
- add buildrequires of git for x86_64 build
|
|
|
|
|
|
2019-11-06 19:48:40 +08:00
|
|
|
* Wed Oct 30 2019 hexiaowen <hexiaowen@huawei.com> - 1.10.0-3
|
|
|
|
|
- disable webtest
|
|
|
|
|
|
|
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.10.0-2
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Package Init
|