diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2006-01-28 14:40:08 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2006-01-28 14:40:08 +0000 |
commit | 799baea18e518ab99994e66f7f264326f02a8c89 (patch) | |
tree | e8933c4c77335cf6c4f64f2eee7ad82259ecf3a5 /app-portage/layman/layman-0.7.ebuild | |
parent | Moved planner and delicious to the tree (diff) | |
download | overlay-799baea18e518ab99994e66f7f264326f02a8c89.tar.gz overlay-799baea18e518ab99994e66f7f264326f02a8c89.tar.bz2 overlay-799baea18e518ab99994e66f7f264326f02a8c89.zip |
Added layman ebuild
svn path=/stable/; revision=644
Diffstat (limited to 'app-portage/layman/layman-0.7.ebuild')
-rw-r--r-- | app-portage/layman/layman-0.7.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-portage/layman/layman-0.7.ebuild b/app-portage/layman/layman-0.7.ebuild new file mode 100644 index 0000000..8093e51 --- /dev/null +++ b/app-portage/layman/layman-0.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils distutils + +DESCRIPTION="A python script for retrieving gentoo overlays " +HOMEPAGE="http://projects.gunnarwrobel.de/scripts" +SRC_URI="http://dev.gentoo.org/~wrobel/layman/${PF}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +S=${WORKDIR}/${PF} + +DEPEND="" + +src_install() { + + distutils_src_install + + dodir /etc/layman + cp etc/layman.cfg ${D}/etc/layman/ + + #doman doc/layman.5 +} + +src_test() { + cd ${S} + einfo "Running layman doctests..." + if ! PYTHONPATH="." ${python} layman/tests/dtest.py; then + eerror "DocTests failed - please submit a bug report" + die "DocTesting failed!" + fi +} |