Gentoo Archives: gentoo-commits

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