Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
aeb83f4c41
!16 Upgrade to 0.12.25
From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-05-29 02:46:18 +00:00
wu-leilei
0953fee560 Upgrade package to version 0.12.25 2023-05-26 16:44:36 +08:00
openeuler-ci-bot
e98bacd864
!10 Fix CVE-2022-31799
From: @starlet-dx 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-14 03:09:31 +00:00
starlet-dx
0dd0fcb3e1 Fix CVE-2022-31799 2022-06-14 09:58:14 +08:00
openeuler-ci-bot
c09283f6c1
!9 Fix Python 3.7 collections.abc DeprecationWarning 导致 编译失败
From: @cherry530 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-31 06:11:59 +00:00
cherry530
5f1ccba0fb Fix Python 3.7 collections.abc DeprecationWarning
Signed-off-by: cherry530 <xuping33@huawei.com>
2022-03-31 11:32:46 +08:00
openeuler-ci-bot
bdd8181008 !3 fix CVE-2020-28473
From: @zhanghua1831
Reviewed-by: @wangxiao65,@small_leek
Signed-off-by: @small_leek
2021-02-20 15:58:22 +08:00
zhanghua1831
0b8d00678f CVE-2020-28473 2021-02-19 17:02:17 +08:00
openeuler-ci-bot
b0f9ce6cd5 !2 Modify url and remove subpackage python2-bottle
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:39:23 +08:00
lei_ju
c3060b5e8f Modify url and remove subpackage python2-bottle 2020-10-30 14:21:14 +08:00
3 changed files with 21 additions and 23 deletions

Binary file not shown.

BIN
bottle-0.12.25.tar.gz Normal file

Binary file not shown.

View File

@ -1,27 +1,18 @@
Name: python-bottle
Version: 0.12.13
Release: 7
Version: 0.12.25
Release: 1
Summary: WSGI micro web-framework for Python.
License: MIT
URL: http://bottlepy.org
URL: https://github.com/bottlepy/bottle
Source0: https://github.com/bottlepy/bottle/archive/%{version}/bottle-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
BuildRequires: python3-devel python3-setuptools
%description
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.
It is distributed as a single file module and has no dependencies other than
the Python Standard Library.
%package -n python2-bottle
Summary: WSGI micro web-framework for Python.
%{?python_provide:%python_provide python2-%bottle}
%description -n python2-bottle
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.
It is distributed as a single file module and has no dependencies other than
the Python Standard Library.
%package -n python3-bottle
Summary: WSGI micro web-framework for Python.
%{?python_provide:%python_provide python%{python3_pkgversion}-bottle}
@ -32,33 +23,40 @@ It is distributed as a single file module and has no dependencies other than
the Python Standard Library.
%prep
%autosetup -n bottle-%{version}
%autosetup -n bottle-%{version} -p1
sed -i '/^#!/d' bottle.py
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%__python2 test/testall.py verbose
%__python3 test/testall.py verbose || :
%files -n python2-bottle
%license LICENSE
%doc AUTHORS README.rst
%{python2_sitelib}/*
%exclude %{_bindir}/bottle.py
%files -n python3-bottle
%license LICENSE
%doc AUTHORS README.rst
%{python3_sitelib}/*
%exclude %{_bindir}/bottle.py
%changelog
* Fri May 26 2023 wulei <wu_lei@hoperun.com> - 0.12.25-1
- Upgrade package to version 0.12.25
* Tue Jun 14 2022 yaoxin <yaoxin30@h-partners.com> - 0.12.13-11
- Fix CVE-2022-31799
* Thu Mar 31 2022 xu_ping <xuping33@huawei.com> - 0.12.13-10
- Fix Python 3.7 collections.abc DeprecationWarning
* Fri Feb 19 2021 zhanghua <zhanghua40@huawei.com> - 0.12.13-9
- fix CVE-2020-28473
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 0.12.13-8
- Modify url and remove subpackage python2-bottle
* Tue Nov 26 2019 zhujunhao <zhujunhao5@huawei.com> - 0.12.13-7
- Package init