From ce76f618282e6338be6f9e03417253b78ed1e570 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 30 Dec 2019 21:58:35 +0100 Subject: [PATCH] - updated to 0.12.18 --- python-bottle.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/python-bottle.spec b/python-bottle.spec index c9fe3bd..63b1dc0 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -3,27 +3,26 @@ # Conditional build: %bcond_without python2 # build python 2 module %bcond_without python3 # build python 3 module -%bcond_with tests # unit/functional tests [a few fail as of 0.12.13] +%bcond_with tests # unit/functional tests [one fails on py3 as of 0.12.18, probably network is used] # %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.12.13 -Release: 2 +Version: 0.12.18 +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: d2fe1b48c1d49217e78bf326b1cad437 +# Source0-md5: a00b7e9a1ab3be7c19c1235fea2ccb40 URL: http://bottlepy.org/ %if %{with python2} BuildRequires: python-modules >= 1:2.5 BuildRequires: python-setuptools %endif %if %{with python3} -#BuildRequires: python3-2to3 >= 1:3.2 BuildRequires: python3-devel >= 1:3.2 BuildRequires: python3-modules >= 1:3.2 BuildRequires: python3-setuptools @@ -78,7 +77,7 @@ standardowej biblioteki Pythona. %py_build %if %{with tests} -%{__python} -m unittest discover -s test +%{__python} test/testall.py %endif %endif @@ -86,7 +85,7 @@ standardowej biblioteki Pythona. %py3_build %if %{with tests} -%{__python3} -m unittest discover -s test +%{__python3} test/testall.py %endif %endif @@ -117,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT %doc README.rst %attr(755,root,root) %{_bindir}/bottle-2 %{py_sitescriptdir}/bottle.py[co] -%{py_sitescriptdir}/bottle-%{version}-*.egg-info +%{py_sitescriptdir}/bottle-%{version}-py*.egg-info %endif %if %{with python3} @@ -128,5 +127,5 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/bottle-3 %{py3_sitescriptdir}/bottle.py %{py3_sitescriptdir}/__pycache__/bottle.cpython-*.py[co] -%{py3_sitescriptdir}/bottle-%{version}-*.egg-info +%{py3_sitescriptdir}/bottle-%{version}-py*.egg-info %endif -- 2.44.0