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: ChangeLog zim-0.54.ebuild zim-0.52.ebuild
Date: Sun, 29 Jan 2012 01:24:57
Message-Id: 20120129012447.D2C752004B@flycatcher.gentoo.org
1 xmw 12/01/29 01:24:47
2
3 Modified: ChangeLog
4 Added: zim-0.54.ebuild
5 Removed: zim-0.52.ebuild
6 Log:
7 Version bump, remove old version
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.17 x11-misc/zim/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.17&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.17&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?r1=1.16&r2=1.17
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v
21 retrieving revision 1.16
22 retrieving revision 1.17
23 diff -u -r1.16 -r1.17
24 --- ChangeLog 19 Nov 2011 03:56:46 -0000 1.16
25 +++ ChangeLog 29 Jan 2012 01:24:47 -0000 1.17
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-misc/zim
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.16 2011/11/19 03:56:46 radhermit Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.17 2012/01/29 01:24:47 xmw Exp $
32 +
33 +*zim-0.54 (29 Jan 2012)
34 +
35 + 29 Jan 2012; Michael Weber <xmw@g.o> -zim-0.52.ebuild,
36 + +zim-0.54.ebuild:
37 + Version bump, remove old version
38
39 19 Nov 2011; Tim Harder <radhermit@g.o> metadata.xml:
40 Wrap long lines and fix whitespace.
41
42
43
44 1.1 x11-misc/zim/zim-0.54.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.54.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.54.ebuild?rev=1.1&content-type=text/plain
48
49 Index: zim-0.54.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.54.ebuild,v 1.1 2012/01/29 01:24:47 xmw Exp $
54
55 PYTHON_USE_WITH="sqlite"
56 PYTHON_DEPEND="2:2.5"
57
58 EAPI=3
59
60 inherit distutils eutils 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-lang/python-2.6 dev-python/simplejson )
72 dev-python/pygtk"
73 DEPEND="${RDEPEND}
74 x11-misc/xdg-utils
75 test? ( dev-vcs/bzr )"
76
77 pkg_setup() {
78 python_set_active_version 2
79 python_pkg_setup
80 }
81
82 src_prepare() {
83 sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die
84 }
85
86 src_test() {
87 VIRTUALX_COMMAND="$(PYTHON)" virtualmake test.py || die
88 }
89
90 src_install () {
91 doicon data/${PN}.png || die "doicon failed"
92 distutils_src_install --skip-xdg-cmd
93 }
94
95 pkg_postinst() {
96 distutils_pkg_postinst
97 fdo-mime_desktop_database_update
98 xdg-icon-resource install --context mimetypes --size 64 \
99 "${ROOT}/usr/share/pixmaps/zim.png" \
100 application-x-zim-notebook || die "xdg-icon-resource install failed"
101 ewarn "Please emerge these packages for additional functionality"
102 ewarn " dev-lang/R"
103 ewarn " dev-python/gtkspell-python"
104 ewarn " dev-vcs/bzr"
105 ewarn " media-gfx/graphviz"
106 ewarn " media-gfx/imagemagick"
107 ewarn " media-gfx/scrot"
108 ewarn " sci-visualization/gnuplot"
109 ewarn " virtual/latex-base app-text/dvipng"
110 }
111
112 pkg_postrm() {
113 distutils_pkg_postrm
114 fdo-mime_desktop_database_update
115 xdg-icon-resource uninstall --context mimetypes --size 64 \
116 application-x-zim-notebook || die "xdg-icon-resource uninstall failed"
117 }