diff options
Diffstat (limited to 'dev-python/optik/optik-1.4.ebuild')
-rw-r--r-- | dev-python/optik/optik-1.4.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dev-python/optik/optik-1.4.ebuild b/dev-python/optik/optik-1.4.ebuild index 37a48f7f27f9..7df0d77127a8 100644 --- a/dev-python/optik/optik-1.4.ebuild +++ b/dev-python/optik/optik-1.4.ebuild @@ -1,11 +1,9 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/optik/optik-1.4.ebuild,v 1.8 2004/06/25 01:35:33 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/optik/optik-1.4.ebuild,v 1.1 2002/12/11 22:51:08 blauwers Exp $ -inherit distutils - -IUSE="" S="${WORKDIR}/Optik-${PV}" + DESCRIPTION="Optik is a powerful, flexible, easy-to-use command-line parsing library for Python." SRC_URI="mirror://sourceforge/optik/Optik-${PV}.tar.gz" HOMEPAGE="http://optik.sourceforge.net/" @@ -13,13 +11,15 @@ HOMEPAGE="http://optik.sourceforge.net/" DEPEND="virtual/python" SLOT="0" -KEYWORDS="x86 sparc ~alpha" +KEYWORDS="~x86 ~sparc ~alpha" LICENSE="BSD" -mydoc="*.txt" -src_install() { - distutils_src_install - insinto /usr/share/doc/${PF}/examples - doins examples/* +src_compile() { + python setup.py build || die +} + +src_install () { + python setup.py install --root=${D} --prefix=/usr || die + dodoc *.txt examples/* } |