diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-25 15:40:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-25 15:40:13 +0000 |
commit | cf9af9b5c2900ced3316fa7629533e9ca076a005 (patch) | |
tree | aff6157937398fd33e6a2f372a6b205e5fc95ea1 /dev-python/gmpy | |
parent | Mask <kde-misc/kshutdown-1.9999. (diff) | |
download | gentoo-2-cf9af9b5c2900ced3316fa7629533e9ca076a005.tar.gz gentoo-2-cf9af9b5c2900ced3316fa7629533e9ca076a005.tar.bz2 gentoo-2-cf9af9b5c2900ced3316fa7629533e9ca076a005.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14724-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r-- | dev-python/gmpy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-1.01.ebuild | 48 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-1.10.ebuild (renamed from dev-python/gmpy/gmpy-1.03.ebuild) | 30 |
3 files changed, 28 insertions, 58 deletions
diff --git a/dev-python/gmpy/ChangeLog b/dev-python/gmpy/ChangeLog index 3cfa70287297..e79c8cddd85f 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.8 2009/02/24 21:05:29 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/ChangeLog,v 1.9 2009/10/25 15:40:13 arfrever Exp $ + +*gmpy-1.10 (25 Oct 2009) + + 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -gmpy-1.01.ebuild, -gmpy-1.03.ebuild, +gmpy-1.10.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *gmpy-1.04 (24 Feb 2009) diff --git a/dev-python/gmpy/gmpy-1.01.ebuild b/dev-python/gmpy/gmpy-1.01.ebuild deleted file mode 100644 index 924ecfa7b9d8..000000000000 --- a/dev-python/gmpy/gmpy-1.01.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.01.ebuild,v 1.3 2006/04/01 14:58:07 agriffis Exp $ - -inherit distutils - -MY_PV=${PV//.} - -DESCRIPTION="Python bindings for dev-libs/gmp" -HOMEPAGE="http://gmpy.sourceforge.net/" -SRC_URI="mirror://sourceforge/gmpy/${PN}-sources-${MY_PV}.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~x86" -IUSE="" - -S="${WORKDIR}/${PN}" - -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 -} diff --git a/dev-python/gmpy/gmpy-1.03.ebuild b/dev-python/gmpy/gmpy-1.10.ebuild index b4f07f0abda3..4506ecb11058 100644 --- a/dev-python/gmpy/gmpy-1.03.ebuild +++ b/dev-python/gmpy/gmpy-1.10.ebuild @@ -1,11 +1,14 @@ -# Copyright 1999-2008 Gentoo Foundation +# 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.03.ebuild,v 1.1 2008/09/12 13:18:33 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.10.ebuild,v 1.1 2009/10/25 15:40:13 arfrever 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 |