mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/pytest-sanic: new package
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-python/pytest-sanic/Manifest
Normal file
1
dev-python/pytest-sanic/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-sanic-1.6.0.tar.gz 30185 BLAKE2B 737779cfbf850d511194c843f8fa83cb6a69ac5fb46195b2f9f5537f581bd41626de5a4cca35acf942f3dbb0560020d762026255387c3a7bcd7f7afaec5de5ad SHA512 efd284fba92c202036f1c28e91e671954b948243bd847f092e72bcda5ac4d734dbe7007f9beb0d60aa353843731891680e3c3bc7d2bf211fc34f42f6e1a92373
|
||||
22
dev-python/pytest-sanic/metadata.xml
Normal file
22
dev-python/pytest-sanic/metadata.xml
Normal file
@@ -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>lssndrbarbieri@gmail.com</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>
|
||||
34
dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild
Normal file
34
dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user