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.56.ebuild ChangeLog
Date: Thu, 07 Jun 2012 15:24:18
Message-Id: 20120607152351.9FF682004B@flycatcher.gentoo.org
1 xmw 12/06/07 15:23:51
2
3 Modified: ChangeLog
4 Added: zim-0.56.ebuild
5 Log:
6 Version bump (bug 410783 reported by bdouxx)
7
8 (Portage version: 2.1.10.63/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.20 x11-misc/zim/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 4 Jun 2012 21:21:16 -0000 1.19
24 +++ ChangeLog 7 Jun 2012 15:23:51 -0000 1.20
25 @@ -1,6 +1,11 @@
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.19 2012/06/04 21:21:16 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.20 2012/06/07 15:23:51 xmw Exp $
30 +
31 +*zim-0.56 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Michael Weber <xmw@g.o> +zim-0.56.ebuild:
34 + Version bump (bug 410783 reported by bdouxx)
35
36 *zim-0.55 (04 Jun 2012)
37
38
39
40
41 1.1 x11-misc/zim/zim-0.56.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.56.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/zim/zim-0.56.ebuild?rev=1.1&content-type=text/plain
45
46 Index: zim-0.56.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/zim/zim-0.56.ebuild,v 1.1 2012/06/07 15:23:51 xmw Exp $
51
52 EAPI=3
53
54 PYTHON_USE_WITH="sqlite"
55 PYTHON_DEPEND="2:2.5"
56
57 inherit distutils eutils fdo-mime virtualx
58
59 DESCRIPTION="A desktop wiki"
60 HOMEPAGE="http://zim-wiki.org/"
61 SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="test"
67
68 RDEPEND="|| ( >=dev-lang/python-2.6 dev-python/simplejson )
69 dev-python/pygtk"
70 DEPEND="${RDEPEND}
71 x11-misc/xdg-utils
72 test? ( dev-vcs/bzr )"
73
74 pkg_setup() {
75 python_set_active_version 2
76 python_pkg_setup
77 }
78
79 src_prepare() {
80 sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die
81 }
82
83 src_test() {
84 VIRTUALX_COMMAND="$(PYTHON)" virtualmake test.py || die
85 }
86
87 src_install () {
88 doicon data/${PN}.png || die "doicon failed"
89 distutils_src_install --skip-xdg-cmd
90 }
91
92 pkg_postinst() {
93 distutils_pkg_postinst
94 fdo-mime_desktop_database_update
95 xdg-icon-resource install --context mimetypes --size 64 \
96 "${ROOT}/usr/share/pixmaps/zim.png" \
97 application-x-zim-notebook || die "xdg-icon-resource install failed"
98 ewarn "Please emerge these packages for additional functionality"
99 ewarn " dev-lang/R"
100 ewarn " dev-python/gtkspell-python"
101 ewarn " dev-vcs/bzr"
102 ewarn " media-gfx/graphviz"
103 ewarn " media-gfx/imagemagick"
104 ewarn " media-gfx/scrot"
105 ewarn " sci-visualization/gnuplot"
106 ewarn " virtual/latex-base app-text/dvipng"
107 }
108
109 pkg_postrm() {
110 distutils_pkg_postrm
111 fdo-mime_desktop_database_update
112 xdg-icon-resource uninstall --context mimetypes --size 64 \
113 application-x-zim-notebook || die "xdg-icon-resource uninstall failed"
114 }