From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 265C91396DA for ; Sun, 22 Oct 2017 17:14:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A53C2BC00F; Sun, 22 Oct 2017 17:14:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47EFE2BC00F for ; Sun, 22 Oct 2017 17:14:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1678433FE49 for ; Sun, 22 Oct 2017 17:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C33F325 for ; Sun, 22 Oct 2017 17:14:32 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1508692461.c003362daa0c679aba88a5b278297fa4ba53aba2.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/zim/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/zim/Manifest x11-misc/zim/zim-0.67.ebuild X-VCS-Directories: x11-misc/zim/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: c003362daa0c679aba88a5b278297fa4ba53aba2 X-VCS-Branch: master Date: Sun, 22 Oct 2017 17:14:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c966c0f1-d51e-4bf5-88f8-6429f5dbc455 X-Archives-Hash: b8ffe9e034d1f0077bc2f9c948884f83 commit: c003362daa0c679aba88a5b278297fa4ba53aba2 Author: Poncho spahan ch> AuthorDate: Tue Sep 19 07:51:03 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Oct 22 17:14:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c003362d x11-misc/zim: version bump to 0.67. Package-Manager: Portage-2.3.8, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/5730 Closes: https://bugs.gentoo.org/622596 x11-misc/zim/Manifest | 1 + x11-misc/zim/zim-0.67.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest index 70304ddd4d5..f6d0f2dba95 100644 --- a/x11-misc/zim/Manifest +++ b/x11-misc/zim/Manifest @@ -1,2 +1,3 @@ DIST zim-0.65.tar.gz 1899614 SHA256 5442f3334395a2beafc5b9a2bbec2e53e38270d4bad696b5c4053dd51dc1ed96 SHA512 dee652087d3d986b80353e9087abe363392354f40db11f8819d0b3f3c6f133c08c66c651a92ed77c1656f1135998ac02622eca08ac2e28c8fb3149a724a0f7fb WHIRLPOOL 22bfeaee53214029538ba76d309f3413fa327aec125e49270f168a5d985e37672f3a8cc8043e4a35d1141ffb54f958c0a466c6edac4192028893d017401ce2a2 DIST zim-0.66.tar.gz 2020216 SHA256 e8b53948097f211972713252f3a89b2957e3a63f55eb53587e2474dfc4cbf6c4 SHA512 9693dba8ee6ad915a85ca999674350b278043559ba4adf93c03c8815211ecab451a6e2dceaf62ea7048609eb86f19485f2dd77dbaaf6f2d81f97f6450bf25ca9 WHIRLPOOL eca653cff7581e3f8b4e43d33860e49cd0fb36dfabbdb2aefb86cb9aa804c269a32ea41823f8292969f9431725221032c91881e1a328f780e1390a3c2587ef2c +DIST zim-0.67.tar.gz 2034747 SHA256 b37cef3d4906aa263abccb1493929a7ea6b9e8d11a50ed92cd437e8f93ffabbd SHA512 0f3387a74a9d6a1e972b4ad411230b9318c58432bd853ef6d45cd535dcdef901369a70dd619b842f1e6564a4b583075865d30acb75cc7649facf5acfe43d8b94 WHIRLPOOL de74a1a0aee364007d76c2fe60cb9cee4d76fa60cb8388d3b8078144dd0ceb9a28c9a860e3125017d27e9895a2eb933913573eae38a5c560e0bb7db816455241 diff --git a/x11-misc/zim/zim-0.67.ebuild b/x11-misc/zim/zim-0.67.ebuild new file mode 100644 index 00000000000..809a199ab63 --- /dev/null +++ b/x11-misc/zim/zim-0.67.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 gnome2-utils fdo-mime virtualx + +DESCRIPTION="A desktop wiki" +HOMEPAGE="http://zim-wiki.org/" +SRC_URI="http://zim-wiki.org/downloads/${P}.tar.gz" + +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + x11-misc/xdg-utils + test? ( + dev-vcs/bzr + dev-vcs/git + dev-vcs/mercurial )" + +DOCS=( CHANGELOG.txt README.txt HACKING ) +PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) + +python_prepare_all() { + sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die + + if [[ ${LINGUAS} ]]; then + local lingua + for lingua in translations/*.po; do + lingua=${lingua/.po} + lingua=${lingua/translations\/} + has ${lingua} ${LINGUAS} || \ + { rm translations/${lingua}.po || die; } + done + fi + + distutils-r1_python_prepare_all +} + +python_test() { + VIRTUALX_COMMAND="${PYTHON}" virtualmake test.py +} + +python_install() { + distutils-r1_python_install --skip-xdg-cmd +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + if ! has_version ${CATEGORY}/${PN}; then + einfo "Please emerge these packages for additional functionality" + einfo " dev-lang/R" + einfo " dev-python/gtkspell-python" + einfo " dev-vcs/bzr" + einfo " gnome-extra/zeitgeist" + einfo " media-gfx/graphviz" + einfo " media-gfx/imagemagick" + einfo " media-gfx/scrot" + einfo " media-sound/lilypond" + einfo " sci-visualization/gnuplot" + einfo " virtual/latex-base app-text/dvipng" + fi +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +}