[packages/python-bottle] - updated to 0.13.4
qboosh
qboosh at pld-linux.org
Wed Nov 5 21:54:12 CET 2025
commit 9b1e94fe282f59375855b4921366f3b83fbc29f5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 5 21:54:13 2025 +0100
- updated to 0.13.4
python-bottle.spec | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/python-bottle.spec b/python-bottle.spec
index b71cc50..ad5c430 100644
--- a/python-bottle.spec
+++ b/python-bottle.spec
@@ -2,39 +2,39 @@
# Conditional build:
%bcond_without python2 # build python 2 module
%bcond_without python3 # build python 3 module
-%bcond_with tests # unit/functional tests [probably network is used]
+%bcond_without tests # unit/functional tests
#
%define module bottle
#
Summary: Fast and simple WSGI-framework for small web-applications
Summary(pl.UTF-8): Szybki i prosty szkielet WSGI dla małych aplikacji sieciowych
Name: python-%{module}
-Version: 0.13.3
+Version: 0.13.4
Release: 1
License: MIT
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/bottle/
Source0: https://files.pythonhosted.org/packages/source/b/bottle/%{module}-%{version}.tar.gz
-# Source0-md5: 76d42b87250e5eb3cd24946bfe8f1b0f
-URL: http://bottlepy.org/
+# Source0-md5: a8dd2700b477b86a38510a2a31d07c78
+URL: https://bottlepy.org/
%if %{with python2}
-BuildRequires: python-modules >= 1:2.5
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
%if %{with tests}
BuildRequires: python-nose
%endif
%endif
%if %{with python3}
-BuildRequires: python3-devel >= 1:3.2
-BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-devel >= 1:3.6
+BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-setuptools
%if %{with tests}
-BuildRequires: python3-nose
+BuildRequires: python3-pynose
%endif
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.5
+Requires: python-modules >= 1:2.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,7 +57,7 @@ standardowej biblioteki Pythona.
Summary: Fast and simple WSGI-framework for small web-applications
Summary(pl.UTF-8): Szybki i prosty szkielet WSGI dla małych aplikacji sieciowych
Group: Development/Languages/Python
-Requires: python3-modules
+Requires: python3-modules >= 1:3.6
%description -n python3-%{module}
Bottle is a fast and simple micro-framework for small
@@ -110,7 +110,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python3}
%py3_install
-rm $RPM_BUILD_ROOT%{_bindir}/bottle
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/bottle
%{__mv} $RPM_BUILD_ROOT%{_bindir}/{bottle.py,bottle-3}
ln -s bootle-3 $RPM_BUILD_ROOT%{_bindir}/bottle
%endif
@@ -131,8 +131,8 @@ rm -rf $RPM_BUILD_ROOT
%files -n python3-%{module}
%defattr(644,root,root,755)
%doc LICENSE README.rst
-%attr(755,root,root) %{_bindir}/bottle
%attr(755,root,root) %{_bindir}/bottle-3
+%{_bindir}/bottle
%{py3_sitescriptdir}/bottle.py
%{py3_sitescriptdir}/__pycache__/bottle.cpython-*.py[co]
%{py3_sitescriptdir}/bottle-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-bottle.git/commitdiff/9b1e94fe282f59375855b4921366f3b83fbc29f5
More information about the pld-cvs-commit
mailing list