diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-29 20:40:49 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-29 20:40:49 +0000 |
commit | 55e197899649f0eca553c18b2444060a32c90a66 (patch) | |
tree | a9ae67dfaf97559f7a2d4a1b12bacb53f97e3dce /dev-python/pyprotocols | |
parent | old (diff) | |
download | gentoo-2-55e197899649f0eca553c18b2444060a32c90a66.tar.gz gentoo-2-55e197899649f0eca553c18b2444060a32c90a66.tar.bz2 gentoo-2-55e197899649f0eca553c18b2444060a32c90a66.zip |
Set PYTHON_DEPEND. Simplify src_test(). Use -fno-strict-aliasing.
(Portage version: HEAD/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 | 22 |
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-python/pyprotocols/ChangeLog b/dev-python/pyprotocols/ChangeLog index 2eef412d0cef..5de222895d74 100644 --- a/dev-python/pyprotocols/ChangeLog +++ b/dev-python/pyprotocols/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyprotocols # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.22 2010/01/10 18:57:07 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.23 2010/06/29 20:40:49 arfrever Exp $ + + 29 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyprotocols-1.0_pre2306.ebuild: + Set PYTHON_DEPEND. Simplify src_test(). Use -fno-strict-aliasing. 10 Jan 2010; nixnut <nixnut@gentoo.org> pyprotocols-1.0_pre2306.ebuild: ppc stable #297680 diff --git a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild index 2fddd74a223c..5cbc570e905b 100644 --- a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild +++ b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild @@ -1,9 +1,12 @@ # Copyright 1999-2010 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.9 2010/01/10 18:57:07 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild,v 1.10 2010/06/29 20:40:49 arfrever Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" inherit distutils @@ -12,26 +15,21 @@ 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 http://pypi.python.org/pypi/PyProtocols" +# http://svn.eby-sarna.com/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" +KEYWORDS="amd64 ~ia64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" IUSE="" RDEPEND=">=dev-python/decoratortools-1.4" DEPEND="${RDEPEND} - >=dev-python/setuptools-0.6_rc5" -RESTRICT_PYTHON_ABIS="3.*" + dev-python/setuptools" S="${WORKDIR}/${MY_PN}" +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + DOCS="CHANGES.txt README.txt UPGRADING.txt" PYTHON_MODNAME="protocols" - -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test - } - python_execute_function testing -} |