diff options
Diffstat (limited to 'dev-python/pyopenal/pyopenal-0.1.6.ebuild')
-rw-r--r-- | dev-python/pyopenal/pyopenal-0.1.6.ebuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/dev-python/pyopenal/pyopenal-0.1.6.ebuild b/dev-python/pyopenal/pyopenal-0.1.6.ebuild index 208376dc12a9..1fa82951d21b 100644 --- a/dev-python/pyopenal/pyopenal-0.1.6.ebuild +++ b/dev-python/pyopenal/pyopenal-0.1.6.ebuild @@ -1,10 +1,15 @@ -# 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/pyopenal/pyopenal-0.1.6.ebuild,v 1.8 2008/10/06 09:37:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/pyopenal-0.1.6.ebuild,v 1.9 2010/12/26 16:10:18 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" inherit distutils eutils -MY_P=${P/pyopenal/PyOpenAL} +MY_P="${P/pyopenal/PyOpenAL}" DESCRIPTION="OpenAL library port for Python" HOMEPAGE="http://home.gna.org/oomadness/en/pyopenal/" @@ -15,18 +20,17 @@ SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="" -RDEPEND=">=dev-lang/python-2.2.2 +DEPEND=">=dev-python/pyogg-1.1 >=dev-python/pyvorbis-1.1 - >=dev-python/pyogg-1.1 - media-libs/openal - media-libs/freealut" -DEPEND="${RDEPEND}" + media-libs/freealut + media-libs/openal" +RDEPEND="${DEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" DOCS="AUTHORS CHANGES" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-setup.patch || die "patching" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${P}-setup.patch" } |