summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-12-11 09:28:17 +0000
committerJustin Lecher <jlec@gentoo.org>2014-12-11 09:28:17 +0000
commit1e15fac155c1702d9f50dbdc21303c28e734b20e (patch)
tree4f57ac0ce5359efe89e028894b37345d9d7c5eef /dev-python/pycrypto
parentStable for HPPA (bug #531264). (diff)
downloadgentoo-2-1e15fac155c1702d9f50dbdc21303c28e734b20e.tar.gz
gentoo-2-1e15fac155c1702d9f50dbdc21303c28e734b20e.tar.bz2
gentoo-2-1e15fac155c1702d9f50dbdc21303c28e734b20e.zip
dev-python/pycrypto: Add missing call of distutils-r1_python_prepare_all
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/pycrypto')
-rw-r--r--dev-python/pycrypto/ChangeLog6
-rw-r--r--dev-python/pycrypto/metadata.xml6
-rw-r--r--dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild11
3 files changed, 15 insertions, 8 deletions
diff --git a/dev-python/pycrypto/ChangeLog b/dev-python/pycrypto/ChangeLog
index fbd60fb7839e..abe400c308dd 100644
--- a/dev-python/pycrypto/ChangeLog
+++ b/dev-python/pycrypto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycrypto
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.159 2014/12/10 16:33:39 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.160 2014/12/11 09:28:17 jlec Exp $
+
+ 11 Dec 2014; Justin Lecher <jlec@gentoo.org> pycrypto-2.6.1-r1.ebuild,
+ metadata.xml:
+ Add missing call of distutils-r1_python_prepare_all
*pycrypto-2.6.1-r1 (10 Dec 2014)
diff --git a/dev-python/pycrypto/metadata.xml b/dev-python/pycrypto/metadata.xml
index a07fbd59d943..15b44a0ae34f 100644
--- a/dev-python/pycrypto/metadata.xml
+++ b/dev-python/pycrypto/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>python</herd>
-<longdescription>
+ <herd>python</herd>
+ <longdescription>
The Python Cryptography Toolkit is a collection of cryptographic
algorithms and protocols, implemented for use from Python. Among
the contents of the package:
@@ -18,7 +18,7 @@ the contents of the package:
* Some demo programs (currently all quite old and outdated).
</longdescription>
-<longdescription lang="ja">
+ <longdescription lang="ja">
このPython言語のクリプトグラフィー・ツールキットは、暗号手法のアルゴリズムとプロ
トコルの集合で、Python言語から利用されるための実装です。このパッケージ内容は以下
です。
diff --git a/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild b/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild
index c0f7d8512aaa..de60020a2489 100644
--- a/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild
+++ b/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild,v 1.1 2014/12/10 16:33:39 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.6.1-r1.ebuild,v 1.2 2014/12/11 09:28:17 jlec Exp $
EAPI=5
@@ -19,8 +19,10 @@ IUSE="doc +gmp"
RDEPEND="gmp? ( dev-libs/gmp )"
DEPEND="${RDEPEND}
- doc? ( dev-python/docutils
- $(python_gen_cond_dep '>=dev-python/epydoc-3[${PYTHON_USEDEP}]' python2_7) )"
+ doc? (
+ dev-python/docutils[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/epydoc-3[${PYTHON_USEDEP}]' python2_7)
+ )"
python_prepare_all() {
# Fix Crypto.PublicKey.RSA._RSAobj.exportKey(format="OpenSSH") with Python 3
@@ -29,7 +31,8 @@ python_prepare_all() {
-e "/keyparts =/s/'ssh-rsa'/b('ssh-rsa')/" \
-e "s/keystring = ''.join/keystring = b('').join/" \
-e "s/return 'ssh-rsa '/return b('ssh-rsa ')/" \
- -i lib/Crypto/PublicKey/RSA.py
+ -i lib/Crypto/PublicKey/RSA.py || die
+ distutils-r1_python_prepare_all
}
python_configure_all() {