From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/zim: zim-0.62.ebuild ChangeLog zim-0.60.ebuild |
Date: | Sat, 04 Oct 2014 08:35:18 |
Message-Id: | 20141004083515.23F936EBB@oystercatcher.gentoo.org |
1 | jer 14/10/04 08:35:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: zim-0.62.ebuild |
5 | Removed: zim-0.60.ebuild |
6 | Log: |
7 | Version bump. |
8 | |
9 | (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 | |
11 | Revision Changes Path |
12 | 1.24 x11-misc/zim/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.24&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.24&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?r1=1.23&r2=1.24 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v |
21 | retrieving revision 1.23 |
22 | retrieving revision 1.24 |
23 | diff -u -r1.23 -r1.24 |
24 | --- ChangeLog 28 Aug 2014 09:55:22 -0000 1.23 |
25 | +++ ChangeLog 4 Oct 2014 08:35:15 -0000 1.24 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for x11-misc/zim |
28 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.23 2014/08/28 09:55:22 jer Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.24 2014/10/04 08:35:15 jer Exp $ |
31 | + |
32 | +*zim-0.62 (04 Oct 2014) |
33 | + |
34 | + 04 Oct 2014; Jeroen Roovers <jer@g.o> -zim-0.60.ebuild, |
35 | + +zim-0.62.ebuild, +files/zim-0.62-desktop.patch: |
36 | + Version bump. |
37 | |
38 | *zim-0.61 (28 Aug 2014) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 x11-misc/zim/zim-0.62.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.62.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.62.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: zim-0.62.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.62.ebuild,v 1.1 2014/10/04 08:35:15 jer Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | PYTHON_COMPAT=( python2_7 ) |
57 | PYTHON_REQ_USE="sqlite" |
58 | DISTUTILS_SINGLE_IMPL=1 |
59 | |
60 | inherit distutils-r1 gnome2-utils fdo-mime virtualx |
61 | |
62 | DESCRIPTION="A desktop wiki" |
63 | HOMEPAGE="http://zim-wiki.org/" |
64 | SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | IUSE="test" |
70 | |
71 | RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]" |
72 | DEPEND="${RDEPEND} |
73 | x11-misc/xdg-utils |
74 | test? ( |
75 | dev-vcs/bzr |
76 | dev-vcs/git |
77 | dev-vcs/mercurial )" |
78 | |
79 | PATCHES=( |
80 | "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch |
81 | "${FILESDIR}"/${P}-desktop.patch |
82 | ) |
83 | |
84 | python_prepare() { |
85 | sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die |
86 | |
87 | if [[ ${LINGUAS} ]]; then |
88 | local lingua |
89 | for lingua in translations/*.po; do |
90 | lingua=${lingua/.po} |
91 | lingua=${lingua/translations\/} |
92 | has ${lingua} ${LINGUAS} || \ |
93 | { rm translations/${lingua}.po || die; } |
94 | done |
95 | fi |
96 | |
97 | distutils-r1_python_prepare |
98 | } |
99 | |
100 | python_test() { |
101 | VIRTUALX_COMMAND="${PYTHON}" virtualmake test.py |
102 | } |
103 | |
104 | python_install() { |
105 | distutils-r1_python_install --skip-xdg-cmd |
106 | } |
107 | |
108 | pkg_preinst() { |
109 | gnome2_icon_savelist |
110 | } |
111 | |
112 | pkg_postinst() { |
113 | fdo-mime_desktop_database_update |
114 | gnome2_icon_cache_update |
115 | if ! has_version ${CATEGORY}/${PN}; then |
116 | einfo "Please emerge these packages for additional functionality" |
117 | einfo " dev-lang/R" |
118 | einfo " dev-python/gtkspell-python" |
119 | einfo " dev-vcs/bzr" |
120 | einfo " gnome-extra/zeitgeist" |
121 | einfo " media-gfx/graphviz" |
122 | einfo " media-gfx/imagemagick" |
123 | einfo " media-gfx/scrot" |
124 | einfo " media-sound/lilypond" |
125 | einfo " sci-visualization/gnuplot" |
126 | einfo " virtual/latex-base app-text/dvipng" |
127 | fi |
128 | } |
129 | |
130 | pkg_postrm() { |
131 | fdo-mime_desktop_database_update |
132 | gnome2_icon_cache_update |
133 | } |