commit:     edaa10335b543e4785f75ba1c1fc39fd7f4f14e7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 29 09:24:47 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 29 09:29:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edaa1033

dev-python/pytest-trio: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pytest-trio/Manifest                 |  1 +
 dev-python/pytest-trio/metadata.xml             | 12 ++++++++
 dev-python/pytest-trio/pytest-trio-0.5.2.ebuild | 37 +++++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-python/pytest-trio/Manifest b/dev-python/pytest-trio/Manifest
new file mode 100644
index 0000000..f6eebcc
--- /dev/null
+++ b/dev-python/pytest-trio/Manifest
@@ -0,0 +1 @@
+DIST pytest-trio-0.5.2.tar.gz 35372 BLAKE2B 
158e59d81fab6b56e37e92e28f8fdabb5d330dfc57b7774dcde4156165e3f5336647c9382268b50a5f70806449107ab2c7ec6d1a34f6bc773825b4fbb50b03a1
 SHA512 
0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5

diff --git a/dev-python/pytest-trio/metadata.xml 
b/dev-python/pytest-trio/metadata.xml
new file mode 100644
index 0000000..ada609b
--- /dev/null
+++ b/dev-python/pytest-trio/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+  <upstream>
+    <remote-id type="github">python-trio/pytest-trio</remote-id>
+    <remote-id type="pypi">pytest-trio</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild 
b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
new file mode 100644
index 0000000..b35afa2
--- /dev/null
+++ b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="This is a pytest plugin to help you test projects that use Trio"
+HOMEPAGE="
+       https://github.com/python-trio/pytest-trio
+       https://pypi.org/project/pytest-trio
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
+       dev-python/outcome[${PYTHON_USEDEP}]
+       >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
+               !~dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
+               !~dev-python/pytest-3.7.1[${PYTHON_USEDEP}]
+               dev-python/trio-asyncio[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source

Reply via email to