From f61fce3cbc9468d4f12947b2bf929edff82b14dd Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 20 Dec 2009 17:35:26 +0000 Subject: Set SUPPORT_PYTHON_ABIS. (Portage version: 15121-svn/cvs/Linux x86_64) --- dev-python/pyprotocols/ChangeLog | 6 +++++- dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild | 19 +++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) (limited to 'dev-python/pyprotocols') diff --git a/dev-python/pyprotocols/ChangeLog b/dev-python/pyprotocols/ChangeLog index 67897f550830..1798b6867455 100644 --- a/dev-python/pyprotocols/ChangeLog +++ b/dev-python/pyprotocols/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyprotocols # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.19 2009/10/11 10:54:18 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.20 2009/12/20 17:35:26 arfrever Exp $ + + 20 Dec 2009; Arfrever Frehtes Taifersar Arahesis + pyprotocols-1.0_pre2306.ebuild: + Set SUPPORT_PYTHON_ABIS. 11 Oct 2009; Fabian Groffen pyprotocols-1.0_pre2306.ebuild: diff --git a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild index c15075f69fed..ba2edf726345 100644 --- a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild +++ b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild @@ -1,17 +1,19 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild,v 1.6 2009/10/11 10:54:18 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild,v 1.7 2009/12/20 17:35:26 arfrever Exp $ -NEED_PYTHON=2.4 +EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils -MY_PN=PyProtocols -MY_P=${MY_PN}-${PV/_pre/a0dev_r} +MY_PN="PyProtocols" +MY_P="${MY_PN}-${PV/_pre/a0dev_r}" DESCRIPTION="Extends the PEP 246 adapt() function with a new 'declaration API' that lets you easily define your own protocols and adapters, and declare what adapters should be used to adapt what types, objects, or protocols." -HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html" +HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html http://pypi.python.org/pypi/PyProtocols" SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" LICENSE="|| ( PSF-2.4 ZPL )" SLOT="0" @@ -20,11 +22,16 @@ IUSE="" RDEPEND=">=dev-python/decoratortools-1.4" DEPEND="${RDEPEND} >=dev-python/setuptools-0.6_rc5" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_PN}" +DOCS="CHANGES.txt README.txt UPGRADING.txt" PYTHON_MODNAME="protocols" src_test() { - PYTHONPATH="./src/" "${python}" setup.py test || die "tests failed" + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing } -- cgit v1.2.3-65-gdbad