[python-bottle] upstream release 0.11.6
Rahul Sundaram
sundaram at fedoraproject.org
Tue May 14 23:25:54 UTC 2013
commit 976d948be3e1c4002c254da6e47d678d2670ac9e
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Tue May 14 19:25:28 2013 -0400
upstream release 0.11.6
- add python3 subpackage. resolves rhbz#949240
- spec file patch from Haïkel Guémar <hguemar at fedoraproject.org>
.gitignore | 1 +
python-bottle.spec | 42 +++++++++++++++++++++++++++++++++++++++---
sources | 2 +-
3 files changed, 41 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a51f9c9..eaea954 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/bottle-0.9.5.tar.gz
/bottle-0.10.7.tar.gz
+/bottle-0.11.6.tar.gz
diff --git a/python-bottle.spec b/python-bottle.spec
index 99ada7f..04a5e9f 100644
--- a/python-bottle.spec
+++ b/python-bottle.spec
@@ -1,7 +1,8 @@
%global srcname bottle
+
Name: python-%{srcname}
-Version: 0.10.7
-Release: 3%{?dist}
+Version: 0.11.6
+Release: 1%{?dist}
Summary: Fast and simple WSGI-framework for small web-applications
Group: Development/Languages
@@ -13,6 +14,9 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
%description
Bottle is a fast and simple micro-framework for small web-applications.
It offers request dispatching (Routes) with URL parameter support, Templates,
@@ -20,22 +24,54 @@ a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and
template engines. All in a single file and with no dependencies other than the
Python Standard Library.
+%package -n python3-%{srcname}
+Summary: Fast and simple WSGI-framework for small web-applications
+
+%description -n python3-%{srcname}
+Bottle is a fast and simple micro-framework for small web-applications.
+It offers request dispatching (Routes) with URL parameter support, Templates,
+a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and
+template engines. All in a single file and with no dependencies other than the
+Python Standard Library.
+
%prep
%setup -q -n %{srcname}-%{version}
sed -i '/^#!/d' bottle.py
+rm -rf %{py3dir}
+cp -a . %{py3dir}
+find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
+
%build
%{__python} setup.py build
+pushd %{py3dir}
+%{__python3} setup.py build
+popd
+
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm %{buildroot}%{_bindir}/bottle.py
+pushd %{py3dir}
+%{__python3} setup.py install --skip-build --root %{buildroot}
+rm %{buildroot}%{_bindir}/bottle.py
+popd
+
%files
-%doc README.rst LICENSE.txt PKG-INFO
+%doc README.rst PKG-INFO
%{python_sitelib}/*
+%files -n python3-%{srcname}
+%doc README.rst PKG-INFO
+%{python3_sitelib}/*
+
%changelog
+* Tue Apr 23 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.11.6-1
+- upstream release 0.11.6
+- add python3 subpackage. resolves rhbz#949240
+- spec file patch from Haïkel Guémar <hguemar at fedoraproject.org>
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 0c53344..22660c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-37894c167ca8eb20251827ebdd8a4e6d bottle-0.10.7.tar.gz
+0bafdc4e13ea2b1a3bddf36b5af108c4 bottle-0.11.6.tar.gz
More information about the scm-commits
mailing list