1 |
commit: dfce6a79b3de9cb1441113f98bafae1a4f342cfc |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 10:50:32 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=dfce6a79 |
7 |
|
8 |
dev-python/six: 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/six/six-1.10.0-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/six/six-1.10.0-r1.ebuild b/dev-python/six/six-1.10.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..f5c53b6 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/six/six-1.10.0-r1.ebuild |
21 |
@@ -0,0 +1,40 @@ |
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="Python 2 and 3 compatibility library" |
33 |
+HOMEPAGE="https://bitbucket.org/gutworth/six https://pypi.python.org/pypi/six" |
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 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
39 |
+IUSE="doc test" |
40 |
+ |
41 |
+DEPEND=" |
42 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
+ doc? ( dev-python/sphinx ) |
44 |
+ test? ( >=dev-python/pytest-2.2.0[${PYTHON_USEDEP}] )" |
45 |
+ |
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}"/1.9.0-mapping.patch |
48 |
+ ) |
49 |
+ |
50 |
+python_compile_all() { |
51 |
+ use doc && emake -C documentation html |
52 |
+} |
53 |
+ |
54 |
+python_test() { |
55 |
+ py.test -v || die "Testing failed with ${EPYTHON}" |
56 |
+} |
57 |
+ |
58 |
+python_install_all() { |
59 |
+ use doc && local HTML_DOCS=( documentation/_build/html/ ) |
60 |
+ distutils-r1_python_install_all |
61 |
+} |