1 |
commit: fef8f1c7a7af7394826752f34a585cfe037bb52d |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 10:52:23 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 11:24:29 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef8f1c7 |
7 |
|
8 |
dev-python/testrepository: Add python3.5 support |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
.../testrepository/testrepository-0.0.18-r2.ebuild | 42 ++++++++++++++++++++++ |
14 |
1 file changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/testrepository/testrepository-0.0.18-r2.ebuild b/dev-python/testrepository/testrepository-0.0.18-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..6cac013 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/testrepository/testrepository-0.0.18-r2.ebuild |
21 |
@@ -0,0 +1,42 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="A repository of test results" |
33 |
+HOMEPAGE="https://launchpad.net/testscenarios" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="Apache-2.0" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
39 |
+IUSE="test" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}] |
44 |
+ dev-python/fixtures[${PYTHON_USEDEP}]" |
45 |
+#bzr is listed but presumably req'd for a live repo test run |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ test? ( ${RDEPEND} |
50 |
+ dev-python/testresources[${PYTHON_USEDEP}] |
51 |
+ dev-python/testscenarios[${PYTHON_USEDEP}] |
52 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
53 |
+ )" |
54 |
+ |
55 |
+# Required for test phase |
56 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
57 |
+ |
58 |
+python_test() { |
59 |
+ # some errors appear to have crept in the suite undert py3 since addition. |
60 |
+ # Python2.7 now passes all. |
61 |
+ |
62 |
+ esetup.py testr --coverage |
63 |
+} |