- 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:
parent
60b5165aa8
commit
751adc33a9
@ -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
3
gunicorn-0.13.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e653e90547506c58f293b00ab78caf42829812ff6884a88145e1e0b61eee7d11
|
||||
size 283003
|
@ -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
|
||||
|
||||
|
@ -11,30 +11,29 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
#
|
||||
# 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
|
||||
Version: 0.13.3
|
||||
Release: 1
|
||||
License: MIT
|
||||
Version: 0.13.4
|
||||
Release: 0
|
||||
Url: http://gunicorn.org
|
||||
Summary: WSGI HTTP Server for UNIX
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.gz
|
||||
BuildRequires: python-base
|
||||
BuildRequires: python-setuptools
|
||||
%if 0%{?suse_version} > 1120
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-nose
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Url: http://gunicorn.org
|
||||
Provides: %{mod} = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%py_requires
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%package doc
|
||||
License: MIT
|
||||
Summary: Documentation for %{mod}
|
||||
Group: Documentation/Other
|
||||
Requires: %{name} = %{version}
|
||||
@ -52,28 +50,25 @@ Requires: %{name} = %{version}
|
||||
This package contains Gunicorn documentation in reST and HTML formats.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod}-%{version}
|
||||
%setup -q -n gunicorn-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitelib}/gunicorn
|
||||
%dir %{python_sitelib}/gunicorn/app
|
||||
%dir %{python_sitelib}/gunicorn/http
|
||||
%dir %{python_sitelib}/gunicorn/management
|
||||
%dir %{python_sitelib}/gunicorn/management/commands
|
||||
%dir %{python_sitelib}/gunicorn/workers
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE NOTICE README.rst THANKS
|
||||
%{_bindir}/gunicorn*
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc
|
||||
%doc doc/htdocs examples
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user