Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
cbca512587 | |||
60fd785310 | |||
73d3ea3170 | |||
25e44016be | |||
d8f675b234 | |||
423a5ddd7d | |||
8269322eef | |||
290506a645 |
BIN
bottle-0.13.3.tar.gz
(Stored with Git LFS)
BIN
bottle-0.13.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
bottle-0.13.4.tar.gz
Normal file
3
bottle-0.13.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:787e78327e12b227938de02248333d788cfe45987edca735f8f88e03472c3f47
|
||||
size 98717
|
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 14:01:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Make the libalternatives transition conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 06:52:35 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Do not put bottle.py in /usr/bin, bsc#1245790
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 08:43:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 15 12:06:40 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- 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 <benoit.monin@gmx.fr>
|
||||
|
||||
|
@@ -16,9 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?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
|
||||
@@ -30,8 +35,13 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -60,29 +70,35 @@ This subpackage contains the PDF documentation for %{name}.
|
||||
%prep
|
||||
%autosetup -p1 -n bottle-%{version}
|
||||
cp %{SOURCE1} .
|
||||
chmod 644 bottle.py
|
||||
sed -i '1{ /^#!/d }' bottle.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
rm -rf %{buildroot}%{_bindir}/bottle.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/bottle.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/bottle
|
||||
|
||||
%check
|
||||
%pyunittest -v
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative bottle.py
|
||||
%python_libalternatives_reset_alternative bottle
|
||||
|
||||
%post
|
||||
%python_install_alternative bottle.py bottle
|
||||
%python_install_alternative bottle
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative bottle.py bottle
|
||||
%python_uninstall_alternative bottle.py
|
||||
%python_uninstall_alternative 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__
|
||||
|
Reference in New Issue
Block a user