summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-05 21:44:33 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-05 21:44:33 +0000
commitd18260960f9c3ed5513ac093ae8719aee603bb2e (patch)
tree20173baaa42adbdda8533d2f1937d3629e8d60f8 /x11-misc/treeline
parentMasking treeline development releases (diff)
downloadgentoo-2-d18260960f9c3ed5513ac093ae8719aee603bb2e.tar.gz
gentoo-2-d18260960f9c3ed5513ac093ae8719aee603bb2e.tar.bz2
gentoo-2-d18260960f9c3ed5513ac093ae8719aee603bb2e.zip
Version bump wrt bug #325387
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/treeline')
-rw-r--r--x11-misc/treeline/ChangeLog9
-rw-r--r--x11-misc/treeline/treeline-1.2.4.ebuild73
-rw-r--r--x11-misc/treeline/treeline-1.3.3.ebuild73
3 files changed, 154 insertions, 1 deletions
diff --git a/x11-misc/treeline/ChangeLog b/x11-misc/treeline/ChangeLog
index 7b0380ae8847..134c180814f3 100644
--- a/x11-misc/treeline/ChangeLog
+++ b/x11-misc/treeline/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/treeline
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.42 2010/03/04 18:51:27 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.43 2010/07/05 21:44:32 hwoarang Exp $
+
+*treeline-1.3.3 (05 Jul 2010)
+*treeline-1.2.4 (05 Jul 2010)
+
+ 05 Jul 2010; Markos Chandras <hwoarang@gentoo.org> +treeline-1.2.4.ebuild,
+ +treeline-1.3.3.ebuild:
+ Version bump wrt bug #325387
04 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
treeline-1.2.3.ebuild:
diff --git a/x11-misc/treeline/treeline-1.2.4.ebuild b/x11-misc/treeline/treeline-1.2.4.ebuild
new file mode 100644
index 000000000000..494a9ab7d0a2
--- /dev/null
+++ b/x11-misc/treeline/treeline-1.2.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-1.2.4.ebuild,v 1.1 2010/07/05 21:44:33 hwoarang Exp $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils python
+
+DESCRIPTION="TreeLine is a structured information storage program."
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="spell"
+
+LANGS="de fr"
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+ SRC_URI="${SRC_URI} linguas_${lang}? ( mirror://berlios/${PN}/${PN}-i18n-${PV}a.tar.gz )"
+done
+
+DEPEND="spell? ( || ( app-text/aspell app-text/ispell ) )
+ dev-python/PyQt4[X]"
+RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}/TreeLine"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ for lang in ${LANGS}; do
+ if use linguas_${lang}; then
+ tar xozf "${DISTDIR}"/${PN}-i18n-${PV}a.tar.gz \
+ TreeLine/doc/{readme_${lang}.trl,README_${lang}.html} \
+ TreeLine/translations/{treeline_${lang}.{qm,ts},qt_${lang}.{qm,ts}} || die
+ fi
+ done
+}
+
+src_prepare() {
+ # let's leave compiling to python_mod_optimize
+ epatch "${FILESDIR}"/${PN}-1.2.3-nocompile.patch
+
+ rm doc/LICENSE
+
+ python_copy_sources
+
+ preparation() {
+ # install into proper python site-packages dir
+ sed -i "s;prefixDir, 'lib;'$(python_get_sitedir);" install.py
+ }
+ python_execute_function -s preparation
+}
+
+src_install() {
+ installation() {
+ "$(PYTHON)" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}"
+ }
+ python_execute_function -s installation
+}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}
diff --git a/x11-misc/treeline/treeline-1.3.3.ebuild b/x11-misc/treeline/treeline-1.3.3.ebuild
new file mode 100644
index 000000000000..f86dce29a759
--- /dev/null
+++ b/x11-misc/treeline/treeline-1.3.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-1.3.3.ebuild,v 1.1 2010/07/05 21:44:33 hwoarang Exp $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils python
+
+DESCRIPTION="TreeLine is a structured information storage program."
+HOMEPAGE="http://treeline.bellz.org/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="spell"
+
+LANGS="de fr"
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+ SRC_URI="${SRC_URI} linguas_${lang}? ( mirror://berlios/${PN}/${PN}-i18n-${PV}a.tar.gz )"
+done
+
+DEPEND="spell? ( || ( app-text/aspell app-text/ispell ) )
+ dev-python/PyQt4[X]"
+RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}/TreeLine"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ for lang in ${LANGS}; do
+ if use linguas_${lang}; then
+ tar xozf "${DISTDIR}"/${PN}-i18n-${PV}a.tar.gz \
+ TreeLine/doc/{readme_${lang}.trl,README_${lang}.html} \
+ TreeLine/translations/{treeline_${lang}.{qm,ts},qt_${lang}.{qm,ts}} || die
+ fi
+ done
+}
+
+src_prepare() {
+ # let's leave compiling to python_mod_optimize
+ epatch "${FILESDIR}"/${PN}-1.2.3-nocompile.patch
+
+ rm doc/LICENSE
+
+ python_copy_sources
+
+ preparation() {
+ # install into proper python site-packages dir
+ sed -i "s;prefixDir, 'lib;'$(python_get_sitedir);" install.py
+ }
+ python_execute_function -s preparation
+}
+
+src_install() {
+ installation() {
+ "$(PYTHON)" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}"
+ }
+ python_execute_function -s installation
+}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}