diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-06-07 08:57:21 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-06-07 08:57:21 +0000 |
commit | 46e6293248c457cc8f754182e1ec59c05d59ae32 (patch) | |
tree | 283b2a63198ffe9f079b85a55368bf579de96f5f /x11-misc/treeline | |
parent | Version bump, see bug #181136. (diff) | |
download | gentoo-2-46e6293248c457cc8f754182e1ec59c05d59ae32.tar.gz gentoo-2-46e6293248c457cc8f754182e1ec59c05d59ae32.tar.bz2 gentoo-2-46e6293248c457cc8f754182e1ec59c05d59ae32.zip |
Version bump, see bug #181126.
(Portage version: 2.1.2.9)
Diffstat (limited to 'x11-misc/treeline')
-rw-r--r-- | x11-misc/treeline/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/treeline/files/digest-treeline-1.0.2 | 6 | ||||
-rw-r--r-- | x11-misc/treeline/treeline-1.0.2.ebuild | 56 |
3 files changed, 68 insertions, 1 deletions
diff --git a/x11-misc/treeline/ChangeLog b/x11-misc/treeline/ChangeLog index 6a108a153cbe..7546e8c83ecf 100644 --- a/x11-misc/treeline/ChangeLog +++ b/x11-misc/treeline/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/treeline # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.30 2007/05/20 07:39:32 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.31 2007/06/07 08:57:21 nelchael Exp $ + +*treeline-1.0.2 (07 Jun 2007) + + 07 Jun 2007; Krzysiek Pawlik <nelchael@gentoo.org> +treeline-1.0.2.ebuild: + Version bump, see bug #181126. 20 May 2007; Christian Faulhammer <opfer@gentoo.org> treeline-1.0.1-r1.ebuild: diff --git a/x11-misc/treeline/files/digest-treeline-1.0.2 b/x11-misc/treeline/files/digest-treeline-1.0.2 new file mode 100644 index 000000000000..c58807b4b9c6 --- /dev/null +++ b/x11-misc/treeline/files/digest-treeline-1.0.2 @@ -0,0 +1,6 @@ +MD5 a37be34ae9e495364547485233b4c75d treeline-1.0.2.tar.gz 332001 +RMD160 ab0e0b2d6e4eb236c39f83fe1a93112702a2712a treeline-1.0.2.tar.gz 332001 +SHA256 df6cc44842eadfd01e73037a6b611088bc19f44cbbe4e78844ad9638fbda4104 treeline-1.0.2.tar.gz 332001 +MD5 e18e6468ba557c16cd4897392db411b8 treeline-i18n-1.0.2a.tar.gz 470942 +RMD160 1eecb186adf6b6c4639f23afebc23ea73281fb32 treeline-i18n-1.0.2a.tar.gz 470942 +SHA256 88a7e0132ba6659efe3fc81bfb17d6d0e1237b1574b195fd98bc5eb2b7444710 treeline-i18n-1.0.2a.tar.gz 470942 diff --git a/x11-misc/treeline/treeline-1.0.2.ebuild b/x11-misc/treeline/treeline-1.0.2.ebuild new file mode 100644 index 000000000000..83de072dc029 --- /dev/null +++ b/x11-misc/treeline/treeline-1.0.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-1.0.2.ebuild,v 1.1 2007/06/07 08:57:21 nelchael Exp $ + +inherit python + +DESCRIPTION="TreeLine is a structured information storage program." +HOMEPAGE="http://www.bellz.org/treeline" +SRC_URI="http://www.bellz.org/${PN}/${P}.tar.gz + http://www.bellz.org/${PN}/${PN}-i18n-${PV}a.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="spell" + +DEPEND="spell? ( || ( app-text/aspell app-text/ispell ) ) + || ( dev-python/pyxml dev-libs/expat ) + virtual/python dev-python/PyQt + =x11-libs/qt-3*" + +S="${WORKDIR}"/TreeLine + +# Before you go editing below read bugs 177652 and 177645 +# or you'll end up breaking it. + +src_compile() { + printf '#!/bin/sh\n\nexec python %s/treeline.py $*\n' \ + /usr/share/treeline > ${S}/treeline + sed -i -e "s#\(helpFilePath = \)None#\1'/usr/share/treeline'#g" \ + -e "s#\(iconPath = \)None#\1'/usr/share/treeline/icons'#g" \ + ${S}/source/treeline.py || die + sed -i -e 's,translations,/usr/share/treeline/translations,' \ + ${S}/source/treeline.py || die +} + +src_install() { + insinto /usr/share/${PN} + doins source/*.py doc/*.html doc/*.png doc/*.trl + + insinto /usr/share/${PN}/icons + doins icons/*.png + + insinto /usr/share/${PN}/translations + doins translations/*.qm + + dobin ${PN} +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |