Accepting request 1207849 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1207849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bottle?expand=0&rev=29
This commit is contained in:
commit
3ab9843d0f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a48852dc7a051353d3e4de3dd5590cd25de370bcfd94a72237561e314ceb0c88
|
||||
size 836422
|
BIN
bottle-0.13.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
bottle-0.13.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 16:30:45 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 0.13.2:
|
||||
* fix: depr() should return DeprecationWarning
|
||||
* change: Deprecate bottle.py script install
|
||||
* docs: Added deprecation note for Python 2.x to release notes
|
||||
- add bottle script as alternative alongside bottle.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 06:21:36 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-bottle
|
||||
Version: 0.13.1
|
||||
Version: 0.13.2
|
||||
Release: 0
|
||||
Summary: WSGI framework for small web applications
|
||||
License: MIT
|
||||
@ -68,20 +68,22 @@ cp %{SOURCE1} .
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/bottle.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/bottle
|
||||
|
||||
%check
|
||||
%pyunittest -v
|
||||
|
||||
%post
|
||||
%python_install_alternative bottle.py
|
||||
%python_install_alternative bottle.py bottle
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative bottle.py
|
||||
%python_uninstall_alternative bottle.py bottle
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/bottle.py
|
||||
%python_alternative %{_bindir}/bottle
|
||||
%{python_sitelib}/bottle.py*
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
%{python_sitelib}/bottle-%{version}.dist-info
|
||||
|
Loading…
Reference in New Issue
Block a user