From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE50A59CB2 for ; Fri, 15 Apr 2016 19:10:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F11E21C051; Fri, 15 Apr 2016 19:10:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBA6A21C051 for ; Fri, 15 Apr 2016 19:10:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DD1E340CF2 for ; Fri, 15 Apr 2016 19:10:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9735015F5 for ; Fri, 15 Apr 2016 19:10:33 +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: <1460746561.1561088e0875f702d5b569eed05a3bcbfdcb5934.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cherrytree/Manifest app-text/cherrytree/cherrytree-0.36.9.ebuild app-text/cherrytree/metadata.xml X-VCS-Directories: app-text/cherrytree/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 1561088e0875f702d5b569eed05a3bcbfdcb5934 X-VCS-Branch: master Date: Fri, 15 Apr 2016 19:10:33 +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: fe267da6-6ad5-4b1d-8937-18fb1ad3b0ea X-Archives-Hash: 7fac12c656f07aa08949fbcc1bd33ed8 commit: 1561088e0875f702d5b569eed05a3bcbfdcb5934 Author: Jan Chren gmail com> AuthorDate: Fri Apr 15 16:44:01 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Apr 15 18:56:01 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1561088e app-text/cherrytree: new package Closes: https://github.com/gentoo/gentoo/pull/1266 Signed-off-by: Patrice Clement gentoo.org> app-text/cherrytree/Manifest | 1 + app-text/cherrytree/cherrytree-0.36.9.ebuild | 76 ++++++++++++++++++++++++++++ app-text/cherrytree/metadata.xml | 13 +++++ 3 files changed, 90 insertions(+) diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest new file mode 100644 index 0000000..6b78200 --- /dev/null +++ b/app-text/cherrytree/Manifest @@ -0,0 +1 @@ +DIST cherrytree-0.36.9.tar.gz 8725402 SHA256 37314cd9ba3e9bb87fb8ef9384da95db583543f2421f5243f7470d9903b3d8bf SHA512 fca9679dc1508b5db1fea9b10f3434f24b4545a53c9a586f1b21298e134242705e4ecc050e0ebffc972caca63c5f2803245b1e65191eed19b82a9cbdec3a40aa WHIRLPOOL edec306131fc09bde6f470c7e8bb1f795d7e54e3d1d0093c421bf515724f8f7d48fc3d024569279ee6db2e46b270db68d41fa4a1f816dfb1f8c9df40380d350d diff --git a/app-text/cherrytree/cherrytree-0.36.9.ebuild b/app-text/cherrytree/cherrytree-0.36.9.ebuild new file mode 100644 index 0000000..814789c --- /dev/null +++ b/app-text/cherrytree/cherrytree-0.36.9.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit fdo-mime eutils python-single-r1 + +DESCRIPTION='A hierarchical note taking application' +HOMEPAGE='http://www.giuspen.com/cherrytree' +LICENSE='GPL-3' + +SLOT='0' +SRC_URI="https://github.com/giuspen/cherrytree/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS='~amd64' +IUSE='nls' + +RDEPEND="${PYTHON_DEPS} + x11-libs/libX11 + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pyenchant[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.16:2[${PYTHON_USEDEP}] + dev-python/pygtksourceview:2[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) +" + +PLOCALES='cs de es fr hy it ja lt nl pl pt_BR ru sl tr uk zh_CN' +inherit l10n + +src_prepare() { + use nls && l10n_find_plocales_changes 'locale' '' '.po' + + default +} + +src_compile() { + local args=() + use nls || args+=( '--without-gettext' ) + + "${EPYTHON}" ./setup.py "${args[@]}" build +} + +src_install() { + dobin "${PN}" + + doicon -s scalable "glade/svg/${PN}.svg" + domenu "linux/${PN}.desktop" + doman "linux/${PN}.1" + + insinto "/usr/share/${PN}" + doins -r 'glade/' 'modules/' 'language-specs/' + + insinto '/usr/share/mime-info' + doins "linux/${PN}".{mime,keys} + insinto '/usr/share/mime/packages' + doins "linux/${PN}.xml" + + if use nls ; then + ins_loc() { + # cannot use domo() as it installs files into a wrong dir + insinto "/usr/share/locale/${1}/LC_MESSAGES" + doins "build/mo/${1}/${PN}.mo" + } + l10n_for_each_locale_do ins_loc + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} diff --git a/app-text/cherrytree/metadata.xml b/app-text/cherrytree/metadata.xml new file mode 100644 index 0000000..e9a8f55 --- /dev/null +++ b/app-text/cherrytree/metadata.xml @@ -0,0 +1,13 @@ + + + + + dev.rindeal+bugs.gentoo.org@gmail.com + Jan Chren (rindeal) + Proxied maintainer; set to assignee in all bugs + + + proxy-maint@gentoo.org + Proxy Maintainers + +