commit: f35e3e5388825acd84b8f5ecdca7685e4942c1ed Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Jun 27 23:02:36 2021 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Jun 27 23:02:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f35e3e53
dev-python/sanic: add 21.6.0 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/sanic/Manifest | 1 + dev-python/sanic/sanic-21.6.0.ebuild | 55 ++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/sanic/Manifest b/dev-python/sanic/Manifest index a7ceefe58..0a0fb36f3 100644 --- a/dev-python/sanic/Manifest +++ b/dev-python/sanic/Manifest @@ -1 +1,2 @@ DIST sanic-21.3.4.tar.gz 234229 BLAKE2B a24941777099d5a09dd020a7f0a9fe39ae0ab89436fe27e2e4bbb418b684583002b9249e46438787d07bae6114ee1a0fd27e24e4e29983e8499f766f238e07d9 SHA512 15596f37b5389073d6a2b5e2d2bf5871d9a31ba29bf4e2eac9fb91df29e76035b02f7d892bb8edd5ffde75f05acdcebdb2c8f5ddf7224f40c5391c8f058f5c97 +DIST sanic-21.6.0.tar.gz 243159 BLAKE2B 2b0dfe59493a709be0059c06400723f7405ae032853bca25356e4c4296ff1bc512d9f885c77f48161de06917676bcef248952a7dd2751857e2f36a96389b2cf1 SHA512 fa6214e24d85cb2c5b059b7df9c818d58232f13de6e188c222f1ae441ece78167437464714097d1cab0432b2ca68b9f3ffd62f14c98dabfa8127cea29685b85b diff --git a/dev-python/sanic/sanic-21.6.0.ebuild b/dev-python/sanic/sanic-21.6.0.ebuild new file mode 100644 index 000000000..aea862df5 --- /dev/null +++ b/dev-python/sanic/sanic-21.6.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast." +HOMEPAGE=" + https://pypi.python.org/pypi/sanic + https://github.com/huge-success/sanic +" +SRC_URI="https://github.com/huge-success/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}] + >=dev-python/httptools-0.0.10[${PYTHON_USEDEP}] + >=dev-python/multidict-5.0[${PYTHON_USEDEP}] + >=dev-python/sanic-routing-0.0.10[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + >=dev-python/websockets-8.1[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/beautifulsoup[${PYTHON_USEDEP}] + >=dev-python/httpcore-0.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-5.2.1[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/pytest-sanic[${PYTHON_USEDEP}] + dev-python/sanic-testing[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/docutils \ + dev-python/pygments \ + dev-python/sphinx_rtd_theme \ + dev-python/recommonmark \ + www-servers/gunicorn + +#python_test() { +# pytest -vv --deselect tests/test_unix_socket.py::test_zero_downtime tests/test_keep_alive_timeout.py::test_keep_alive_client_timeout || die +#}