summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-12-17 09:03:53 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-12-17 09:03:53 +0000
commit15a8383ceeb5fd2c44de227798da9eadd3284a69 (patch)
tree3a1b7a87e89cfd32b38d60d80005e34ca09db897 /dev-python/pycrypto
parentFix issue with python 2.7, bug 354403. Thanks to Ian Delaney (diff)
downloadhistorical-15a8383ceeb5fd2c44de227798da9eadd3284a69.tar.gz
historical-15a8383ceeb5fd2c44de227798da9eadd3284a69.tar.bz2
historical-15a8383ceeb5fd2c44de227798da9eadd3284a69.zip
Bump to 2.4.1, bug 362763 is present no more
Package-Manager: portage-2.1.10.40/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycrypto')
-rw-r--r--dev-python/pycrypto/ChangeLog7
-rw-r--r--dev-python/pycrypto/Manifest14
-rw-r--r--dev-python/pycrypto/pycrypto-2.4.1.ebuild64
3 files changed, 73 insertions, 12 deletions
diff --git a/dev-python/pycrypto/ChangeLog b/dev-python/pycrypto/ChangeLog
index 4c1c979ec52f..70bc0f0d4b9f 100644
--- a/dev-python/pycrypto/ChangeLog
+++ b/dev-python/pycrypto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycrypto
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.106 2011/09/24 09:39:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.107 2011/12/17 09:03:53 maksbotan Exp $
+
+*pycrypto-2.4.1 (17 Dec 2011)
+
+ 17 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> +pycrypto-2.4.1.ebuild:
+ Bump to 2.4.1, bug 362763 is present no more
24 Sep 2011; Fabian Groffen <grobian@gentoo.org> pycrypto-2.3.ebuild:
Marked ~x64-macos
diff --git a/dev-python/pycrypto/Manifest b/dev-python/pycrypto/Manifest
index 1a99da163631..1ab6cf7ab428 100644
--- a/dev-python/pycrypto/Manifest
+++ b/dev-python/pycrypto/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pycrypto-2.1.0-gmp.patch 1560 RMD160 699354d2d75b5f026066ca014a9acc820db7be59 SHA1 62b7ed930f4e6f508a9a063786dceff8195c4ca3 SHA256 28b77c4c99510dbcb719a7f22e9c5a36928ff11a0ee1df248947663c9232d40d
DIST pycrypto-2.3.tar.gz 331476 RMD160 5b7b15aab3f5e33113ba197a2edd629c72595374 SHA1 96b33b77e729893bd0837a09a6aa7a12b5070037 SHA256 4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182
+DIST pycrypto-2.4.1.tar.gz 383032 RMD160 7dbf3b0ca10e8f728772f0b282667e4ba94661c5 SHA1 da028359986c9125b880b5b62b7c8ba06b733282 SHA256 4ff5f7008869c8509d16a31f285b9f6340c4a9ff703c85298832a2869210b154
EBUILD pycrypto-2.3.ebuild 1863 RMD160 cbe91af4b16993fdb21fce9e6ccf5350cdf343f1 SHA1 040c7623a2330a23316772b988684f001eb83caf SHA256 d8655264eb1dd63acb1fc9a4811460c81036be78fbd2ec4a0800e5c8721000dc
-MISC ChangeLog 13883 RMD160 e5f981cb687af5a00421a17cdc929ebc5bf99645 SHA1 7d2e121bda75933c33e30fbd5bf36f9ec5ae3f42 SHA256 a5b707212bed9633907d831ebecb4685c9242617a598d4712e3c295be8aaf215
+EBUILD pycrypto-2.4.1.ebuild 2019 RMD160 2791883f47d1dd1a8cd02b0749ac44ab584746cd SHA1 e8598ea75397e1daf956fb072c3e7cc385000195 SHA256 edd62afdd176785949559f804d0b2c2327bd90328b717d50a88cb2ebc395c0c0
+MISC ChangeLog 14040 RMD160 90c201c6bff77172608e7399df7bf5c837f5ff13 SHA1 194ae71d7729d4d07a7b455d9a97459814513354 SHA256 85ed6f8d624da5344559caf3d4315c500886c4d3745fe486dcbb72d05e0d1a62
MISC metadata.xml 1774 RMD160 b0aeda4d69c1dc4ec798f05f617a2d0ddf8c29ab SHA1 00da4a85672688868003fecd52b3a9497a3c433c SHA256 b4fe5bcbed977469f626a33c8b9c16d860e53e16b02f78ce931f6afa67c98ac2
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (Darwin)
-
-iEYEARECAAYFAk59pVYACgkQX3X2B8XHTom9fACfdGKxVSTgUNPJu1mZZ3xKsnv/
-eFsAnA36n/fJl0nnjhZFBeu+5xL0E5Z4
-=qw8m
------END PGP SIGNATURE-----
diff --git a/dev-python/pycrypto/pycrypto-2.4.1.ebuild b/dev-python/pycrypto/pycrypto-2.4.1.ebuild
new file mode 100644
index 000000000000..6c33c7d431fb
--- /dev/null
+++ b/dev-python/pycrypto/pycrypto-2.4.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.4.1.ebuild,v 1.1 2011/12/17 09:03:53 maksbotan Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils eutils
+
+DESCRIPTION="Python Cryptography Toolkit"
+HOMEPAGE="http://www.dlitz.net/software/pycrypto/ http://pypi.python.org/pypi/pycrypto"
+SRC_URI="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/${P}.tar.gz"
+
+LICENSE="PSF-2 public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="doc +gmp"
+
+RDEPEND="gmp? ( dev-libs/gmp )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/docutils >=dev-python/epydoc-3 )"
+
+# Some tests fail with some limit of inlining of functions.
+# Avoid warnings about breaking strict-aliasing rules.
+PYTHON_CFLAGS=("2.* + -fno-inline-functions -fno-strict-aliasing")
+
+DOCS="ACKS ChangeLog README TODO"
+PYTHON_MODNAME="Crypto"
+
+src_prepare() {
+ distutils_src_prepare
+}
+
+src_configure() {
+ #This part comes from progress overlay, thanks to Arfrever
+ if use gmp; then
+ ac_cv_lib_mpir___gmpz_init="no" econf || die "econf failed"
+ else
+ ac_cv_lib_gmp___gmpz_init="no" ac_cv_lib_mpir___gmpz_init="no" econf ||
+ die "econf failed"
+ fi
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ rst2html.py Doc/pycrypt.rst > Doc/index.html
+ PYTHONPATH="$(ls -d build-$(PYTHON --ABI -f)/lib.*)" epydoc --config=Doc/epydoc-config --exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml Doc/index.html || die "dohtml failed"
+ dohtml Doc/apidoc/* || die "dohtml failed"
+ fi
+}