summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2009-02-24 21:05:29 +0000
committerAndrey Grozin <grozin@gentoo.org>2009-02-24 21:05:29 +0000
commitb40d6ceb9416efbf999fd8eec683b997e037f974 (patch)
tree3f2148b3e7613f0f5ed76ce0ea0751da520b2b3d /dev-python/gmpy
parentwhitespace (diff)
downloadhistorical-b40d6ceb9416efbf999fd8eec683b997e037f974.tar.gz
historical-b40d6ceb9416efbf999fd8eec683b997e037f974.tar.bz2
historical-b40d6ceb9416efbf999fd8eec683b997e037f974.zip
Version bump. src_test added.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/ChangeLog9
-rw-r--r--dev-python/gmpy/Manifest4
-rw-r--r--dev-python/gmpy/gmpy-1.04.ebuild49
3 files changed, 59 insertions, 3 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog
index 7f58857428cd..3cfa70287297 100644
--- a/dev-python/gmpy/ChangeLog
+++ b/dev-python/gmpy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/gmpy
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.7 2008/09/12 13:20:35 sbriesen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.8 2009/02/24 21:05:29 grozin Exp $
+
+*gmpy-1.04 (24 Feb 2009)
+
+ 24 Feb 2009; Andrey Grozin <grozin@gentoo.org> +gmpy-1.04.ebuild:
+ Version bump. src_test added.
12 Sep 2008; Stefan Briesenick <sbriesen@gentoo.org> -gmpy-1.0.ebuild:
removed old version
diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest
index fb2c73db8429..978295ffc251 100644
--- a/dev-python/gmpy/Manifest
+++ b/dev-python/gmpy/Manifest
@@ -1,6 +1,8 @@
DIST gmpy-1.03.zip 86711 RMD160 b19e5b079d527791041e5a1bd1c7e7fc2d4d405a SHA1 e6cbfaa7921a948134eed6f6123cf9f475d445df SHA256 dfb02ffd2356aee74c756ac8e235bcaa89e3e0e5199f9fd4b9dfda54c7ff71c7
+DIST gmpy-1.04.zip 234390 RMD160 66ae7f7254214d8566be7d10cc2081f865f8e4ae SHA1 f281de552f756e37ca5ac256c769808d5ff41214 SHA256 c5f6d85891f04c77fc14070250ffc9ee2e12af41d5f176d4f0888897856f65e9
DIST gmpy-sources-101.zip 76703 RMD160 596763c55d4aa8a560519ba60782f139f3311b0e SHA1 ce3f408ef12ec193ff7bf8b2ec987db438cfbea5 SHA256 5cd061fa5d4906d6aa7183393c98d070dc689cbb946c13bebab6d6e4ecdc2231
EBUILD gmpy-1.01.ebuild 997 RMD160 6f42945c59669fa77ec64a7ea878c067645a1009 SHA1 9b14b780af8b975cf201dc34bc7e6e84c22cb11a SHA256 e3493bf3711f616a1c340605d37bd5b6b1e320e9bcac6dbce7571175431b341b
EBUILD gmpy-1.03.ebuild 950 RMD160 80a4bc12384f99e02854e5155930e15ccfadba2e SHA1 2c9f9991624f9bf9deffb8d48bed95e668d9d883 SHA256 1262d71dfd8801b4abc4bb7732f253d98c5f908fb78f42fdcefe58fb7b307e13
-MISC ChangeLog 1103 RMD160 de0db09c4459bd32e0f0def501d69fe5decb85ac SHA1 e3b2d3fd5fe3cd4dfd259d161a4218df9158582e SHA256 5ab26287740770a70cd5890bde9811a10a14355247188066478f5ec29e33f6b4
+EBUILD gmpy-1.04.ebuild 1036 RMD160 7e74f9eef70ab2ca30add387d0edd9fc5f936ced SHA1 d4da6417ed1f76af0f485ed75740e5b730351aaf SHA256 2ee67970b3fad0d0c3d980a786771a041129873529a5788c25f220dccb7d3384
+MISC ChangeLog 1228 RMD160 e6db02fcd51a6e6890fa2bb57e84547cd744fc9d SHA1 e484fc59d9428fd2f7b49323139caadc666ecb0b SHA256 e2b52a12c9826ae34044d8b9c663fa4a22e87f6765a58028364e12f9364bb290
MISC metadata.xml 414 RMD160 460502ba7642ab6dd5740c5570647db3fafccb8a SHA1 594bff481454fe63ed2cb1b2cee92809dd58c84c SHA256 951639e56865905914506e9cdb3ef3019769f650c37d24c16e500443be7339d6
diff --git a/dev-python/gmpy/gmpy-1.04.ebuild b/dev-python/gmpy/gmpy-1.04.ebuild
new file mode 100644
index 000000000000..ba96987335b1
--- /dev/null
+++ b/dev-python/gmpy/gmpy-1.04.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.04.ebuild,v 1.1 2009/02/24 21:05:29 grozin Exp $
+
+inherit distutils
+
+DESCRIPTION="Python bindings for dev-libs/gmp"
+HOMEPAGE="http://www.aleax.it/gmpy.html"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/python
+ dev-libs/gmp"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # HACK: distutils only support 'setup.py', so
+ # we symlink what we need to 'setup.py' later
+ mv setup.py setmp.py
+}
+
+src_compile() {
+ local i
+ for i in mp es; do
+ ln -snf "set${i}.py" "setup.py" && distutils_src_compile
+ done
+}
+
+src_install() {
+ local i
+ for i in mp es; do
+ ln -snf "set${i}.py" "setup.py" && distutils_src_install
+ done
+ dohtml doc/index.html
+ dodoc doc/gmpydoc.txt
+}
+
+src_test() {
+ cd test
+ PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" gmpy_test.py
+}