automatic version update by autodist [release 20.1.0-1mamba;Sat Mar 27 2021]
This commit is contained in:
parent
46fe97fa26
commit
a07a374ff9
@ -1,2 +1,6 @@
|
|||||||
# python-gunicorn
|
# python-gunicorn
|
||||||
|
|
||||||
|
WSGI HTTP Server for UNIX.
|
||||||
|
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project.
|
||||||
|
The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resource usage, and fairly speedy.
|
||||||
|
|
||||||
|
84
python-gunicorn.spec
Normal file
84
python-gunicorn.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
Name: python-gunicorn
|
||||||
|
Version: 20.1.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: WSGI HTTP Server for UNIX
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://gunicorn.org/
|
||||||
|
Source: https://pypi.debian.net/gunicorn/gunicorn-%{version}.tar.gz
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython310-devel
|
||||||
|
BuildRequires: python3.10dist(setuptools)
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project.
|
||||||
|
The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resource usage, and fairly speedy.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%if "%{with_pyver}" == "3"
|
||||||
|
%define py_requires_append \
|
||||||
|
Provides: gunicorn \
|
||||||
|
Obsoletes: gunicorn <= 20.1.0-1mamba
|
||||||
|
%endif
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n gunicorn-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
sed -i "/_gaiohttp.pyc/d;/_gaiohttp.pyo/d" %{name}.filelist
|
||||||
|
sed -i "/_gaiohttp.pyc/d;/_gaiohttp.pyo/d" %{name}.filelist
|
||||||
|
|
||||||
|
ln -s gunicorn %{buildroot}%{_bindir}/run_gunicorn
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/run_gunicorn
|
||||||
|
%dir %{python_sitearch}/gunicorn-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/gunicorn-%{version}-py*.egg-info/*
|
||||||
|
%doc LICENSE THANKS
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 20.1.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 20.0.4-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 19.9.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat May 05 2018 Automatic Build System <autodist@mambasoft.it> 19.8.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 19.8.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 19.7.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 19.1.1-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sun Aug 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 19.1.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user