1 |
commit: 246d064f055d1e145fd029074f7602b711255460 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 10:20:44 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 10:24:40 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246d064f |
7 |
|
8 |
dev-python/pycrypto: 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/pycrypto/pycrypto-2.6.1-r1.ebuild | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild b/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild |
17 |
index 6facd37..8bfd1a2 100644 |
18 |
--- a/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild |
19 |
+++ b/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
25 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND} |
30 |
REQUIRED_USE="test? ( gmp )" |
31 |
|
32 |
python_prepare_all() { |
33 |
- epatch "${FILESDIR}"/${P}-cross-compile.patch |
34 |
+ local PATCHES=( "${FILESDIR}"/${P}-cross-compile.patch ) |
35 |
# Fix Crypto.PublicKey.RSA._RSAobj.exportKey(format="OpenSSH") with Python 3 |
36 |
# https://github.com/dlitz/pycrypto/commit/ab25c6fe95ee92fac3187dcd90e0560ccacb084a |
37 |
sed \ |
38 |
@@ -48,7 +48,7 @@ python_configure_all() { |
39 |
|
40 |
python_compile_all() { |
41 |
if use doc; then |
42 |
- rst2html.py Doc/pycrypt.rst > Doc/index.html |
43 |
+ rst2html.py Doc/pycrypt.rst > Doc/index.html || die |
44 |
epydoc --config=Doc/epydoc-config --exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die |
45 |
fi |
46 |
} |