Accepting request 483405 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/483405 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bottle?expand=0&rev=12
This commit is contained in:
commit
c9374ac4a0
3
bottle-0.12.13.tar.gz
Normal file
3
bottle-0.12.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355
|
||||||
|
size 70870
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e3ea2191f06ca51af45bf6ca41ed2d1b2d809ceda0876466879fe205be7b2073
|
|
||||||
size 69375
|
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:10d86c8a74040a2120d91970909751a2cc76e6e6b172fd5507920bb206343595
|
oid sha256:7d6780ede6a151443b4c25a20fe601c26b7dc8aff2ec65c13ce929647b6e5260
|
||||||
size 633122
|
size 437934
|
||||||
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 29 15:24:50 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- update pdf doc file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 23 18:09:54 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for singlespec
|
||||||
|
- use automation for docs
|
||||||
|
- update to 0.12.13
|
||||||
|
* bugfix release
|
||||||
|
* fixed TypeError on unicode WSGI headers
|
||||||
|
* fixed get_header on FileUpload
|
||||||
|
* fixed crlf header injection (CVE-2016-9964)
|
||||||
|
* switch to setuptools for build
|
||||||
|
* allow multiline dict/list/set comprehensions in templates
|
||||||
|
* allow unicode keys in ConfigDict
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 26 18:21:13 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 0.12.8: no upstream changelog
|
||||||
|
- update bottle-docs.pdf
|
||||||
|
- point the source URL of the pdf to the project homepage
|
||||||
|
- create of separate subpackage for the pdf documentation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 20 12:20:37 UTC 2014 - toddrme2178@gmail.com
|
Tue May 20 12:20:37 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bottle
|
# spec file for package python-bottle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,22 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-bottle
|
Name: python-bottle
|
||||||
Version: 0.12.7
|
Version: 0.12.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://bottlepy.org/
|
Url: http://bottlepy.org/
|
||||||
Summary: Fast and simple WSGI-framework for small web-applications
|
Summary: Fast and simple WSGI-framework for small web-applications
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/b/bottle/bottle-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/b/bottle/bottle-%{version}.tar.gz
|
||||||
Source1: bottle-docs.pdf
|
Source1: http://bottlepy.org/docs/0.12/bottle-docs.pdf
|
||||||
BuildRequires: python-base
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bottle is a fast and simple micro-framework for small web-applications. It
|
Bottle is a fast and simple micro-framework for small web-applications. It
|
||||||
@ -40,21 +40,43 @@ 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
|
template engines. All in a single file and with no dependencies other than the
|
||||||
Python Standard Library.
|
Python Standard Library.
|
||||||
|
|
||||||
|
%package -n %{name}-doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
Group: Documentation/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Provides: %{python_module bottle-doc = %{version}}
|
||||||
|
|
||||||
|
%description -n %{name}-doc
|
||||||
|
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.
|
||||||
|
|
||||||
|
This subpackage contains the PDF documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n bottle-%{version}
|
%setup -q -n bottle-%{version}
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_clone %{buildroot}%{_bindir}/bottle.py
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst bottle-docs.pdf
|
%doc README.rst
|
||||||
%{_bindir}/bottle.py
|
%{_bindir}/bottle.py-%{python_bin_suffix}
|
||||||
|
%python3_only %{_bindir}/bottle.py
|
||||||
%{python_sitelib}/bottle.py*
|
%{python_sitelib}/bottle.py*
|
||||||
%{python_sitelib}/bottle-%{version}-py%{py_ver}.egg-info
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
|
%{python_sitelib}/bottle-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
%files -n %{name}-doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc bottle-docs.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user