summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-25 16:41:26 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-25 16:41:26 +0000
commit1ec79a27a3063135a581d277910e704b687c2d9c (patch)
tree44ce502e5ae50862a166139c5d24c0f3e3e88ea4 /dev-python/pymad
parentalpha/arm/ia64/sparc stable wrt #281819 (diff)
downloadgentoo-2-1ec79a27a3063135a581d277910e704b687c2d9c.tar.gz
gentoo-2-1ec79a27a3063135a581d277910e704b687c2d9c.tar.bz2
gentoo-2-1ec79a27a3063135a581d277910e704b687c2d9c.zip
Fix dependencies. Set SUPPORT_PYTHON_ABIS.
(Portage version: 2.2.0_alpha10_p8/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pymad')
-rw-r--r--dev-python/pymad/ChangeLog8
-rw-r--r--dev-python/pymad/pymad-0.6.ebuild18
2 files changed, 18 insertions, 8 deletions
diff --git a/dev-python/pymad/ChangeLog b/dev-python/pymad/ChangeLog
index 435df4dad793..13d00e5f64d1 100644
--- a/dev-python/pymad/ChangeLog
+++ b/dev-python/pymad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pymad
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymad/ChangeLog,v 1.23 2008/03/21 19:17:38 hawking Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymad/ChangeLog,v 1.24 2010/12/25 16:41:26 arfrever Exp $
+
+ 25 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pymad-0.6.ebuild:
+ Fix dependencies. Set SUPPORT_PYTHON_ABIS.
21 Mar 2008; Ali Polatel <hawking@gentoo.org> pymad-0.5.4.ebuild,
pymad-0.6.ebuild:
diff --git a/dev-python/pymad/pymad-0.6.ebuild b/dev-python/pymad/pymad-0.6.ebuild
index 2624d511e287..763ef79b64ba 100644
--- a/dev-python/pymad/pymad-0.6.ebuild
+++ b/dev-python/pymad/pymad-0.6.ebuild
@@ -1,6 +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/pymad/pymad-0.6.ebuild,v 1.3 2008/03/21 19:17:38 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymad/pymad-0.6.ebuild,v 1.4 2010/12/25 16:41:26 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
@@ -8,16 +13,17 @@ DESCRIPTION="Python wrapper for libmad MP3 decoding in python"
HOMEPAGE="http://www.spacepants.org/src/pymad/"
SRC_URI="http://www.spacepants.org/src/pymad/download/${P}.tar.gz"
-IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
DEPEND="media-libs/libmad"
+RDEPEND="${DEPEND}"
DOCS="AUTHORS THANKS"
-src_compile() {
- ./config_unix.py --prefix /usr || die
- distutils_src_compile
+src_configure() {
+ echo "$(PYTHON -f)" config_unix.py --prefix "${EPREFIX}/usr"
+ "$(PYTHON -f)" config_unix.py --prefix "${EPREFIX}/usr" || die "Configuration failed"
}