commit:     d191f47a4dd7b3083f7624cb3b75651be75cfc75
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May 27 14:28:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 27 14:48:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d191f47a

dev-python/sanic-testing: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/sanic-testing/Manifest                  |  1 +
 dev-python/sanic-testing/metadata.xml              | 14 +++++++++
 .../sanic-testing/sanic-testing-0.4.0.ebuild       | 34 ++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/dev-python/sanic-testing/Manifest 
b/dev-python/sanic-testing/Manifest
new file mode 100644
index 000000000..ac83ad13e
--- /dev/null
+++ b/dev-python/sanic-testing/Manifest
@@ -0,0 +1 @@
+DIST sanic-testing-0.4.0.tar.gz 7859 BLAKE2B 
6f2473ed5f0ed4465816a78ebec45ec1624ce660508dde988fb1642d70ab2fd2992052efaae561fc9c845654f8862e43da2685884df19937836f6a82b3aeaac4
 SHA512 
25ac5421428d930dcb02fe88c046f75d568650cc262ae94bbea55303c58c1668a940176dcfcb8b2c9cf44f174c1dc47549d12c516db843cb86fc925302595057

diff --git a/dev-python/sanic-testing/metadata.xml 
b/dev-python/sanic-testing/metadata.xml
new file mode 100644
index 000000000..d346b3131
--- /dev/null
+++ b/dev-python/sanic-testing/metadata.xml
@@ -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>[email protected]</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>

diff --git a/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild 
b/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild
new file mode 100644
index 000000000..68bf1194d
--- /dev/null
+++ b/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild
@@ -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

Reply via email to