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/app-portage/gentoolkit-dev/gentoolkit-dev-9999.ebuild

43 lines
1021 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit-dev/gentoolkit-dev-9999.ebuild,v 1.9 2011/09/20 22:11:46 mgorny Exp $
EAPI="3"
PYTHON_DEPEND="*:2.6"
PYTHON_USE_WITH="xml"
EGIT_MASTER="gentoolkit-dev"
inherit git-2 python
DESCRIPTION="Collection of developer scripts for Gentoo"
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
SRC_URI=""
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/gentoolkit.git
http://git.overlays.gentoo.org/gitroot/proj/gentoolkit.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="sys-apps/portage
dev-lang/perl
sys-apps/diffutils"
src_test() {
# echangelog test is not able to run as root
# the EUID check may not work for everybody
if [[ ${EUID} -ne 0 ]];
then
emake test || die
else
ewarn "test skipped, please re-run as non-root if you wish to test ${PN}"
fi
}
src_install() {
emake DESTDIR="${ED}" install || die
}