# Copyright 2016 Arnaud Lefebvre # Distributed under the terms of the GNU General Public License v2 require alternatives pypi setup-py [ import=setuptools test=pytest blacklist="2.7" ] SUMMARY="gunicorn is a WSGI HTTP Server for UNIX, fast clients and sleepy applications" HOMEPAGE="http://www.gunicorn.org/" LICENCES="MIT" SLOT="0" PLATFORMS="~amd64 ~armv8 ~x86" # Tests are failing with sandbox RESTRICT="test" MYOPTIONS=" ( providers: eventlet gevent tornado gthread gaiohttp ) [[ *description = [ supported asynchrone workers ] ]] " DEPENDENCIES=" run: providers:eventlet? ( dev-python/eventlet[>=0.24.1][python_abis:*(-)?] ) providers:gevent? ( dev-python/gevent[>=20.6.2][python_abis:*(-)?] ) providers:tornado? ( dev-python/tornado[>=5.0.2][python_abis:*(-)?] ) " install_one_multibuild(){ setup-py_install_one_multibuild alternatives_for \ ${PN}_python ${MULTIBUILD_TARGET} ${MULTIBUILD_TARGET} \ /usr/$(exhost --target)/bin/${PN} ${PN}${MULTIBUILD_TARGET} }