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:
Ana Guerrero 2024-10-15 12:57:34 +00:00 committed by Git OBS Bridge
commit 3ab9843d0f
4 changed files with 17 additions and 6 deletions

View File

@ -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

Binary file not shown.

View File

@ -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>

View File

@ -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