Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
17b10c22a0
!30 [sync] PR-28: remove pycrypto
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-11-29 03:59:21 +00:00
陈棋德
82f94e8d7e update python-beaker.spec.
Signed-off-by: 陈棋德 <dillon.chen@gmail.com>
(cherry picked from commit 49c351d7f9a6c23b7929e63d78cf85edbb29634d)
2023-11-29 11:44:34 +08:00
openeuler-ci-bot
30a1c38bf7
!21 remove buildrequire python3-nose
Merge pull request !21 from renxichen/openEuler-22.03-LTS-Next
2022-01-10 06:36:22 +00:00
rwx403335
76b70b176d remove buildrequire python3-nose 2022-01-10 12:11:27 +08:00
openeuler-ci-bot
15e552b7c0 !9 upgrade python-beaker to 1.11.0
From: @jlwwlsqc
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-02-02 17:22:25 +08:00
wangjie
6bf5508d1a upgrade 1.11.0 2021-02-02 16:51:51 +08:00
openeuler-ci-bot
555e9ae07a !4 remove mongod
From: @weiwei_150212
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2020-12-14 19:55:17 +08:00
markeryang
91edf42b09 remove mongod 2020-12-12 17:59:48 +08:00
openeuler-ci-bot
9d3b13d877 !2 delete python2.
Merge pull request !2 from tianwei/master
2020-08-08 16:08:00 +08:00
zhanliwen
b714103500 delete python2 2020-08-05 16:43:35 +08:00
3 changed files with 20 additions and 40 deletions

Binary file not shown.

BIN
beaker-1.11.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%bcond_with tests
Name: python-beaker
Version: 1.10.0
Release: 4
Version: 1.11.0
Release: 3
Summary: A web session and general caching library.
License: BSD and MIT
URL: http://beaker.readthedocs.io
@ -11,7 +11,7 @@ Source0: https://github.com/bbangert/beaker/archive/%{version}/beaker-%{version}
Patch6000: beaker-use-system-paste.patch
BuildArch: noarch
BuildRequires: %{_bindir}/mongod %{_bindir}/redis-server %{_bindir}/pkill %{_bindir}/netstat git
BuildRequires: %{_bindir}/redis-server %{_bindir}/netstat git
%global _description\
Beaker is a caching library that includes Session and Cache objects\
@ -20,37 +20,18 @@ is also included to manage Session objects and signed cookies.
%description %_description
%package -n python2-beaker
Summary: %summary
BuildRequires: python2-devel python2dist(cryptography) python2dist(funcsigs) python2dist(mock)
BuildRequires: python2dist(nose) python2dist(paste) python2dist(pycrypto) python2dist(pymongo)
BuildRequires: python2dist(redis) python2dist(setuptools) python2dist(sqlalchemy)
%if %{with tests}
BuildRequires: python2dist(webtest)
%endif
Requires: python2dist(funcsigs) python2dist(paste)
Recommends: python2dist(cryptography) python2dist(pycrypto) python2dist(pycryptodome) python2dist(pycryptopp)
%{?python_provide:%python_provide python2-beaker}
Provides: %{name} = %{version}-%{release} %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name} < %{version}-%{release}
%description -n python2-beaker
%_description
%package -n python3-beaker
Summary: %summary
BuildRequires: python3-devel python3dist(cryptography) python3dist(funcsigs) python3dist(mock)
BuildRequires: python3dist(nose) python3dist(paste) python3dist(pycrypto) python3dist(pymongo)
BuildRequires: python3dist(paste)
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)
Recommends: python3dist(cryptography) python3dist(pycryptodome) python3dist(pycryptopp)
%{?python_provide:%python_provide python3-beaker}
@ -62,37 +43,21 @@ Recommends: python3dist(cryptography) python3dist(pycrypto) python3dist(pycrypto
%autosetup -n beaker-%{version} -p1 -Sgit
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%if %{with tests}
%check
redis-server &
if [ "$(netstat -ln | grep :27017)" != "" ]; then pkill mongod; fi
mkdir ./mongod
mongod --fork --dbpath ./mongod --logpath ./mongod/mongod.log
while [ "$(netstat -ln | grep :27017)" == "" ]; do sleep 1; done
rm -rf /tmp/beaker-tests
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} -m nose -v
rm -rf /tmp/beaker-tests
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m nose -v
pkill mongod
kill %1
%endif
%files -n python2-beaker
%license LICENSE
%doc README.* CHANGELOG
%{python2_sitelib}/beaker/
%{python2_sitelib}/Beaker*
%files -n python3-beaker
%license LICENSE
%doc README.* CHANGELOG
@ -100,6 +65,21 @@ kill %1
%{python3_sitelib}/Beaker*
%changelog
* Fri Jun 2 2023 dillon chen<dillon.chen@gmail.com> - 1.11.0-3
- remoe pycrypto(EOL)
* Sat Jan 08 2022 renhongxun <renhongxun@huawei.com> - 1.11.0-2
- remove python3-nose
* Tue Feb 2 2021 wangjie<wangjie294@huawei.com> -1.11.0-1
- upgrade 1.11
* Sat Dec 12 2020 tianwei <tianwei12@huawei.com> - 1.10.0-6
- remove mongod
* Wed Aug 5 2020 tianwei <tianwei12@huawei.com> - 1.10.0-5
- delete python2.
* Thu Nov 21 2019 fangyufa <fangyufa1@huawei.com> - 1.10.0-4
- add buildrequires of git for x86_64 build