From 2fa1b9e1c9ba08ac077fe323584cc06468373d3ff1f5e4a9547f02195f63e4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 14 Oct 2024 08:26:58 +0000 Subject: [PATCH] - update to version 0.13.2 - add bottle script as alternative alongside bottle.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=57 --- bottle-0.13.1.tar.gz | 3 --- bottle-0.13.2.tar.gz | 3 +++ python-bottle.changes | 9 +++++++++ python-bottle.spec | 8 +++++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 bottle-0.13.1.tar.gz create mode 100644 bottle-0.13.2.tar.gz diff --git a/bottle-0.13.1.tar.gz b/bottle-0.13.1.tar.gz deleted file mode 100644 index 67fa784..0000000 --- a/bottle-0.13.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a48852dc7a051353d3e4de3dd5590cd25de370bcfd94a72237561e314ceb0c88 -size 836422 diff --git a/bottle-0.13.2.tar.gz b/bottle-0.13.2.tar.gz new file mode 100644 index 0000000..1d6dd53 --- /dev/null +++ b/bottle-0.13.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e53803b9d298c7d343d00ba7d27b0059415f04b9f6f40b8d58b5bf914ba9d348 +size 98472 diff --git a/python-bottle.changes b/python-bottle.changes index f8767c6..9c96142 100644 --- a/python-bottle.changes +++ b/python-bottle.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Oct 12 16:30:45 UTC 2024 - BenoƮt Monin + +- 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 diff --git a/python-bottle.spec b/python-bottle.spec index 5c3f4f2..680b1db 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -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