1 |
commit: 7f8afa355d54b7c5c3faf1a5332c7c94dc4db28a |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 12:52:31 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 12:53:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8afa35 |
7 |
|
8 |
dev-python/iocapture: python3_6 added |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/iocapture/iocapture-0.1.2-r1.ebuild | 30 ++++++++++++++++++++++++++ |
13 |
1 file changed, 30 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/iocapture/iocapture-0.1.2-r1.ebuild b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..dfbf4f71c8 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild |
20 |
@@ -0,0 +1,30 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id: 521a8c56754f34ba6918b8bc4426f0b679be2186 $ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Capture stdout,stderr easily" |
32 |
+HOMEPAGE="https://pypi.python.org/pypi/iocapture/" |
33 |
+SRC_URI="https://github.com/oinume/iocapture/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
37 |
+LICENSE="MIT" |
38 |
+IUSE="test" |
39 |
+ |
40 |
+RDEPEND="" |
41 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
42 |
+ test? ( |
43 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
44 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
45 |
+ ${RDEPEND} |
46 |
+ )" |
47 |
+ |
48 |
+python_test() { |
49 |
+ py.test || die "Tests fail with ${EPYTHON}" |
50 |
+} |