Name: python-gunicorn Version: 21.0.1 Release: 1mamba Summary: WSGI HTTP Server for UNIX Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gunicorn.org/ Source: https://pypi.debian.net/gunicorn/gunicorn-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython310-devel BuildRequires: python3.10dist(packaging) 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 * Tue Jul 18 2023 Automatic Build System 21.0.1-1mamba - automatic version update by autodist * Sat Mar 27 2021 Automatic Build System 20.1.0-1mamba - automatic version update by autodist * Thu Feb 13 2020 Automatic Build System 20.0.4-1mamba - automatic version update by autodist * Mon Aug 06 2018 Automatic Build System 19.9.0-1mamba - automatic version update by autodist * Sat May 05 2018 Automatic Build System 19.8.1-1mamba - automatic version update by autodist * Tue May 01 2018 Automatic Build System 19.8.0-1mamba - automatic version update by autodist * Sat Jan 06 2018 Automatic Build System 19.7.1-1mamba - automatic version update by autodist * Sun Oct 12 2014 Automatic Build System 19.1.1-1mamba - automatic update by autodist * Sun Aug 10 2014 Silvan Calarco 19.1.0-1mamba - package created using the webbuild interface