diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-15 16:41:08 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-15 16:41:08 +0000 |
commit | 30cec111c8c268667d760ff87bd75281a40cb828 (patch) | |
tree | e13009a7b79718b589841a7210456269ecf009e3 /dev-python/pyme | |
parent | Fix building with >=app-crypt/gpgme-1.2.0 (bug #278720). (diff) | |
download | gentoo-2-30cec111c8c268667d760ff87bd75281a40cb828.tar.gz gentoo-2-30cec111c8c268667d760ff87bd75281a40cb828.tar.bz2 gentoo-2-30cec111c8c268667d760ff87bd75281a40cb828.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14065-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyme')
-rw-r--r-- | dev-python/pyme/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyme/pyme-0.8.1.ebuild | 27 |
2 files changed, 17 insertions, 16 deletions
diff --git a/dev-python/pyme/ChangeLog b/dev-python/pyme/ChangeLog index 001808890e48..c4b9c88a6cff 100644 --- a/dev-python/pyme/ChangeLog +++ b/dev-python/pyme/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyme # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.26 2009/08/15 16:21:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.27 2009/08/15 16:41:08 arfrever Exp $ + + 15 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyme-0.8.1.ebuild: + Set SUPPORT_PYTHON_ABIS. 15 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> pyme-0.6.0-r1.ebuild: diff --git a/dev-python/pyme/pyme-0.8.1.ebuild b/dev-python/pyme/pyme-0.8.1.ebuild index 5bb3e8434c2a..78e0d01b418c 100644 --- a/dev-python/pyme/pyme-0.8.1.ebuild +++ b/dev-python/pyme/pyme-0.8.1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.2 2009/07/23 20:41:45 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.3 2009/08/15 16:41:08 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils eutils @@ -19,6 +20,8 @@ RDEPEND=">=app-crypt/gpgme-0.9.0" DEPEND="${RDEPEND} dev-lang/swig" +RESTRICT_PYTHON_ABIS="3*" + src_prepare() { distutils_src_prepare @@ -32,11 +35,17 @@ src_prepare() { } src_compile() { - PYTHON="/usr/bin/python" - emake -j1 swig || die "emake swig failed" + emake -j1 PYTHON="/usr/bin/python" swig || die "emake swig failed" distutils_src_compile } +src_test() { + testing() { + PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py || die "genkey test failed with Python ${PYTHON_ABI}" + } + python_execute_function testing +} + src_install() { distutils_src_install use doc && dohtml -r doc/* @@ -46,15 +55,3 @@ src_install() { doins examples/* fi } - -src_test() { - env PYTHONPATH=$(echo build/lib.*) \ - "${python}" examples/genkey.py || die "genkey test failed" -} - -#src_test() { -# tests() { -# PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "${PYTHON}" examples/genkey.py || die "genkey test failed" -# } -# python_execute_function tests -#} |