- Update to version 0.13.4:

*
- Run testsuite
- BuildRequire python-distribute instead of python-setuptools
- Package examples, LICENSE, NOTICE, README.rst, THANKS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=11
This commit is contained in:
Sascha Peilicke 2011-09-23 13:00:33 +00:00 committed by Git OBS Bridge
parent 60b5165aa8
commit 751adc33a9
4 changed files with 38 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6241134a7257efb4d566406db1f9df022507f750c174c601ee4287029b4c08d
size 281520

3
gunicorn-0.13.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e653e90547506c58f293b00ab78caf42829812ff6884a88145e1e0b61eee7d11
size 283003

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Sep 23 12:58:37 UTC 2011 - saschpe@suse.de
- Update to version 0.13.4:
*
- Run testsuite
- BuildRequire python-distribute instead of python-setuptools
- Package examples, LICENSE, NOTICE, README.rst, THANKS
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 23 11:49:59 UTC 2011 - suse@ammler.ch Fri Sep 23 11:49:59 UTC 2011 - suse@ammler.ch

View File

@ -11,30 +11,29 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%define mod gunicorn
Name: python-gunicorn Name: python-gunicorn
Version: 0.13.3 Version: 0.13.4
Release: 1 Release: 0
License: MIT Url: http://gunicorn.org
Summary: WSGI HTTP Server for UNIX Summary: WSGI HTTP Server for UNIX
Group: Productivity/Networking/Web/Servers License: MIT
Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.gz Group: Development/Languages/Python
BuildRequires: python-base Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1120 BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-nose
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
Url: http://gunicorn.org %endif
Provides: %{mod} = %{version} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%description %description
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork
@ -43,7 +42,6 @@ compatible with various web frameworks, simply implemented, light on server
resource usage, and fairly speedy. resource usage, and fairly speedy.
%package doc %package doc
License: MIT
Summary: Documentation for %{mod} Summary: Documentation for %{mod}
Group: Documentation/Other Group: Documentation/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -52,28 +50,25 @@ Requires: %{name} = %{version}
This package contains Gunicorn documentation in reST and HTML formats. This package contains Gunicorn documentation in reST and HTML formats.
%prep %prep
%setup -q -n %{mod}-%{version} %setup -q -n gunicorn-%{version}
%build %build
python setup.py build python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean %check
rm -rf %{buildroot} python setup.py test
%files -f INSTALLED_FILES %files
%defattr(-,root,root) %defattr(-,root,root,-)
%dir %{python_sitelib}/gunicorn %doc LICENSE NOTICE README.rst THANKS
%dir %{python_sitelib}/gunicorn/app %{_bindir}/gunicorn*
%dir %{python_sitelib}/gunicorn/http %{python_sitelib}/*
%dir %{python_sitelib}/gunicorn/management
%dir %{python_sitelib}/gunicorn/management/commands
%dir %{python_sitelib}/gunicorn/workers
%files doc %files doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc doc %doc doc/htdocs examples
%changelog %changelog