diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2004-05-26 20:04:26 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2004-05-26 20:04:26 +0000 |
commit | 1890a9ef95a85c01ae0111db68b044cec1df4fa7 (patch) | |
tree | 15c09225416a29fc73db6b8b8b68b53ca912016c /x11-misc | |
parent | remove sed (Manifest recommit) (diff) | |
download | gentoo-2-1890a9ef95a85c01ae0111db68b044cec1df4fa7.tar.gz gentoo-2-1890a9ef95a85c01ae0111db68b044cec1df4fa7.tar.bz2 gentoo-2-1890a9ef95a85c01ae0111db68b044cec1df4fa7.zip |
final tweak, remove old ebuild.
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/treeline/files/digest-treeline-0.7.3 | 1 | ||||
-rw-r--r-- | x11-misc/treeline/treeline-0.7.3-r1.ebuild | 3 | ||||
-rw-r--r-- | x11-misc/treeline/treeline-0.7.3.ebuild | 54 |
3 files changed, 1 insertions, 57 deletions
diff --git a/x11-misc/treeline/files/digest-treeline-0.7.3 b/x11-misc/treeline/files/digest-treeline-0.7.3 deleted file mode 100644 index c823c7a248f0..000000000000 --- a/x11-misc/treeline/files/digest-treeline-0.7.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 81f094b5bd722a97380363eeef2bc347 treeline-0.7.3.tar.gz 120085 diff --git a/x11-misc/treeline/treeline-0.7.3-r1.ebuild b/x11-misc/treeline/treeline-0.7.3-r1.ebuild index fa752bd8d561..43b7d6b1e339 100644 --- a/x11-misc/treeline/treeline-0.7.3-r1.ebuild +++ b/x11-misc/treeline/treeline-0.7.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-0.7.3-r1.ebuild,v 1.3 2004/05/26 20:01:15 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-0.7.3-r1.ebuild,v 1.4 2004/05/26 20:04:26 taviso Exp $ inherit eutils python @@ -39,7 +39,6 @@ src_install() { dohtml ${S}/doc/README.html dobin ${T}/treeline - prepalldocs } pkg_postinst() { diff --git a/x11-misc/treeline/treeline-0.7.3.ebuild b/x11-misc/treeline/treeline-0.7.3.ebuild deleted file mode 100644 index 90d8b26c11b1..000000000000 --- a/x11-misc/treeline/treeline-0.7.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-0.7.3.ebuild,v 1.2 2004/05/26 18:56:34 taviso Exp $ - -inherit eutils - -DESCRIPTION="TreeLine is a structured information storage program." -HOMEPAGE="http://www.bellz.org/treeline/" - -SRC_URI="http://www.bellz.org/treeline/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~x86" -IUSE="spell" - -DEPEND="spell? ( || ( app-text/aspell app-text/ispell ) ) - || ( dev-python/pyxml dev-libs/expat ) - dev-lang/python dev-python/PyQt - >=x11-libs/qt-3.3.0-r1" - -S=${WORKDIR}/TreeLine - -src_compile() { - - # gah. :( - sed -i "s#f = open(path, 'r')#return#g" ${S}/install.py || die - sed -i "s#\(helpFilePath =\) None#\1 '/usr/share/doc'#g" ${S}/source/*.py || die - sed -i "s#\(dataFilePath =\) None#\1 '/usr/lib/treeline'#g" ${S}/source/*.py || die - sed -i "s#\(copyDir('icons',\) iconDir)#\1 \'${D}/usr/share/icons\')#g" ${S}/install.py || die - - # optional {a,i}spell suport - if ! use spell; then - sed -i 's/\(testSpell =\) 1/\1 0/g' ${S}/install.py || { - ewarn "failed to disable check for spell support" - } - fi - - printf '#!/bin/sh\n\nexec %s %s/%s.py $*\n' \ - python /usr/lib/treeline treeline > ${T}/treeline -} - -src_install() { - python ${S}/install.py -p ${D}/usr || die "installation script failed!" - - insinto /usr/lib/treeline - doins ${S}/doc/README.html - - dobin ${T}/treeline - - # FIXME: dohtml the html file. - mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${P} - prepalldocs -} |