diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-29 20:49:12 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-29 20:49:12 +0000 |
commit | dfa03ea16335be5c6976aacbfae5fbd2a3f258d6 (patch) | |
tree | b21930065178a976f1c36f208f43a92c1bc08dc2 /dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild | |
parent | version bump (bug #324871) (diff) | |
download | gentoo-2-dfa03ea16335be5c6976aacbfae5fbd2a3f258d6.tar.gz gentoo-2-dfa03ea16335be5c6976aacbfae5fbd2a3f258d6.tar.bz2 gentoo-2-dfa03ea16335be5c6976aacbfae5fbd2a3f258d6.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild')
-rw-r--r-- | dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild b/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild index 9f47e2af525c..48d993acc2b1 100644 --- a/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild +++ b/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild @@ -1,36 +1,40 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild,v 1.3 2010/02/08 08:48:35 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild,v 1.4 2010/06/29 20:49:12 arfrever Exp $ -EAPI="2" -NEED_PYTHON=2.4 +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" -inherit eutils distutils versionator +inherit distutils eutils versionator -MY_PN=RuleDispatch -MY_P=${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-) -MY_P=${MY_P/pre/r} +MY_PN="RuleDispatch" +MY_P="${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-)" +MY_P="${MY_P/pre/r}" DESCRIPTION="Rule-based Dispatching and Generic Functions" HOMEPAGE="http://peak.telecommunity.com/" +# http://svn.eby-sarna.com/RuleDispatch/ SRC_URI="mirror://gentoo/${MY_P}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + LICENSE="|| ( PSF-2.4 ZPL )" SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="" RDEPEND=">=dev-python/pyprotocols-1.0_pre2306" DEPEND="${RDEPEND} - >=dev-python/setuptools-0.6_rc5" + dev-python/setuptools" S="${WORKDIR}/${MY_PN}" +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + PYTHON_MODNAME="dispatch" -src_prepare(){ +src_prepare() { + distutils_src_prepare epatch "${FILESDIR}/${PN}_as_syntax_fix.patch" } - -src_test() { - PYTHONPATH=./src/ "${python}" setup.py test || die "tests failed" -} |