summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-07 15:23:51 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-07 15:23:51 +0000
commit412c1b446bf526cec5e279f0bfb76a6b5cf34905 (patch)
tree6bfdc7545f20eaa6540f8d2f2ad18a86f1e391c5 /x11-misc
parentVersion bump to 0.3.8. Wrt bug#420119. (diff)
downloadgentoo-2-412c1b446bf526cec5e279f0bfb76a6b5cf34905.tar.gz
gentoo-2-412c1b446bf526cec5e279f0bfb76a6b5cf34905.tar.bz2
gentoo-2-412c1b446bf526cec5e279f0bfb76a6b5cf34905.zip
Version bump (bug 410783 reported by bdouxx)
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/zim/ChangeLog7
-rw-r--r--x11-misc/zim/zim-0.56.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/x11-misc/zim/ChangeLog b/x11-misc/zim/ChangeLog
index d6a58987a291..9a321e57138f 100644
--- a/x11-misc/zim/ChangeLog
+++ b/x11-misc/zim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/zim
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.19 2012/06/04 21:21:16 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.20 2012/06/07 15:23:51 xmw Exp $
+
+*zim-0.56 (07 Jun 2012)
+
+ 07 Jun 2012; Michael Weber <xmw@gentoo.org> +zim-0.56.ebuild:
+ Version bump (bug 410783 reported by bdouxx)
*zim-0.55 (04 Jun 2012)
diff --git a/x11-misc/zim/zim-0.56.ebuild b/x11-misc/zim/zim-0.56.ebuild
new file mode 100644
index 000000000000..cfae69ff1cb6
--- /dev/null
+++ b/x11-misc/zim/zim-0.56.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.56.ebuild,v 1.1 2012/06/07 15:23:51 xmw Exp $
+
+EAPI=3
+
+PYTHON_USE_WITH="sqlite"
+PYTHON_DEPEND="2:2.5"
+
+inherit distutils eutils fdo-mime virtualx
+
+DESCRIPTION="A desktop wiki"
+HOMEPAGE="http://zim-wiki.org/"
+SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="|| ( >=dev-lang/python-2.6 dev-python/simplejson )
+ dev-python/pygtk"
+DEPEND="${RDEPEND}
+ x11-misc/xdg-utils
+ test? ( dev-vcs/bzr )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die
+}
+
+src_test() {
+ VIRTUALX_COMMAND="$(PYTHON)" virtualmake test.py || die
+}
+
+src_install () {
+ doicon data/${PN}.png || die "doicon failed"
+ distutils_src_install --skip-xdg-cmd
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ xdg-icon-resource install --context mimetypes --size 64 \
+ "${ROOT}/usr/share/pixmaps/zim.png" \
+ application-x-zim-notebook || die "xdg-icon-resource install failed"
+ ewarn "Please emerge these packages for additional functionality"
+ ewarn " dev-lang/R"
+ ewarn " dev-python/gtkspell-python"
+ ewarn " dev-vcs/bzr"
+ ewarn " media-gfx/graphviz"
+ ewarn " media-gfx/imagemagick"
+ ewarn " media-gfx/scrot"
+ ewarn " sci-visualization/gnuplot"
+ ewarn " virtual/latex-base app-text/dvipng"
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ xdg-icon-resource uninstall --context mimetypes --size 64 \
+ application-x-zim-notebook || die "xdg-icon-resource uninstall failed"
+}