diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-20 17:35:26 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-20 17:35:26 +0000 |
commit | f61fce3cbc9468d4f12947b2bf929edff82b14dd (patch) | |
tree | c2ce148080b5e852e9688368348e762c5677ee13 /dev-python/pyprotocols | |
parent | version bump, proxy commit for polynomial-c (diff) | |
download | gentoo-2-f61fce3cbc9468d4f12947b2bf929edff82b14dd.tar.gz gentoo-2-f61fce3cbc9468d4f12947b2bf929edff82b14dd.tar.bz2 gentoo-2-f61fce3cbc9468d4f12947b2bf929edff82b14dd.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 15121-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyprotocols')
-rw-r--r-- | dev-python/pyprotocols/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild | 19 |
2 files changed, 18 insertions, 7 deletions
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 <arfrever@gentoo.org> + pyprotocols-1.0_pre2306.ebuild: + Set SUPPORT_PYTHON_ABIS. 11 Oct 2009; Fabian Groffen <grobian@gentoo.org> 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 } |