From 73cb23d3ff12e11f26f229cbd257f3ad7c0a0cf8ee1edfe354d1ae703a46b031 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 17 Jun 2025 06:48:37 +0000 Subject: [PATCH 1/3] Accepting request 1285894 from home:benoit_monin:branches:devel:languages:python update to version 0.13.4 OBS-URL: https://build.opensuse.org/request/show/1285894 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=61 --- bottle-0.13.3.tar.gz | 3 --- bottle-0.13.4.tar.gz | 3 +++ python-bottle.changes | 8 ++++++++ python-bottle.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 bottle-0.13.3.tar.gz create mode 100644 bottle-0.13.4.tar.gz diff --git a/bottle-0.13.3.tar.gz b/bottle-0.13.3.tar.gz deleted file mode 100644 index f8f3edd..0000000 --- a/bottle-0.13.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c23aeb30aa8a13f39c60c0da494530ddd5de3da235bc431b818a50d999de49f -size 98555 diff --git a/bottle-0.13.4.tar.gz b/bottle-0.13.4.tar.gz new file mode 100644 index 0000000..cb28745 --- /dev/null +++ b/bottle-0.13.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:787e78327e12b227938de02248333d788cfe45987edca735f8f88e03472c3f47 +size 98717 diff --git a/python-bottle.changes b/python-bottle.changes index e5c9463..1109cf5 100644 --- a/python-bottle.changes +++ b/python-bottle.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Jun 15 12:06:40 UTC 2025 - Benoît Monin + +- update to version 0.13.4: + * fix: Route __repr__ and get_undecorated_callback behavior with + __call__ (#1488) + * fix: Workaround for uv/uvx bug (#1486) + ------------------------------------------------------------------- Mon Apr 21 13:26:32 UTC 2025 - Benoît Monin diff --git a/python-bottle.spec b/python-bottle.spec index 3756dd6..097ad7c 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-bottle -Version: 0.13.3 +Version: 0.13.4 Release: 0 Summary: WSGI framework for small web applications License: MIT From 834247ddb8553c02a36057c9a214e268b94b83b1665e873a4b12a04011b64359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 17 Jun 2025 08:43:55 +0000 Subject: [PATCH 2/3] - Convert to libalternatives OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=62 --- python-bottle.changes | 5 +++++ python-bottle.spec | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/python-bottle.changes b/python-bottle.changes index 1109cf5..ddc937a 100644 --- a/python-bottle.changes +++ b/python-bottle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 17 08:43:33 UTC 2025 - Markéta Machová + +- Convert to libalternatives + ------------------------------------------------------------------- Sun Jun 15 12:06:40 UTC 2025 - Benoît Monin diff --git a/python-bottle.spec b/python-bottle.spec index 097ad7c..ea158ca 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-bottle Version: 0.13.4 @@ -28,10 +29,10 @@ Source1: http://bottlepy.org/docs/0.12/bottle-docs.pdf BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires: alts BuildArch: noarch %python_subpackages @@ -73,11 +74,8 @@ cp %{SOURCE1} . %check %pyunittest -v -%post -%python_install_alternative bottle.py bottle - -%postun -%python_uninstall_alternative bottle.py bottle +%pre +%python_libalternatives_reset_alternative bottle.py bottle %files %{python_files} %license LICENSE From eb7e59bcfb313b86e2097083420124627610a0d0edca069fc480e04af624033d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 17 Jun 2025 08:46:47 +0000 Subject: [PATCH 3/3] fix libalternatives call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=63 --- python-bottle.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-bottle.spec b/python-bottle.spec index ea158ca..dc24ee5 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -75,7 +75,7 @@ cp %{SOURCE1} . %pyunittest -v %pre -%python_libalternatives_reset_alternative bottle.py bottle +%python_libalternatives_reset_alternative bottle.py %files %{python_files} %license LICENSE