Accepting request 53440 from home:babelworx:python
OBS-URL: https://build.opensuse.org/request/show/53440 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=1
This commit is contained in:
commit
5c574aa1dc
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
27
LICENSE
Normal file
27
LICENSE
Normal file
@ -0,0 +1,27 @@
|
||||
Licence
|
||||
|
||||
Code and documentation are available according to the MIT Licence:
|
||||
|
||||
Copyright (c) 2010, Marcel Hellkamp.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
The Bottle logo however is NOT covered by that licence. It is allowed to use the
|
||||
logo as a link to the bottle homepage or in direct context with the unmodified
|
||||
library. In all other cases please ask first.
|
3
bottle-0.8.5.tar.bz2
Normal file
3
bottle-0.8.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5b32f9aee6d6f61189484aa374c6dcdacc2f586d7c686b044c492efe76d6a34
|
||||
size 30163
|
3
bottle-docs.pdf
Normal file
3
bottle-docs.pdf
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:193b360beecb26c582bd3937b799344eb4818e914fe49085ffb177b852a91486
|
||||
size 482582
|
11
python-bottle.changes
Normal file
11
python-bottle.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 10:38:29 UTC 2010 - cfarrell@novell.com
|
||||
|
||||
- Added LICENSE and bottle-docs.pdf.
|
||||
- Removed dead symlink README
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 09:21:46 UTC 2010 - cfarrell@novell.com
|
||||
|
||||
- Initial build
|
||||
|
63
python-bottle.spec
Normal file
63
python-bottle.spec
Normal file
@ -0,0 +1,63 @@
|
||||
# norootforbuild
|
||||
|
||||
%if 0%{!?python_sitelib:1} || 0%{!?python_sitearch:1}
|
||||
%define python_sitelib %py_sitedir
|
||||
%define python_sitearch %py_sitedir
|
||||
%endif
|
||||
%define mod_name bottle
|
||||
|
||||
Summary: Fast and simple WSGI-framework for small web-applications
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.8.5
|
||||
Release: 0
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://bottle.paws.de/
|
||||
Source0: %{mod_name}-%{version}.tar.bz2
|
||||
Source1: %{mod_name}-docs.pdf
|
||||
Source2: LICENSE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %suse_version >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%py_requires
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} >= 1110
|
||||
Requires: python-base >= %{py_ver}
|
||||
%else
|
||||
Requires: python >= %{py_ver}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Bottle is a fast and simple micro-framework for small web-applications. It
|
||||
offers request dispatching (Routes) with url parameter support, Templates, a
|
||||
build-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.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Marcell Hellkamp <marc at gsites de>
|
||||
|
||||
%prep
|
||||
%setup -q -n "%{mod_name}-%{version}"
|
||||
cp %{S:1} .
|
||||
cp %{S:2} .
|
||||
%build
|
||||
%__python ./setup.py build
|
||||
rm README # dead symlink as README.md does not exist
|
||||
%install
|
||||
%__python ./setup.py install \
|
||||
--prefix="%{_prefix}" \
|
||||
--root="%{buildroot}" \
|
||||
--record-rpm=files.lst
|
||||
|
||||
%clean
|
||||
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
|
||||
|
||||
%files -f files.lst
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE bottle-docs.pdf
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user