summaryrefslogtreecommitdiff
blob: 6b14918dfe628e86d482923d61c349e77e1687c7 (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
29
30
31
32
33
34
35
36
37
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils distutils

DESCRIPTION="An alternate frontend for portage "
HOMEPAGE="http://projects.pardus.de/polymeraze"
SRC_URI="http://build.pardus.de/downloads/${PF}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${PF}

DEPEND=""

src_install() {

	distutils_src_install

	dodir /etc/polymeraze
	cp etc/* ${D}/etc/polymeraze/

#	doman doc/polymeraze.8
#	dohtml doc/polymeraze.8.html
}

src_test() {
	cd ${S}
	einfo "Running polymeraze doctests..."
	if ! PYTHONPATH="." ${python} polymeraze/tests/dtest.py; then
		eerror "DocTests failed - please submit a bug report"
		die "DocTesting failed!"
	fi
}