1 |
commit: 171cae7b40eaa94c32dbbf66384283eae1f0d3d8 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 16:26:35 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 17:03:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=171cae7b |
7 |
|
8 |
dev-python/capturer: bump to 3.0, add PyPy3+Py3.9 and doc |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/capturer/Manifest | 1 + |
14 |
dev-python/capturer/capturer-3.0.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/capturer/Manifest b/dev-python/capturer/Manifest |
18 |
index a875a3e6b22..abfb134621b 100644 |
19 |
--- a/dev-python/capturer/Manifest |
20 |
+++ b/dev-python/capturer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST capturer-2.4.tar.gz 16963 BLAKE2B 329e388059a033993cf2ac3744a8df273beea0239f3696d19aece57767b0b5cd3397fa095f860c4f00ef24e8cd6bf2e58aab4158a86cf8c0c09c89d2065de0da SHA512 d85614b0424ab8817df9475ac0d230d7151289a3353a3c043a7fa89dac0528265a4dee535cac9ad0a3c2fbb0cac18afa69cd0a405b1becab55f9a6be13df0c46 |
23 |
+DIST capturer-3.0.tar.gz 18146 BLAKE2B 345313fa9e58c4e0121c795bd99606f99e46459215ed239da56586da8f8ffab35d97f0bf655258abe9cc45d4abaf7cb0ad2e76054d8c1781be2531ca01b04381 SHA512 3c83c0eade27380304347bdc93df392b2cb84c084e50693993dcca5fd572b8f92d31de43b4a2ddd0a0e8c7eb097629127e86a4860918c507d13b0e2979a04098 |
24 |
|
25 |
diff --git a/dev-python/capturer/capturer-3.0.ebuild b/dev-python/capturer/capturer-3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..871d5abc7b6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/capturer/capturer-3.0.ebuild |
30 |
@@ -0,0 +1,27 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Easily capture stdout/stderr of the current process and subprocesses" |
41 |
+HOMEPAGE="https://capturer.readthedocs.io/en/latest/ |
42 |
+ https://pypi.org/project/capturer/ |
43 |
+ https://github.com/xolox/python-capturer" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+SLOT="0" |
47 |
+LICENSE="MIT" |
48 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
49 |
+ |
50 |
+RDEPEND="dev-python/humanfriendly[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+distutils_enable_sphinx docs |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+python_test() { |
56 |
+ pytest -vv ${PN}/tests.py || die "Tests fail with ${EPYTHON}" |
57 |
+} |