summaryrefslogtreecommitdiff
blob: 4ae51934796c3a9978f64f3d80723040e4b77ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgcore-checks/pkgcore-checks-0.2-r1.ebuild,v 1.2 2007/01/25 12:50:32 fmccor Exp $

inherit distutils eutils

DESCRIPTION="pkgcore developmental repoman replacement"
HOMEPAGE="http://www.pkgcore.org/"
SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
IUSE=""

RDEPEND="=sys-apps/pkgcore-0.2*
	>=dev-lang/python-2.4"
DEPEND=">=dev-lang/python-2.4"

src_test() {
	cd "${S}"
	"${python}" setup.py test || die "tests returned non zero"
}

pkg_postinst() {
	echo "updating pkgcore plugin cache"
	pplugincache pkgcore_checks.plugins
}