commit: 69dd05e63464ed5b753374543cf0e7d4b268e409 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Mar 29 09:05:15 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Mar 29 09:29:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69dd05e6
dev-python/pytest-sanic: new package Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/pytest-sanic/Manifest | 1 + dev-python/pytest-sanic/metadata.xml | 22 +++++++++++++++ dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild | 34 +++++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest new file mode 100644 index 0000000..8993220 --- /dev/null +++ b/dev-python/pytest-sanic/Manifest @@ -0,0 +1 @@ +DIST pytest-sanic-1.6.0.tar.gz 30185 BLAKE2B 737779cfbf850d511194c843f8fa83cb6a69ac5fb46195b2f9f5537f581bd41626de5a4cca35acf942f3dbb0560020d762026255387c3a7bcd7f7afaec5de5ad SHA512 efd284fba92c202036f1c28e91e671954b948243bd847f092e72bcda5ac4d734dbe7007f9beb0d60aa353843731891680e3c3bc7d2bf211fc34f42f6e1a92373 diff --git a/dev-python/pytest-sanic/metadata.xml b/dev-python/pytest-sanic/metadata.xml new file mode 100644 index 0000000..cef4490 --- /dev/null +++ b/dev-python/pytest-sanic/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <longdescription lang="en"> +A pytest plugin for Sanic. It helps you to test your code asynchronously. + +This plugin provides: + + very easy testing with async coroutines + common and useful fixtures + asynchronous fixture support + test_client/sanic_client for Sanic application + test_server for Sanic application + </longdescription> + <upstream> + <remote-id type="github">yunstanford/pytest-sanic</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild new file mode 100644 index 0000000..2f4dd3a --- /dev/null +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="a Pytest Plugin for Sanic" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-sanic + https://github.com/yunstanford/pytest-sanic +" +SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/async_generator[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/sanic[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs
