summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pycrypto/ChangeLog8
-rw-r--r--dev-python/pycrypto/Manifest4
-rw-r--r--dev-python/pycrypto/pycrypto-2.3.ebuild61
3 files changed, 71 insertions, 2 deletions
diff --git a/dev-python/pycrypto/ChangeLog b/dev-python/pycrypto/ChangeLog
index 67dc3afb325f..2bf8959a41f7 100644
--- a/dev-python/pycrypto/ChangeLog
+++ b/dev-python/pycrypto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pycrypto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.94 2010/09/12 18:43:08 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.95 2010/09/12 18:50:44 arfrever Exp $
+
+*pycrypto-2.3 (12 Sep 2010)
+
+ 12 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pycrypto-2.3.ebuild:
+ Version bump.
*pycrypto-2.2 (12 Sep 2010)
diff --git a/dev-python/pycrypto/Manifest b/dev-python/pycrypto/Manifest
index 3d3addcb6ab4..cb6eb7b7380b 100644
--- a/dev-python/pycrypto/Manifest
+++ b/dev-python/pycrypto/Manifest
@@ -1,7 +1,9 @@
AUX pycrypto-2.1.0-gmp.patch 1560 RMD160 699354d2d75b5f026066ca014a9acc820db7be59 SHA1 62b7ed930f4e6f508a9a063786dceff8195c4ca3 SHA256 28b77c4c99510dbcb719a7f22e9c5a36928ff11a0ee1df248947663c9232d40d
DIST pycrypto-2.1.0.tar.gz 265388 RMD160 57589935b0aad4bee9008a840fda9b12c8e8c0f5 SHA1 b4baa1b5f349a7e5c497f4c7b4070c3f630519f8 SHA256 253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2
DIST pycrypto-2.2.tar.gz 331270 RMD160 87fef0d58193fc06f78a524c10692e1202107419 SHA1 51a193a2886e5f37f703b73528d3b4fe10ea1883 SHA256 9219449bc85ab4f4ff61fc83b0cbe0ec23d46943caab3d5413c6ba52da6f922c
+DIST pycrypto-2.3.tar.gz 331476 RMD160 5b7b15aab3f5e33113ba197a2edd629c72595374 SHA1 96b33b77e729893bd0837a09a6aa7a12b5070037 SHA256 4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182
EBUILD pycrypto-2.1.0.ebuild 1813 RMD160 ed0cdcbf4bcd7e24285d509722a8e22952c5803d SHA1 621d56328dd3c18bcf1ee3bc97399ecb8c74e610 SHA256 990791b4b0741b33fe018cf7a0ab3336217e16a42b148cbe5e580c9cd0cf768f
EBUILD pycrypto-2.2.ebuild 1853 RMD160 489b0d4bf62a995611277b01cfcab67b01469439 SHA1 db590ad41f5b6e5dc28a81e3efb8907692c0030c SHA256 c365f9d86a752c68f5694ee7e9735290625a2ef176be6a1b85242eb2905a0bb4
-MISC ChangeLog 12513 RMD160 66037c8d959620cff3f9028b67b425cd32a52fbb SHA1 86debb21c9f94828ab7292e2dde21130dc0a5ff1 SHA256 0fd35f233650f7c9c262306a8cc6756d6d65f349eaa10bdfab65cd7af2fe998b
+EBUILD pycrypto-2.3.ebuild 1853 RMD160 99739cf5fb4249d20233ee6ede2807c1929a8e28 SHA1 e19b80f64c11326052276137c471277f1b025d05 SHA256 7cc89420aa1b64deb5986468cc413fa779ef3cf9c89f38cb38226f60c3a8d6d5
+MISC ChangeLog 12656 RMD160 2af3caf0a4e65f290b106e533915c7df808acebb SHA1 c18147bda3104b7a69d2993649f1e09ed7a9af72 SHA256 a50bcf887d53eaa9f1775ca540f44473041bf7e25f2baecf00c39843f2f45820
MISC metadata.xml 1774 RMD160 b0aeda4d69c1dc4ec798f05f617a2d0ddf8c29ab SHA1 00da4a85672688868003fecd52b3a9497a3c433c SHA256 b4fe5bcbed977469f626a33c8b9c16d860e53e16b02f78ce931f6afa67c98ac2
diff --git a/dev-python/pycrypto/pycrypto-2.3.ebuild b/dev-python/pycrypto/pycrypto-2.3.ebuild
new file mode 100644
index 000000000000..45b31f1b17cd
--- /dev/null
+++ b/dev-python/pycrypto/pycrypto-2.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.3.ebuild,v 1.1 2010/09/12 18:50:44 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+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="public-domain PSF-2.2"
+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 ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="doc +gmp"
+
+RDEPEND="gmp? ( dev-libs/gmp )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/docutils dev-python/epydoc )"
+
+# 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
+ epatch "${FILESDIR}/${PN}-2.1.0-gmp.patch"
+}
+
+src_configure() {
+ use gmp \
+ && export USE_GMP="1" \
+ || export USE_GMP="0"
+}
+
+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
+}