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