diff options
-rw-r--r-- | dev-python/gmpy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/gmpy/Manifest | 16 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-1.11.ebuild (renamed from dev-python/gmpy/gmpy-1.04.ebuild) | 35 |
3 files changed, 32 insertions, 29 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog index e73aa4f3b968..8420782ffb8b 100644 --- a/dev-python/gmpy/ChangeLog +++ b/dev-python/gmpy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/gmpy -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.11 2009/12/31 16:24:19 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.12 2010/02/12 16:10:31 grozin Exp $ + +*gmpy-1.11 (12 Feb 2010) + + 12 Feb 2010; Andrey Grozin <grozin@gentoo.org> -gmpy-1.04.ebuild, + +gmpy-1.11.ebuild: + Version bump 31 Dec 2009; Christian Faulhammer <fauli@gentoo.org> gmpy-1.10.ebuild: stable x86, bug 287622 diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest index 4cf35bfdd98a..e633144df15b 100644 --- a/dev-python/gmpy/Manifest +++ b/dev-python/gmpy/Manifest @@ -1,16 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST gmpy-1.04.zip 234390 RMD160 66ae7f7254214d8566be7d10cc2081f865f8e4ae SHA1 f281de552f756e37ca5ac256c769808d5ff41214 SHA256 c5f6d85891f04c77fc14070250ffc9ee2e12af41d5f176d4f0888897856f65e9 DIST gmpy-1.10.zip 136012 RMD160 d4c7cb9ad9df28fcb5f30e2fd97d420b1128d87a SHA1 76c79a4ba20fd44e1277618dcc6374d5bca3d958 SHA256 289822eadeb24d98b07195b1889e453c6ea609503dd488ebdd787375cf09b863 -EBUILD gmpy-1.04.ebuild 1036 RMD160 7e74f9eef70ab2ca30add387d0edd9fc5f936ced SHA1 d4da6417ed1f76af0f485ed75740e5b730351aaf SHA256 2ee67970b3fad0d0c3d980a786771a041129873529a5788c25f220dccb7d3384 +DIST gmpy-1.11.zip 144744 RMD160 3575da6c7eab9c12216d839b0ee12f5bb3d5a40a SHA1 5b163a60d678881141ed7e81c4806270ffee9774 SHA256 06647522b42dfaf1d0ba8dce34d0e291fa61e3d8d8123fa52c5b78a8a4a4281a EBUILD gmpy-1.10.ebuild 1249 RMD160 06e745e728aa8c538208ca67b80b6e3a6805517a SHA1 8106321a13a696b6bcc94649162bd3f9fbf7ebce SHA256 44f136bf4d0782f86d7cd968dd9d30d2207facf3b7c349cc6fcd6fc9a80c83f0 -MISC ChangeLog 1619 RMD160 230931aea3fa16e095f9a87610784b0c7cde83d1 SHA1 41a0070a432587d4f8a1c14c58ac69a97b032377 SHA256 b529995fdbfb54f36200b4a7373cf89ca8c10decf651c1ed1a88dbb3193e08da +EBUILD gmpy-1.11.ebuild 1252 RMD160 04cb6443e7c3ea0c86ad878deb9c539f602f2f2c SHA1 ea3cde4e2564294812b2044aadff6261970ffc48 SHA256 0d01cede5912ec8069f0c0fef82b563f9dfc990e6c6ac80cc0a9fce9ae5b832d +MISC ChangeLog 1751 RMD160 57207f384a550594c64b867efdfe5f625795faae SHA1 4c961e490d61657b8932b2a50161cbc99a4e7050 SHA256 63d26b55fbe0190a4690bae73748160fa1a941ffffa5e6d07327a2740d0c7605 MISC metadata.xml 414 RMD160 460502ba7642ab6dd5740c5570647db3fafccb8a SHA1 594bff481454fe63ed2cb1b2cee92809dd58c84c SHA256 951639e56865905914506e9cdb3ef3019769f650c37d24c16e500443be7339d6 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAks80DgACgkQNQqtfCuFneMSuwCeMjpBHwR3HePD3zapLefMM0vS -+sMAn3gjS3rYqXleQWP9LthlWE50HKC5 -=vROE ------END PGP SIGNATURE----- diff --git a/dev-python/gmpy/gmpy-1.04.ebuild b/dev-python/gmpy/gmpy-1.11.ebuild index ba96987335b1..fc92294225b1 100644 --- a/dev-python/gmpy/gmpy-1.04.ebuild +++ b/dev-python/gmpy/gmpy-1.11.ebuild @@ -1,11 +1,14 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.11.ebuild,v 1.1 2010/02/12 16:10:31 grozin Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Python bindings for dev-libs/gmp" -HOMEPAGE="http://www.aleax.it/gmpy.html" +HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/" SRC_URI="http://${PN}.googlecode.com/files/${P}.zip" LICENSE="LGPL-2.1" @@ -13,15 +16,11 @@ SLOT="0" KEYWORDS="~amd64 ~ia64 ~x86" IUSE="" -RDEPEND="virtual/python - dev-libs/gmp" +RDEPEND="dev-libs/gmp" DEPEND="${RDEPEND} app-arch/unzip" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { # HACK: distutils only support 'setup.py', so # we symlink what we need to 'setup.py' later mv setup.py setmp.py @@ -34,6 +33,19 @@ src_compile() { done } +src_test() { + testing() { + if [[ "${PYTHON_ABI}" == 3.* ]]; then + pushd test3 > /dev/null + else + pushd test > /dev/null + fi + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" gmpy_test.py || return 1 + popd > /dev/null + } + python_execute_function testing +} + src_install() { local i for i in mp es; do @@ -42,8 +54,3 @@ src_install() { dohtml doc/index.html dodoc doc/gmpydoc.txt } - -src_test() { - cd test - PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" gmpy_test.py -} |