1 |
commit: 74434a4fcb00256906d451b451e119010c348e26 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 10:33:57 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=74434a4f |
7 |
|
8 |
dev-python/py: Add python3.5 support |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/py/py-1.4.30-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/py/py-1.4.30-r1.ebuild b/dev-python/py/py-1.4.30-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..a4de0a1 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/py/py-1.4.30-r1.ebuild |
21 |
@@ -0,0 +1,45 @@ |
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="library with cross-python path, ini-parsing, io, code, log facilities" |
33 |
+HOMEPAGE="http://pylib.readthedocs.org/ https://pypi.python.org/pypi/py" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
39 |
+IUSE="doc test" |
40 |
+ |
41 |
+RDEPEND="" |
42 |
+DEPEND=" |
43 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
44 |
+ test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
45 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
46 |
+ |
47 |
+python_prepare_all() { |
48 |
+ sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
49 |
+ distutils-r1_python_prepare_all |
50 |
+} |
51 |
+ |
52 |
+python_compile_all() { |
53 |
+ use doc && emake -C doc html |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ # 1 failure, test_comments, under both pypy only. |
58 |
+ # Also appears the home repo has no issue tracker. |
59 |
+ [[ "${EPYTHON}" == pypy ]] && return |
60 |
+ py.test || die "testing failed with ${EPYTHON}" |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ use doc && local HTML_DOCS=( doc/_build/html/. ) |
65 |
+ distutils-r1_python_install_all |
66 |
+} |