summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pyopenal/ChangeLog8
-rw-r--r--dev-python/pyopenal/pyopenal-0.1.6.ebuild30
2 files changed, 23 insertions, 15 deletions
diff --git a/dev-python/pyopenal/ChangeLog b/dev-python/pyopenal/ChangeLog
index ea62104da7ce..c8d5dfeb2d0a 100644
--- a/dev-python/pyopenal/ChangeLog
+++ b/dev-python/pyopenal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyopenal
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/ChangeLog,v 1.21 2008/10/06 09:37:48 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenal/ChangeLog,v 1.22 2010/12/26 16:10:18 arfrever Exp $
+
+ 26 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyopenal-0.1.6.ebuild:
+ Fix dependencies. Set SUPPORT_PYTHON_ABIS.
06 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> pyopenal-0.1.6.ebuild:
Fix build-time dependencies.
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"
}