summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-13 21:29:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-13 21:29:27 +0000
commit129ca75485adc2349851fe497514bdb499937489 (patch)
treea31250b4498cc67c56a310029b003e487c3bc90e /dev-python/pycrypto
parentUpdate live ebuild syntax to new cmake-utils one. (diff)
downloadhistorical-129ca75485adc2349851fe497514bdb499937489.tar.gz
historical-129ca75485adc2349851fe497514bdb499937489.tar.bz2
historical-129ca75485adc2349851fe497514bdb499937489.zip
Version bump.
Package-Manager: portage-15094-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycrypto')
-rw-r--r--dev-python/pycrypto/ChangeLog8
-rw-r--r--dev-python/pycrypto/Manifest4
-rw-r--r--dev-python/pycrypto/pycrypto-2.1.0.ebuild75
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-python/pycrypto/ChangeLog b/dev-python/pycrypto/ChangeLog
index c0018bfab2a4..e6794301fbb5 100644
--- a/dev-python/pycrypto/ChangeLog
+++ b/dev-python/pycrypto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pycrypto
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.79 2009/12/09 18:54:01 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.80 2009/12/13 21:29:27 arfrever Exp $
+
+*pycrypto-2.1.0 (13 Dec 2009)
+
+ 13 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pycrypto-2.1.0.ebuild:
+ Version bump.
09 Dec 2009; nixnut <nixnut@gentoo.org> pycrypto-2.1.0_beta1.ebuild:
ppc stable #295698
diff --git a/dev-python/pycrypto/Manifest b/dev-python/pycrypto/Manifest
index 93eb84f2c2f3..7227b33662d2 100644
--- a/dev-python/pycrypto/Manifest
+++ b/dev-python/pycrypto/Manifest
@@ -9,11 +9,13 @@ AUX pycrypto-2.0.1-sha256.patch 912 RMD160 9a2557cdaf4f9922b3ace23d7eced46f5785f
AUX pycrypto-2.0.1-uint32.patch 1078 RMD160 40f20f4d3a89b8927eaee415418e1d9f2b2be33b SHA1 0214ba9f2a592e6ce78cf6dd8e5d72f9dd44ac0d SHA256 b8cb928cbf1713eff06c6899cb773c9a02f28e85de02e7d6f45ed1be413b47dd
AUX pycrypto-2.1.0-gmp.patch 1049 RMD160 8fbf66f203cf6de229c540bce538698b0406536d SHA1 0dc2ee17b96f5673dc57607b6036b649eaaf3297 SHA256 70d9ff679f2bbb377eee0ee19643f07e2b6ebc0dd8c763fc22976a43afcc5ebf
DIST pycrypto-2.0.1.tar.gz 154292 RMD160 5ce938a24f77f414e42680c17ef9b6dc8de94a2e SHA1 c77cdefdfb06e4749690013a9a9e1600ab14e26f SHA256 b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea
+DIST pycrypto-2.1.0.tar.gz 265388 RMD160 57589935b0aad4bee9008a840fda9b12c8e8c0f5 SHA1 b4baa1b5f349a7e5c497f4c7b4070c3f630519f8 SHA256 253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2
DIST pycrypto-2.1.0b1.tar.gz 265344 RMD160 3312d4c667986b51d0936f2223b0cf31f300ef77 SHA1 099aa87f99b13577bf6f49b226c3e3e23c61bcdf SHA256 7be4be8262ed8443700eed71e498e9b8d8a5ac17f3a00abc112c81753ffec9ba
EBUILD pycrypto-2.0.1-r5.ebuild 1501 RMD160 23fcf75215bacac43de0e254d216768a14aca7aa SHA1 882cfa951483f6c304984c75f541ef8488906fda SHA256 e1cfce80ae28225522ba830ed9062123a71fe8279f31ce9096d994f34a55d3b8
EBUILD pycrypto-2.0.1-r6.ebuild 1532 RMD160 b96b870eceb138401f61bba45ef8021366da2e1c SHA1 d63f0abf22a9d3f59332e73a33fa3e1b03e7e5dc SHA256 d9fe3eac30683401eae64384b52653926c57c57945ad12ca59aba516e8fc5187
EBUILD pycrypto-2.0.1-r7.ebuild 1628 RMD160 003756f506596bedd5cc76142b84e26c38221e34 SHA1 52692ec4cd6e0c8b50fd48ee50e40ce31ae4eac7 SHA256 4e9a1a631ef9e9c8c7f4e5ebcc0ad0e6ec443abcc2ac8b468dc71d4ccd037863
EBUILD pycrypto-2.0.1-r8.ebuild 2052 RMD160 84bd582455c182c9f4fb642496d74d3e511fa0ea SHA1 6c301fe518051562c44d37f0fb8785d613514f30 SHA256 b36ab869b484ee46ec95acf02b21a7bf7d6ed0ae96cd77a43011d554880a07e1
+EBUILD pycrypto-2.1.0.ebuild 2090 RMD160 172a188e465db97d4de689b661fb8372617dbb8d SHA1 d5335d60e8f5eb7dc68f9656024dc712fcef8be2 SHA256 748aea80318974fa38d11e0e0d14f3c6f0f393a29e2e5fe284f6cf6f3a847cb7
EBUILD pycrypto-2.1.0_beta1.ebuild 2132 RMD160 e92209c0df26812f4d60fc4b8615a8cb6263e1c8 SHA1 4e996b34948d5c6c4b7668cad1e317ecbc356c75 SHA256 82bfc7b3991babad30bca0b3e34280ac4dc692a92caec35dab9c051a3f284726
-MISC ChangeLog 10582 RMD160 0f4448b34981779d277061d51c6d0c8d1cfdf165 SHA1 302da9b54689bfc1d88991b6b165f14c1b668106 SHA256 d9072ca5fd27d31c3bdf54111255bd5df15322f08f365d2902eeb92890047cee
+MISC ChangeLog 10731 RMD160 e3c6e43679d8c693e85115eeba68cde9bd688504 SHA1 acfe09be091a86642ae5e231c4305b31673fa062 SHA256 66a96078b27b47ac2f40049b9614580b08fabdef0a0edcb4c74cbbb26681a210
MISC metadata.xml 1774 RMD160 b0aeda4d69c1dc4ec798f05f617a2d0ddf8c29ab SHA1 00da4a85672688868003fecd52b3a9497a3c433c SHA256 b4fe5bcbed977469f626a33c8b9c16d860e53e16b02f78ce931f6afa67c98ac2
diff --git a/dev-python/pycrypto/pycrypto-2.1.0.ebuild b/dev-python/pycrypto/pycrypto-2.1.0.ebuild
new file mode 100644
index 000000000000..ef656ab9233c
--- /dev/null
+++ b/dev-python/pycrypto/pycrypto-2.1.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.1.0.ebuild,v 1.1 2009/12/13 21:29:27 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils flag-o-matic
+
+DESCRIPTION="Python Cryptography Toolkit"
+HOMEPAGE="http://www.dlitz.net/software/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 )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+DOCS="ACKS ChangeLog README TODO"
+PYTHON_MODNAME="Crypto"
+
+pkg_setup() {
+ # Some tests fail with some limit of inlining of functions.
+ append-flags -fno-inline-functions
+}
+
+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
+ rst2html.py Doc/pycrypt.rst > Doc/index.html
+
+ # Build documentation only once.
+ documentation_built="0"
+ generate_documentation() {
+ [[ "${documentation_built}" == "1" ]] && return
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" epydoc --config=Doc/epydoc-config --exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die "Generation of documentation failed"
+ documentation_built="1"
+ }
+ python_execute_function -q generate_documentation
+ unset documentation_built
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml Doc/index.html || die "dohtml failed"
+ dohtml Doc/apidoc/* || die "dohtml failed"
+ fi
+}