diff options
author | 2013-07-22 12:15:25 +0000 | |
---|---|---|
committer | 2013-07-22 12:15:25 +0000 | |
commit | 2803a7b0c685b3ae3d133a6ce16139c1407a433a (patch) | |
tree | 4a43d5580bad9719ebea07b8d73281b40027cdb4 /x11-misc | |
parent | Add missing llvm-3.3-insecure-rpath.patch. (diff) | |
download | gentoo-2-2803a7b0c685b3ae3d133a6ce16139c1407a433a.tar.gz gentoo-2-2803a7b0c685b3ae3d133a6ce16139c1407a433a.tar.bz2 gentoo-2-2803a7b0c685b3ae3d133a6ce16139c1407a433a.zip |
Migrate to python-*-r1.eclass.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/treeline/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/treeline/treeline-1.4.1-r1.ebuild | 60 |
2 files changed, 66 insertions, 1 deletions
diff --git a/x11-misc/treeline/ChangeLog b/x11-misc/treeline/ChangeLog index 5d15b7f32cbe..2323314baf89 100644 --- a/x11-misc/treeline/ChangeLog +++ b/x11-misc/treeline/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/treeline # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.55 2013/07/22 11:03:45 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.56 2013/07/22 12:15:25 jer Exp $ + +*treeline-1.4.1-r1 (22 Jul 2013) + + 22 Jul 2013; Jeroen Roovers <jer@gentoo.org> +treeline-1.4.1-r1.ebuild: + Migrate to python-*-r1.eclass. 22 Jul 2013; Jeroen Roovers <jer@gentoo.org> -treeline-1.4.0.ebuild: Old. diff --git a/x11-misc/treeline/treeline-1.4.1-r1.ebuild b/x11-misc/treeline/treeline-1.4.1-r1.ebuild new file mode 100644 index 000000000000..630ccff84880 --- /dev/null +++ b/x11-misc/treeline/treeline-1.4.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-1.4.1-r1.ebuild,v 1.1 2013/07/22 12:15:25 jer Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_{5,6,7} ) +PYTHON_REQ_USE="xml" + +inherit eutils python-single-r1 + +DESCRIPTION="TreeLine is a structured information storage program." +HOMEPAGE="http://treeline.bellz.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +TLLINGUAS=( de fr ) +IUSE+=" ${TLLINGUAS[@]/#/linguas_}" +for lingua in ${TLLINGUAS[@]}; do + SRC_URI+=" linguas_${lingua}? ( mirror://sourceforge/${PN}/${PN}-i18n-${PV}a.tar.gz )" +done +unset lingua + +DEPEND=" + ${PYTHON_DEPS} +" +RDEPEND=" + ${DEPEND} + dev-python/PyQt4[X] +" + +S="${WORKDIR}/TreeLine" + +src_unpack() { + unpack ${P}.tar.gz + local lingua + for lingua in ${TLLINGUAS}; do + if use linguas_${lingua}; then + tar xozf "${DISTDIR}"/${PN}-i18n-${PV}a.tar.gz \ + TreeLine/doc/{readme_${lingua}.trl,README_${lingua}.html} \ + TreeLine/translations/{treeline_${lingua}.{qm,ts},qt_${lingua}.{qm,ts}} || die + fi + done +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.3-nocompile.patch + + rm doc/LICENSE || die + + python_export PYTHON_SITEDIR + sed -i "s;prefixDir, 'lib;'${PYTHON_SITEDIR};" install.py || die +} + +src_install() { + "${EPYTHON}" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" || die +} |