114 Star 0 Fork 16

src-openEuler/python-bottle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-bottle.spec 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
吴磊磊 提交于 2023-05-26 16:44 . Upgrade package to version 0.12.25
Name: python-bottle
Version: 0.12.25
Release: 1
Summary: WSGI micro web-framework for Python.
License: MIT
URL: https://github.com/bottlepy/bottle
Source0: https://github.com/bottlepy/bottle/archive/%{version}/bottle-%{version}.tar.gz
BuildArch: noarch
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 python3-bottle
Summary: WSGI micro web-framework for Python.
%{?python_provide:%python_provide python%{python3_pkgversion}-bottle}
%description -n python3-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.
%prep
%autosetup -n bottle-%{version} -p1
sed -i '/^#!/d' bottle.py
%build
%py3_build
%install
%py3_install
%check
%__python3 test/testall.py verbose || :
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-bottle.git
git@gitee.com:src-openeuler/python-bottle.git
src-openeuler
python-bottle
python-bottle
master

搜索帮助