Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-trio/
Date: Sun, 29 Mar 2020 13:21:37
Message-Id: 1585474143.edaa10335b543e4785f75ba1c1fc39fd7f4f14e7.andrewammerlaan@gentoo
1 commit: edaa10335b543e4785f75ba1c1fc39fd7f4f14e7
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 29 09:24:47 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun Mar 29 09:29:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edaa1033
7
8 dev-python/pytest-trio: new package
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/pytest-trio/Manifest | 1 +
14 dev-python/pytest-trio/metadata.xml | 12 ++++++++
15 dev-python/pytest-trio/pytest-trio-0.5.2.ebuild | 37 +++++++++++++++++++++++++
16 3 files changed, 50 insertions(+)
17
18 diff --git a/dev-python/pytest-trio/Manifest b/dev-python/pytest-trio/Manifest
19 new file mode 100644
20 index 0000000..f6eebcc
21 --- /dev/null
22 +++ b/dev-python/pytest-trio/Manifest
23 @@ -0,0 +1 @@
24 +DIST pytest-trio-0.5.2.tar.gz 35372 BLAKE2B 158e59d81fab6b56e37e92e28f8fdabb5d330dfc57b7774dcde4156165e3f5336647c9382268b50a5f70806449107ab2c7ec6d1a34f6bc773825b4fbb50b03a1 SHA512 0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5
25
26 diff --git a/dev-python/pytest-trio/metadata.xml b/dev-python/pytest-trio/metadata.xml
27 new file mode 100644
28 index 0000000..ada609b
29 --- /dev/null
30 +++ b/dev-python/pytest-trio/metadata.xml
31 @@ -0,0 +1,12 @@
32 +<?xml version='1.0' encoding='UTF-8'?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>lssndrbarbieri@×××××.com</email>
37 + <name>Alessandro Barbieri</name>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="github">python-trio/pytest-trio</remote-id>
41 + <remote-id type="pypi">pytest-trio</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
46 new file mode 100644
47 index 0000000..b35afa2
48 --- /dev/null
49 +++ b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
50 @@ -0,0 +1,37 @@
51 +# Copyright 1999-2020 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI="7"
55 +
56 +PYTHON_COMPAT=( python3_6 )
57 +
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="This is a pytest plugin to help you test projects that use Trio"
61 +HOMEPAGE="
62 + https://github.com/python-trio/pytest-trio
63 + https://pypi.org/project/pytest-trio
64 +"
65 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
66 +
67 +LICENSE="|| ( MIT Apache-2.0 )"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~x86"
70 +
71 +RDEPEND="
72 + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
73 + dev-python/outcome[${PYTHON_USEDEP}]
74 + >=dev-python/trio-0.11[${PYTHON_USEDEP}]
75 +"
76 +DEPEND="
77 + ${RDEPEND}
78 + test? (
79 + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
80 + !~dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
81 + !~dev-python/pytest-3.7.1[${PYTHON_USEDEP}]
82 + dev-python/trio-asyncio[${PYTHON_USEDEP}]
83 + )
84 +"
85 +
86 +distutils_enable_tests pytest
87 +distutils_enable_sphinx docs/source