Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37633521
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-gunicorn

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname gunicorn

%def_with check

Name: python3-module-%oname
Version: 20.1.0
Release: alt2

Summary: WSGI HTTP Server for UNIX

License: Mit
Group: Development/Python3
Url: https://pypi.org/project/gunicorn/

Source: %name-%version.tar
Patch1: gunicorn_fix_eventlet_0.30.3+_breaking_changes.patch

BuildArch: noarch

Conflicts: python-module-%oname
Provides: %oname = %version-%release

BuildRequires(pre): rpm-build-python3 rpm-macros-sphinx3
BuildRequires: python3-module-sphinx
BuildRequires: python3-module-sphinx_rtd_theme

%if_with check
BuildRequires: python3-module-gevent
BuildRequires: python3-module-eventlet
BuildRequires: python3-module-coverage
BuildRequires: pytest3
BuildRequires: python3-module-pytest-cov
BuildRequires: python3-module-mock
%endif

%description
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.

%package docs
Summary: Documentation for gunicorn
Group: Development/Documentation
BuildArch: noarch

%description docs
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.

This package contains documentation for gunicorn.

%prep
%setup
%autopatch -p1

%prepare_sphinx3 docs
ln -s ../objects.inv docs/source/

%build
%python3_build

%install
%python3_install

# compibility

ln -s gunicorn %buildroot%_bindir/gunicorn.py3

export PYTHONPATH=%buildroot%python3_sitelibdir
%make -C docs html SPHINXBUILD=sphinx-build-3

%check
PYTHONPATH=$(pwd) py.test3

%files
%doc LICENSE NOTICE THANKS *.rst
%_bindir/gunicorn
%_bindir/gunicorn.py3
%python3_sitelibdir/*

%files docs
%doc docs/build/html examples

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin