1 |
xmw 12/06/04 18:14:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: treeline-1.4.1.ebuild |
5 |
Log: |
6 |
Version bump (reported by df, bug 416011) |
7 |
|
8 |
(Portage version: 2.1.10.63/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 x11-misc/treeline/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/treeline/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/treeline/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/treeline/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 1 May 2012 18:06:34 -0000 1.50 |
24 |
+++ ChangeLog 4 Jun 2012 18:14:21 -0000 1.51 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for x11-misc/treeline |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.50 2012/05/01 18:06:34 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/ChangeLog,v 1.51 2012/06/04 18:14:21 xmw Exp $ |
30 |
+ |
31 |
+*treeline-1.4.1 (04 Jun 2012) |
32 |
+ |
33 |
+ 04 Jun 2012; Michael Weber <xmw@g.o> +treeline-1.4.1.ebuild: |
34 |
+ Version bump (reported by df, bug 416011) |
35 |
|
36 |
01 May 2012; Jeroen Roovers <jer@g.o> |
37 |
+files/treeline-1.2.3-nocompile.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-misc/treeline/treeline-1.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/treeline/treeline-1.4.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/treeline/treeline-1.4.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: treeline-1.4.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/treeline/treeline-1.4.1.ebuild,v 1.1 2012/06/04 18:14:21 xmw Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
PYTHON_DEPEND="2" |
54 |
PYTHON_USE_WITH="xml" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
|
57 |
inherit eutils python |
58 |
|
59 |
DESCRIPTION="TreeLine is a structured information storage program." |
60 |
HOMEPAGE="http://treeline.bellz.org/" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="spell" |
67 |
|
68 |
LANGS="de fr" |
69 |
for lang in ${LANGS}; do |
70 |
IUSE="${IUSE} linguas_${lang}" |
71 |
SRC_URI="${SRC_URI} linguas_${lang}? ( mirror://sourceforge/${PN}/${PN}-i18n-${PV}a.tar.gz )" |
72 |
done |
73 |
|
74 |
DEPEND="spell? ( app-text/aspell ) |
75 |
dev-python/PyQt4[X]" |
76 |
RDEPEND="${DEPEND}" |
77 |
RESTRICT_PYTHON_ABIS="3.*" |
78 |
|
79 |
S="${WORKDIR}/TreeLine" |
80 |
|
81 |
src_unpack() { |
82 |
unpack ${P}.tar.gz |
83 |
for lang in ${LANGS}; do |
84 |
if use linguas_${lang}; then |
85 |
tar xozf "${DISTDIR}"/${PN}-i18n-${PV}a.tar.gz \ |
86 |
TreeLine/doc/{readme_${lang}.trl,README_${lang}.html} \ |
87 |
TreeLine/translations/{treeline_${lang}.{qm,ts},qt_${lang}.{qm,ts}} || die |
88 |
fi |
89 |
done |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
# Let's leave compiling to python_mod_optimize(). |
94 |
epatch "${FILESDIR}"/${PN}-1.2.3-nocompile.patch |
95 |
|
96 |
rm doc/LICENSE || die |
97 |
|
98 |
python_copy_sources |
99 |
|
100 |
preparation() { |
101 |
# install into proper python site-packages dir |
102 |
sed -i "s;prefixDir, 'lib;'$(python_get_sitedir);" install.py || die |
103 |
} |
104 |
python_execute_function -s preparation |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
installation() { |
109 |
"$(PYTHON)" install.py -x -p /usr/ -d /usr/share/doc/${PF} -b "${D}" |
110 |
} |
111 |
python_execute_function -s installation |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
python_mod_optimize ${PN} |
116 |
} |
117 |
|
118 |
pkg_postrm() { |
119 |
python_mod_cleanup ${PN} |
120 |
} |