summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-04-04 01:38:39 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-04-04 01:38:39 +0000
commit74155dcf39b85dffccf35e9a0385b4429220a5f6 (patch)
tree8843e17b0c13db52c85378f123ffb5e1f7c37da3 /dev-python/SimpleParse
parentallow src_install and src_compile functions to have additional parameters (diff)
downloadgentoo-2-74155dcf39b85dffccf35e9a0385b4429220a5f6.tar.gz
gentoo-2-74155dcf39b85dffccf35e9a0385b4429220a5f6.tar.bz2
gentoo-2-74155dcf39b85dffccf35e9a0385b4429220a5f6.zip
clean ups
Diffstat (limited to 'dev-python/SimpleParse')
-rw-r--r--dev-python/SimpleParse/ChangeLog5
-rw-r--r--dev-python/SimpleParse/SimpleParse-1.0.ebuild14
2 files changed, 10 insertions, 9 deletions
diff --git a/dev-python/SimpleParse/ChangeLog b/dev-python/SimpleParse/ChangeLog
index be46fd322035..0c9c6a737858 100644
--- a/dev-python/SimpleParse/ChangeLog
+++ b/dev-python/SimpleParse/ChangeLog
@@ -1,11 +1,14 @@
# ChangeLog for dev-python/SimpleParse
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/SimpleParse/ChangeLog,v 1.4 2003/02/12 06:31:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/SimpleParse/ChangeLog,v 1.5 2003/04/04 01:38:39 liquidx Exp $
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*SimpleParse-1.0 (25 May 2002)
+ 04 Apr 2003; Alastair Tse <liquidx@gentoo.org> SimpleParse-1.0.ebuild:
+ make use of distutils
+
25 May 2002; Jon Nelson <jnelson@gentoo.org> ChangeLog SimpleParse-1.0.ebuild :
New ebuild authored by Zach Forrest <zach@disinformation.ca>
diff --git a/dev-python/SimpleParse/SimpleParse-1.0.ebuild b/dev-python/SimpleParse/SimpleParse-1.0.ebuild
index 6f242c47eae6..055e1ac0ab1a 100644
--- a/dev-python/SimpleParse/SimpleParse-1.0.ebuild
+++ b/dev-python/SimpleParse/SimpleParse-1.0.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/SimpleParse/SimpleParse-1.0.ebuild,v 1.9 2003/02/13 11:33:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/SimpleParse/SimpleParse-1.0.ebuild,v 1.10 2003/04/04 01:38:39 liquidx Exp $
+
+IUSE=""
+
+inherit distutils
S=${WORKDIR}/${P}
DESCRIPTION="A Parser Generator for mxTextTools."
@@ -12,12 +16,6 @@ LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 sparc alpha"
-src_compile() {
- python setup.py build || die
-}
-
src_install() {
- python setup.py install --root=${D} --prefix=/usr --install-data=SIMPLEPARSE_DOCS || die
- find ${D}/SIMPLEPARSE_DOCS -type f -exec dodoc {} \;
- rm -rf ${D}/SIMPLEPARSE_DOCS
+ distutils_src_install --install-data=/usr/share/doc/${PF}
}