diff options
author | 2010-07-10 20:22:27 +0000 | |
---|---|---|
committer | 2010-07-10 20:22:27 +0000 | |
commit | ada8bfb0eef654ca912f5c3cac8caef73f8deff3 (patch) | |
tree | fadcabd7e2bcceff079dc24888f38f5bbd39dda8 /dev-python/PyAmanith/PyAmanith-0.3.34.ebuild | |
parent | Export required symbols wrt #276571 by Ryan Hill. (diff) | |
download | historical-ada8bfb0eef654ca912f5c3cac8caef73f8deff3.tar.gz historical-ada8bfb0eef654ca912f5c3cac8caef73f8deff3.tar.bz2 historical-ada8bfb0eef654ca912f5c3cac8caef73f8deff3.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/PyAmanith/PyAmanith-0.3.34.ebuild')
-rw-r--r-- | dev-python/PyAmanith/PyAmanith-0.3.34.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild b/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild index b6d31f7db0bd..95bea6a3e5b8 100644 --- a/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild +++ b/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild,v 1.3 2008/05/12 07:25:10 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild,v 1.4 2010/07/10 20:22:27 arfrever Exp $ -NEED_PYTHON=2.3 +EAPI="3" +SUPPORT_PYTHON_ABIS="1" -inherit eutils distutils +inherit distutils eutils DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library" HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/" @@ -19,13 +20,17 @@ RDEPEND=">=media-libs/amanith-0.3" DEPEND="${RDEPEND} >=dev-lang/swig-1.3.29" -src_unpack() { - distutils_src_unpack +PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") + +PYTHON_MODNAME="amanith.py" + +src_prepare() { + distutils_src_prepare # perhaps someone with more swig/distutils clout can make this # package stop sucking so hard sed -i \ -e '/include/s:build/amanith/include/::' \ headers.i - epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}/${P}-build.patch" } |