1 |
commit: 6f1701df906ce878421ca05934a4f66aad23ecfe |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 29 09:34:33 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 29 18:49:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1701df |
7 |
|
8 |
dev-python/capturer: Version Bump and Py3.6 support |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/capturer/Manifest | 1 + |
14 |
dev-python/capturer/capturer-2.3.ebuild | 33 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/capturer/Manifest b/dev-python/capturer/Manifest |
18 |
index 02c9a8e41d0..a6af0800cc0 100644 |
19 |
--- a/dev-python/capturer/Manifest |
20 |
+++ b/dev-python/capturer/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST capturer-2.1.1.tar.gz 17404 SHA256 6d892baca28c32ba912d96dfc5d40972090437d7d8d1738453969a0700a272e4 SHA512 44442da3cfffaff0b5bf4ec71c189d8a5f3436d5e13f2b20a3c26ff02f740144cabf7c7de7a2dd606f056a262f71d7092cdb677062e2ea912f542da2011f00f7 WHIRLPOOL b50ccc40be42508255390bcd0a52e610ffcc9ce7d59a39c426937e81d85e3c1c009b4f0ddc057a44e0b591d54d0c55e70c35740f095f514313b3bd3f414d15b5 |
23 |
DIST capturer-2.1.tar.gz 17380 SHA256 6837c34651d50615e20281a1cc73a2b363bb7b7c9451003d08ea481a58a6bbb8 SHA512 30325a4908b63cdc63439fe2dab360f37db1f335d44ba10cf03294513cf2ffd6688843659d16b6c96bca44440fbbf607b8b20c5031ee99b8973a26460e37ff72 WHIRLPOOL 47a3f37e200c4c7100baba4acc0dd3bf443e634b4d85d25e50e09a7db28477966a0247c85e0365d0b53d74c5247d4d0fcfc455ca77e5d0c743f410e61d6c588f |
24 |
+DIST capturer-2.3.tar.gz 18380 SHA256 3e4a1edbe96275e33bdf5836fe5c244202bc7acbc675dce73b0f082240cacb69 SHA512 267c6238ab143894f3d74002334b99e3d1a59a3bf30f5ad04d6f1a81c9439b1369fe161859f86924280e3b9e47536e53a0a80045acda9ae471ded7d751e01470 WHIRLPOOL 59d84da0b34740381ff138d8179a75f025b3ecb2714ff1255a4cef294d8ec42fea81fd02d392874d0b09bd1d0ed00186fbb9db1e7a431c7a4d5d4ebdabbc8a38 |
25 |
|
26 |
diff --git a/dev-python/capturer/capturer-2.3.ebuild b/dev-python/capturer/capturer-2.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..52d6f3a24dc |
29 |
--- /dev/null |
30 |
+++ b/dev-python/capturer/capturer-2.3.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Easily capture stdout/stderr of the current process and subprocesses" |
42 |
+HOMEPAGE="https://capturer.readthedocs.org/ https://pypi.python.org/pypi/capturer https://github.com/xolox/python-capturer" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/humanfriendly-2.1[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
56 |
+" |
57 |
+ |
58 |
+# Test fails only ebuild, but works manually |
59 |
+# Can't find out what it is |
60 |
+RESTRICT=test |
61 |
+ |
62 |
+python_test() { |
63 |
+ esetup.py test |
64 |
+} |