# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/pyparted-3.4.ebuild,v 1.11 2010/10/29 18:46:37 halcy0n Exp $ EAPI="2" inherit autotools multilib python DESCRIPTION="Python bindings for sys-block/parted" HOMEPAGE="https://fedorahosted.org/pyparted/" SRC_URI="https://fedorahosted.org/releases/p/y/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc64 sparc x86" IUSE="" DEPEND=" sys-libs/ncurses >=dev-lang/python-2.4 >=sys-block/parted-2.3 dev-python/decorator " RDEPEND="${DEPEND}" src_prepare() { sed -i -e 's/-avoid-version/& -shared /' src/Makefile.am || die "sed failed" eautoreconf } src_install() { python_need_rebuild emake DESTDIR="${D}" install || die "emake install failed" python_clean_installation_image dodoc ChangeLog NEWS README TODO }