summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2006-02-01 15:41:04 +0000
committerAron Griffis <agriffis@gentoo.org>2006-02-01 15:41:04 +0000
commitebef8990870fabdc8e1cb6ca963a92477ba48bc6 (patch)
treee37eeb3055092fd85a9493f75d8fd956e3e8704c /dev-python/pycrypto
parentAdd retry timeout of 5 seconds to stop() function in init script, bug #120044. (diff)
downloadgentoo-2-ebef8990870fabdc8e1cb6ca963a92477ba48bc6.tar.gz
gentoo-2-ebef8990870fabdc8e1cb6ca963a92477ba48bc6.tar.bz2
gentoo-2-ebef8990870fabdc8e1cb6ca963a92477ba48bc6.zip
Fix RMD160 generation on ia64 #121182
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-python/pycrypto')
-rw-r--r--dev-python/pycrypto/ChangeLog8
-rw-r--r--dev-python/pycrypto/Manifest49
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-1.9_alpha42
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-1.9_alpha62
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-2.02
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-2.0-r12
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-2.0.12
-rw-r--r--dev-python/pycrypto/files/digest-pycrypto-2.0.1-r23
-rw-r--r--dev-python/pycrypto/files/pycrypto-2.0.1-ia64.patch11
-rw-r--r--dev-python/pycrypto/pycrypto-2.0.1-r2.ebuild45
10 files changed, 100 insertions, 26 deletions
diff --git a/dev-python/pycrypto/ChangeLog b/dev-python/pycrypto/ChangeLog
index 0a28e91a9f6f..0214b72f106c 100644
--- a/dev-python/pycrypto/ChangeLog
+++ b/dev-python/pycrypto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pycrypto
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.25 2006/02/01 04:48:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.26 2006/02/01 15:41:03 agriffis Exp $
+
+*pycrypto-2.0.1-r2 (01 Feb 2006)
+
+ 01 Feb 2006; Aron Griffis <agriffis@gentoo.org>
+ +files/pycrypto-2.0.1-ia64.patch, +pycrypto-2.0.1-r2.ebuild:
+ Fix RMD160 generation on ia64 #121182
01 Feb 2006; Mike Frysinger <vapier@gentoo.org> pycrypto-2.0.1-r1.ebuild:
Add support for running more tests.
diff --git a/dev-python/pycrypto/Manifest b/dev-python/pycrypto/Manifest
index ae00354be372..991a5a93fd4b 100644
--- a/dev-python/pycrypto/Manifest
+++ b/dev-python/pycrypto/Manifest
@@ -1,30 +1,33 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 521ffdad6052143161da028a9237bc9c ChangeLog 3343
RMD160 11724f8d3a9bcbc541840664b12fc01d6bb7d641 ChangeLog 3343
SHA256 7700de78d7ae45e6f99a02445c42d03aefc4d55e65e10e3aab731f886f626e1f ChangeLog 3343
-MD5 88124038f9bc0fb6771c9d12f9bcbac9 files/digest-pycrypto-1.9_alpha4 66
-RMD160 9bc5964c169b374c397dfcdfafd335938fe056be files/digest-pycrypto-1.9_alpha4 66
-SHA256 f4b768f7e73c299f617c1b422972703759ad6850310546650f9d97c808f14d49 files/digest-pycrypto-1.9_alpha4 66
-MD5 b59c388eacd676d40313043ecea7841e files/digest-pycrypto-1.9_alpha6 66
-RMD160 aa82e5ba3d9d59cdbdbd77c958bb3c29c32dfc2a files/digest-pycrypto-1.9_alpha6 66
-SHA256 bf0f7c8ea92230905d0637e9b35aa25a8099e2e85079c5ee9e7332d636303d8e files/digest-pycrypto-1.9_alpha6 66
-MD5 d204e299027be7fac9649389cf925a46 files/digest-pycrypto-2.0 64
-RMD160 320d4832e9048d65ecd0cb7748ea3a542d2ce1a8 files/digest-pycrypto-2.0 64
-SHA256 dc31bbe0d3e96413763501e1138c3a12ced0d63669e8e598011271e7e49f76a4 files/digest-pycrypto-2.0 64
-MD5 d204e299027be7fac9649389cf925a46 files/digest-pycrypto-2.0-r1 64
-RMD160 320d4832e9048d65ecd0cb7748ea3a542d2ce1a8 files/digest-pycrypto-2.0-r1 64
-SHA256 dc31bbe0d3e96413763501e1138c3a12ced0d63669e8e598011271e7e49f76a4 files/digest-pycrypto-2.0-r1 64
-MD5 b9e6cee737dea02a879ca7f8927b769a files/digest-pycrypto-2.0.1 66
-RMD160 0d395150045603f260d60d8c82d1af39202cd94a files/digest-pycrypto-2.0.1 66
-SHA256 e0b3a479f03401872cf5b19b7277c6cf92037abe9f3f1545e7d3a5f90caf6a78 files/digest-pycrypto-2.0.1 66
+MD5 b1aba6dca2e2f18fcd020e34cd35c41b files/digest-pycrypto-1.9_alpha4 244
+RMD160 25fd677ff406cdaa1d0a2011013368c663bed1b4 files/digest-pycrypto-1.9_alpha4 244
+SHA256 e63f27bec8fb82199c469ef7acc28ad834896537cb86fc7d87d2ed8e19451160 files/digest-pycrypto-1.9_alpha4 244
+MD5 c53d5d337c81204a76511f02a71b5796 files/digest-pycrypto-1.9_alpha6 244
+RMD160 e1e043c21b6472a7967b4e61dc29bf7554fe098e files/digest-pycrypto-1.9_alpha6 244
+SHA256 8ee5b2771bd6f06973833b5ff640b93c1007381ee3ff5d4bbe0c8406e558f3cb files/digest-pycrypto-1.9_alpha6 244
+MD5 2028cad6e63a793de2b2a0fc6ad0131d files/digest-pycrypto-2.0 238
+RMD160 1f1ff26322b0b25a4379120708863ebbfb89e8da files/digest-pycrypto-2.0 238
+SHA256 05154d79a389898ac08f5bbf94cf20aee087db6801a101557118075405b7313d files/digest-pycrypto-2.0 238
+MD5 2028cad6e63a793de2b2a0fc6ad0131d files/digest-pycrypto-2.0-r1 238
+RMD160 1f1ff26322b0b25a4379120708863ebbfb89e8da files/digest-pycrypto-2.0-r1 238
+SHA256 05154d79a389898ac08f5bbf94cf20aee087db6801a101557118075405b7313d files/digest-pycrypto-2.0-r1 238
+MD5 e4a3877aceb3f8d3124d9c742f9eef06 files/digest-pycrypto-2.0.1 244
+RMD160 7388a77e1c70274a3d2fb079e1c3e1aa47024256 files/digest-pycrypto-2.0.1 244
+SHA256 94427cf1651edc0397aa2b3124298a998b809ac7a5522e9fb6f7ed7edc3d89a0 files/digest-pycrypto-2.0.1 244
MD5 e4a3877aceb3f8d3124d9c742f9eef06 files/digest-pycrypto-2.0.1-r1 244
RMD160 7388a77e1c70274a3d2fb079e1c3e1aa47024256 files/digest-pycrypto-2.0.1-r1 244
SHA256 94427cf1651edc0397aa2b3124298a998b809ac7a5522e9fb6f7ed7edc3d89a0 files/digest-pycrypto-2.0.1-r1 244
+MD5 e4a3877aceb3f8d3124d9c742f9eef06 files/digest-pycrypto-2.0.1-r2 244
+RMD160 7388a77e1c70274a3d2fb079e1c3e1aa47024256 files/digest-pycrypto-2.0.1-r2 244
+SHA256 94427cf1651edc0397aa2b3124298a998b809ac7a5522e9fb6f7ed7edc3d89a0 files/digest-pycrypto-2.0.1-r2 244
MD5 1cef0f805deeb0a9632606f1f97cce29 files/pycrypto-2.0.1-bindist.patch 1561
RMD160 b0064385698a1cb9ed741b2e68ed682b4d395a61 files/pycrypto-2.0.1-bindist.patch 1561
SHA256 c95a6b3628d5472f749004c5d9a95a812d1b9c1fc7bfa5a538fa64210a021d9a files/pycrypto-2.0.1-bindist.patch 1561
+MD5 f069c9d2982308d3b8043000d596c6a7 files/pycrypto-2.0.1-ia64.patch 442
+RMD160 c027362c20b414ec07e7eda9ee0002d4c75c78c4 files/pycrypto-2.0.1-ia64.patch 442
+SHA256 7ccfa05d0b5ebe9bc9a9edc40226f6bc8adbff27aaae0da70881f53afdaf506c files/pycrypto-2.0.1-ia64.patch 442
MD5 5b03cb0967f5fb96991f2463fa415797 metadata.xml 1774
RMD160 b0aeda4d69c1dc4ec798f05f617a2d0ddf8c29ab metadata.xml 1774
SHA256 b4fe5bcbed977469f626a33c8b9c16d860e53e16b02f78ce931f6afa67c98ac2 metadata.xml 1774
@@ -40,16 +43,12 @@ SHA256 0bdae681ac3517d60fee2e1b37172f121f8afddeaaa6000295ef166800c8b818 pycrypto
MD5 1163f65b348d193aaae8f7c2516c68f8 pycrypto-2.0.1-r1.ebuild 1164
RMD160 632aa88115fef9fff6c554f6af431f77ecd8366b pycrypto-2.0.1-r1.ebuild 1164
SHA256 6983f7e85395d0cf0104f68849ee80ebe140db5331b684276a9ba477d230f5fa pycrypto-2.0.1-r1.ebuild 1164
+MD5 cbc0418a376dfc0ec3661b3a5a0e85e3 pycrypto-2.0.1-r2.ebuild 1213
+RMD160 633bbdbb7ed3f0766924ec59f7ada48c04d6ea69 pycrypto-2.0.1-r2.ebuild 1213
+SHA256 cc22d9c17623134ffe072a750c0e6677050f02db77d89d1b44ed8c96070d06c2 pycrypto-2.0.1-r2.ebuild 1213
MD5 13d0293b0075a1d14f88ce4df3a1188b pycrypto-2.0.1.ebuild 762
RMD160 70e38bec63b2448e0cfdbbfe8fbf3ab07a30fe17 pycrypto-2.0.1.ebuild 762
SHA256 b85d654c25a7403b351ac536c0a855d4f8c898d59a98b88b0e68d7e808b03870 pycrypto-2.0.1.ebuild 762
MD5 1ff484937e9f3be035fe383ea160e8ad pycrypto-2.0.ebuild 573
RMD160 6e9022da62464f414b34ac0be186d585f2e20f4c pycrypto-2.0.ebuild 573
SHA256 da063c1de165847585cc5a452f343a4101a9baee19e6a9c367e77fb54a74f64a pycrypto-2.0.ebuild 573
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD4D3T2+ySkm8kpY0RAu9cAJ9psj98KBpcPCipfuhmLZ1F6oUEfwCeL8zl
-UhyT0v0GaF+gwwhLJ+GaSwU=
-=Ec9N
------END PGP SIGNATURE-----
diff --git a/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha4 b/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha4
index 0fb903755436..78a34ed6a054 100644
--- a/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha4
+++ b/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha4
@@ -1 +1,3 @@
MD5 bff31078a531c8fc617c01fe72aacfbb pycrypto-1.9a4.tar.gz 143415
+RMD160 6bfbf8d53c37be490f12b65ad49691d626fb49ea pycrypto-1.9a4.tar.gz 143415
+SHA256 dc6d4204f75025522240d8dd07c85bc17a14941fd3c23a8d60e94e32e7c61aea pycrypto-1.9a4.tar.gz 143415
diff --git a/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha6 b/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha6
index 874e39a4b1d3..6638a095a67f 100644
--- a/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha6
+++ b/dev-python/pycrypto/files/digest-pycrypto-1.9_alpha6
@@ -1 +1,3 @@
MD5 cdcebdfd63e74754f57b9e9b0db4ea20 pycrypto-1.9a6.tar.gz 158801
+RMD160 581aa26c37cec87ec27c23ea0210b47f1b87f36d pycrypto-1.9a6.tar.gz 158801
+SHA256 a6d7db68c87699e283a1f58b637a7e730c350899fd7b35b88e63caa0e85a9ab9 pycrypto-1.9a6.tar.gz 158801
diff --git a/dev-python/pycrypto/files/digest-pycrypto-2.0 b/dev-python/pycrypto/files/digest-pycrypto-2.0
index dabe8b90353a..99716500e226 100644
--- a/dev-python/pycrypto/files/digest-pycrypto-2.0
+++ b/dev-python/pycrypto/files/digest-pycrypto-2.0
@@ -1 +1,3 @@
MD5 55f9875c554ede75ad605d2c7504d94f pycrypto-2.0.tar.gz 164682
+RMD160 2666f2e1388526b31ad6e9c534853661e875a99e pycrypto-2.0.tar.gz 164682
+SHA256 35ec1a3590e1e1c263520ac26f37cf3dabbd19fc529e424f06acd35454cb7b8e pycrypto-2.0.tar.gz 164682
diff --git a/dev-python/pycrypto/files/digest-pycrypto-2.0-r1 b/dev-python/pycrypto/files/digest-pycrypto-2.0-r1
index dabe8b90353a..99716500e226 100644
--- a/dev-python/pycrypto/files/digest-pycrypto-2.0-r1
+++ b/dev-python/pycrypto/files/digest-pycrypto-2.0-r1
@@ -1 +1,3 @@
MD5 55f9875c554ede75ad605d2c7504d94f pycrypto-2.0.tar.gz 164682
+RMD160 2666f2e1388526b31ad6e9c534853661e875a99e pycrypto-2.0.tar.gz 164682
+SHA256 35ec1a3590e1e1c263520ac26f37cf3dabbd19fc529e424f06acd35454cb7b8e pycrypto-2.0.tar.gz 164682
diff --git a/dev-python/pycrypto/files/digest-pycrypto-2.0.1 b/dev-python/pycrypto/files/digest-pycrypto-2.0.1
index aa9117b02ce5..4e5b88462ffb 100644
--- a/dev-python/pycrypto/files/digest-pycrypto-2.0.1
+++ b/dev-python/pycrypto/files/digest-pycrypto-2.0.1
@@ -1 +1,3 @@
MD5 4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz 154292
+RMD160 5ce938a24f77f414e42680c17ef9b6dc8de94a2e pycrypto-2.0.1.tar.gz 154292
+SHA256 b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea pycrypto-2.0.1.tar.gz 154292
diff --git a/dev-python/pycrypto/files/digest-pycrypto-2.0.1-r2 b/dev-python/pycrypto/files/digest-pycrypto-2.0.1-r2
new file mode 100644
index 000000000000..4e5b88462ffb
--- /dev/null
+++ b/dev-python/pycrypto/files/digest-pycrypto-2.0.1-r2
@@ -0,0 +1,3 @@
+MD5 4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz 154292
+RMD160 5ce938a24f77f414e42680c17ef9b6dc8de94a2e pycrypto-2.0.1.tar.gz 154292
+SHA256 b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea pycrypto-2.0.1.tar.gz 154292
diff --git a/dev-python/pycrypto/files/pycrypto-2.0.1-ia64.patch b/dev-python/pycrypto/files/pycrypto-2.0.1-ia64.patch
new file mode 100644
index 000000000000..e07fc6c5fb20
--- /dev/null
+++ b/dev-python/pycrypto/files/pycrypto-2.0.1-ia64.patch
@@ -0,0 +1,11 @@
+--- src/RIPEMD.c.agriffis 2006-02-01 10:23:31.000000000 -0500
++++ src/RIPEMD.c 2006-02-01 10:23:38.000000000 -0500
+@@ -100,7 +100,7 @@
+ }
+
+ typedef unsigned char byte; /* unsigned 8-bit integer */
+-#ifdef __alpha__
++#if defined(__alpha__) || defined(__ia64__)
+ typedef unsigned int word; /* unsigned 32-bit integer */
+ #elif defined(__amd64__)
+ typedef uint32_t word; /* unsigned 32-bit integer */
diff --git a/dev-python/pycrypto/pycrypto-2.0.1-r2.ebuild b/dev-python/pycrypto/pycrypto-2.0.1-r2.ebuild
new file mode 100644
index 000000000000..c61d1eabf809
--- /dev/null
+++ b/dev-python/pycrypto/pycrypto-2.0.1-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.0.1-r2.ebuild,v 1.1 2006/02/01 15:41:04 agriffis Exp $
+
+inherit eutils distutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="Python Cryptography Toolkit"
+HOMEPAGE="http://www.amk.ca/python/code/crypto.html"
+SRC_URI="http://www.amk.ca/files/python/crypto/${P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc-macos ~s390 ~sh ~sparc ~x86"
+IUSE="bindist test"
+
+RDEPEND="virtual/python"
+DEPEND="${RDEPEND}
+ test? ( =dev-python/sancho-0.11 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use bindist && epatch "${FILESDIR}"/${P}-bindist.patch
+ epatch "${FILESDIR}/pycrypto-2.0.1-ia64.patch"
+}
+
+src_compile() {
+ # sha256 hashes occasionally trigger ssp when built with
+ # -finline-functions (implied by -O3).
+ gcc-specs-ssp && append-flags -fno-inline-functions
+ distutils_src_compile
+}
+
+src_test() {
+ python ./test.py || die "test failed"
+ if use test ; then
+ local x
+ cd test
+ for x in test_*.py ; do
+ python ${x} || die "${x} failed"
+ done
+ fi
+}
+
+DOCS="ACKS ChangeLog PKG-INFO README TODO Doc/pycrypt.tex"