summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-01 00:20:19 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-01 00:20:19 +0000
commit1025e5827debfbf205127695eed3e5a0b8263dd7 (patch)
tree27585102071ec45576ccd3eb08c6e8bf43d5ed28 /dev-python/pyid3lib
parentApply correct patch. Thanks to Nathan Phillip Brink (ohnobinki) <ohnobinki@oh... (diff)
downloadgentoo-2-1025e5827debfbf205127695eed3e5a0b8263dd7.tar.gz
gentoo-2-1025e5827debfbf205127695eed3e5a0b8263dd7.tar.bz2
gentoo-2-1025e5827debfbf205127695eed3e5a0b8263dd7.zip
Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. Avoid breaking strict-aliasing rules.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyid3lib')
-rw-r--r--dev-python/pyid3lib/ChangeLog9
-rw-r--r--dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild26
2 files changed, 24 insertions, 11 deletions
diff --git a/dev-python/pyid3lib/ChangeLog b/dev-python/pyid3lib/ChangeLog
index 80c1413c8aee..3a4633537581 100644
--- a/dev-python/pyid3lib/ChangeLog
+++ b/dev-python/pyid3lib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyid3lib
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyid3lib/ChangeLog,v 1.19 2009/07/04 16:05:10 arfrever Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyid3lib/ChangeLog,v 1.20 2010/11/01 00:20:19 arfrever Exp $
+
+ 01 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyid3lib-0.5.1-r1.ebuild:
+ Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. Avoid breaking
+ strict-aliasing rules.
04 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-pyid3lib-0.5.1.ebuild, pyid3lib-0.5.1-r1.ebuild,
diff --git a/dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild b/dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild
index 83dbc00ec928..dfb1a0434aaa 100644
--- a/dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild
+++ b/dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild
@@ -1,28 +1,36 @@
-# Copyright 1999-2009 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/pyid3lib/pyid3lib-0.5.1-r1.ebuild,v 1.8 2009/07/04 16:05:10 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyid3lib/pyid3lib-0.5.1-r1.ebuild,v 1.9 2010/11/01 00:20:19 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
DESCRIPTION="Module for manipulating ID3 tags in Python"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
HOMEPAGE="http://pyid3lib.sourceforge.net/"
-IUSE=""
-SLOT="0"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
LICENSE="LGPL-2.1"
+SLOT="0"
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86"
-DEPEND="virtual/python
- media-libs/id3lib"
+IUSE=""
+
+DEPEND="media-libs/id3lib"
RDEPEND="${DEPEND}"
+PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
+
src_prepare() {
+ distutils_src_prepare
+
epatch "${FILESDIR}/${P}-gcc-4.4.patch"
epatch "${FILESDIR}/${P}-py25.patch"
}
src_install() {
distutils_src_install
- dohtml doc.html
+ dohtml doc.html || die "dohtml failed"
}