# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/gentoo-de-devutils/gentoo-de-devutils-0.0.6.ebuild,v 1.1 2006/12/17 10:25:39 dertobi123 Exp $ inherit eutils MY_PV=2.1.1 PATCHVER="" MY_PN=portage MY_P=${MY_PN}-${MY_PV} DESCRIPTION="Utils for development on the gentoo-de Overlay" HOMEPAGE="http://www.gentoo.de/" SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" IUSE="" RESTRICT="nomirror" DEPEND="" RDEPEND="dev-lang/python" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} cd ${S} #epatch ${WORKDIR}/${MY_P}${PATCHVER}.patch cd ${S}/bin sed -i repoman \ -e '/repoman_settings\["PORTDIR_OVERLAY"\]=""/s:repoman:#repoman:' \ -e 's:have_profile_dir(mydir, subdir.count("/")):0:' #epatch ${FILESDIR}/gentoo-de-repoman-${PV}.diff } src_install() { cd ${S}/bin exeinto /usr/bin newexe repoman gentoo-de-repoman }