summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 01:27:02 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 01:27:02 +0000
commit69f4ea862e2b46de0055712839ec1bca5c9fedf3 (patch)
treef3c3805d2bea7cc2f59a020c5948d372332547a3 /dev-python/kaa-imlib2
parentRemove older ebuild. (diff)
downloadgentoo-2-69f4ea862e2b46de0055712839ec1bca5c9fedf3.tar.gz
gentoo-2-69f4ea862e2b46de0055712839ec1bca5c9fedf3.tar.bz2
gentoo-2-69f4ea862e2b46de0055712839ec1bca5c9fedf3.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14182-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/kaa-imlib2')
-rw-r--r--dev-python/kaa-imlib2/ChangeLog8
-rw-r--r--dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild24
2 files changed, 18 insertions, 14 deletions
diff --git a/dev-python/kaa-imlib2/ChangeLog b/dev-python/kaa-imlib2/ChangeLog
index 536c4c728b8e..322eada39680 100644
--- a/dev-python/kaa-imlib2/ChangeLog
+++ b/dev-python/kaa-imlib2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/kaa-imlib2
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/ChangeLog,v 1.10 2008/08/16 16:12:14 rbu Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/ChangeLog,v 1.11 2009/09/04 01:27:02 arfrever Exp $
+
+ 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ kaa-imlib2-0.2.3-r1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*kaa-imlib2-0.2.3-r1 (16 Aug 2008)
diff --git a/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild b/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild
index 2b01208d2b2d..f68eed8b518c 100644
--- a/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild
+++ b/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild
@@ -1,8 +1,11 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild,v 1.1 2008/08/16 16:12:14 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r1.ebuild,v 1.2 2009/09/04 01:27:02 arfrever Exp $
-inherit python eutils distutils
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
DESCRIPTION="Imlib2 wrapper for Python."
HOMEPAGE="http://freevo.sourceforge.net/kaa/"
@@ -14,18 +17,15 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=dev-python/kaa-base-0.3.0
- dev-libs/libxml2
+ dev-libs/libxml2[python]
media-libs/imlib2"
RDEPEND="${DEPEND}"
-pkg_setup() {
- if ! built_with_use dev-libs/libxml2 python; then
- eerror "dev-libs/libxml2 must be built with the 'python' USE flag"
- die "Recompile dev-libs/libxml2 with the 'python' USE flag enabled"
- fi
-}
+RESTRICT_PYTHON_ABIS="2.4 3*"
+
+PYTHON_MODNAME="kaa"
-src_unpack() {
- distutils_src_unpack
+src_prepare() {
+ distutils_src_prepare
epatch "${FILESDIR}/kaa-imlib2-remove-png-dep.patch"
}