summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-13 17:53:37 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-13 17:53:37 +0000
commit882ae2bb6a2ef8c6b9d86b3a05f52135f19b936b (patch)
tree19a5c51237a2a51fba162891a0d7942e9226f2a8 /dev-python/pyvorbis
parentDelete older ebuilds. (diff)
downloadgentoo-2-882ae2bb6a2ef8c6b9d86b3a05f52135f19b936b.tar.gz
gentoo-2-882ae2bb6a2ef8c6b9d86b3a05f52135f19b936b.tar.bz2
gentoo-2-882ae2bb6a2ef8c6b9d86b3a05f52135f19b936b.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 15825-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyvorbis')
-rw-r--r--dev-python/pyvorbis/ChangeLog8
-rw-r--r--dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild24
2 files changed, 20 insertions, 12 deletions
diff --git a/dev-python/pyvorbis/ChangeLog b/dev-python/pyvorbis/ChangeLog
index b08a64ffa3b3..941aeb9aa100 100644
--- a/dev-python/pyvorbis/ChangeLog
+++ b/dev-python/pyvorbis/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyvorbis
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvorbis/ChangeLog,v 1.44 2008/07/07 00:06:09 jer Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvorbis/ChangeLog,v 1.45 2010/03/13 17:53:37 arfrever Exp $
+
+ 13 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyvorbis-1.4-r3.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
07 Jul 2008; Jeroen Roovers <jer@gentoo.org> pyvorbis-1.4-r3.ebuild:
Stable for HPPA (bug #228541).
diff --git a/dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild b/dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild
index f724dd21ea20..513358ad18ed 100644
--- a/dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild
+++ b/dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild
@@ -1,6 +1,10 @@
-# 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/pyvorbis/pyvorbis-1.4-r3.ebuild,v 1.8 2008/07/07 00:06:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvorbis/pyvorbis-1.4-r3.ebuild,v 1.9 2010/03/13 17:53:37 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils
@@ -13,23 +17,23 @@ SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
-DEPEND="dev-lang/python
+DEPEND=">=dev-python/pyogg-1.1
>=media-libs/libogg-1.0
- >=media-libs/libvorbis-1.0
- >=dev-python/pyogg-1.1"
+ >=media-libs/libvorbis-1.0"
+RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
DOCS="AUTHORS COPYING ChangeLog NEWS README"
-src_unpack() {
- distutils_src_unpack
+src_prepare() {
+ distutils_src_prepare
epatch "${FILESDIR}/pyvorbisfile.c-1.4.patch"
epatch "${FILESDIR}/${P}-python25.patch"
}
-src_compile() {
- ./config_unix.py || die
- distutils_src_compile
+src_configure() {
+ "$(PYTHON -f)" config_unix.py || die "Configuration failed"
}
src_install() {