dev-python/sanic-testing: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri committed 2021-05-27 16:48:17 +02:00
1 parent 598bfa396f
commit d191f47a4d
3 files changed
+49

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST sanic-testing-0.4.0.tar.gz 7859 BLAKE2B 6f2473ed5f0ed4465816a78ebec45ec1624ce660508dde988fb1642d70ab2fd2992052efaae561fc9c845654f8862e43da2685884df19937836f6a82b3aeaac4 SHA512 25ac5421428d930dcb02fe88c046f75d568650cc262ae94bbea55303c58c1668a940176dcfcb8b2c9cf44f174c1dc47549d12c516db843cb86fc925302595057
+14
View File
@@ -0,0 +1,14 @@
<?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">
This package is meant to be the core testing utility and clients for testing Sanic applications. It is mainly derived from sanic.testing which has (or will be) removed from the main Sanic repository in the future.
</longdescription>
<upstream>
<remote-id type="github">sanic-org/sanic</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Test clients for Sanic"
HOMEPAGE="
https://pypi.python.org/pypi/sanic-testing
https://github.com/sanic-org/sanic-testing
"
SRC_URI="https://github.com/sanic-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/httpx-0.18[${PYTHON_USEDEP}]
>=dev-python/websockets-8.1[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
>=dev-python/sanic-21.3[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest