You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/gtkhtml-python/gtkhtml-python-2.25.3.ebuild

37 lines
1.1 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkhtml-python/gtkhtml-python-2.25.3.ebuild,v 1.11 2013/04/26 02:49:33 patrick Exp $
EAPI="2"
G_PY_PN="gnome-python-extras"
G_PY_BINDINGS="gtkhtml2"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
inherit autotools eutils gnome-python-common
PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
DESCRIPTION="A dynamic object module to interface GtkHTML with Python"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND="=gnome-extra/gtkhtml-2*"
DEPEND="${RDEPEND}
virtual/pkgconfig
gnome-base/gnome-common"
# eautoreconf needs gnome-base/gnome-common
EXAMPLES="examples/gtkhtml2/*"
src_prepare() {
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
eautoreconf
gnome-python-common_src_prepare
}