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 C9ADB138334 for ; Tue, 5 Feb 2019 16:24:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99F4FE0B6F; Tue, 5 Feb 2019 16:24:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6D0FEE0B6F for ; Tue, 5 Feb 2019 16:24:44 +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 C5701335D85 for ; Tue, 5 Feb 2019 16:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D078852F for ; Tue, 5 Feb 2019 16:24:40 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1549383853.a36e6460f1fa1464b82ef2c8673f995bd8d835d2.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/note/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/note/note-1.3.3-r2.ebuild X-VCS-Directories: app-misc/note/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: a36e6460f1fa1464b82ef2c8673f995bd8d835d2 X-VCS-Branch: master Date: Tue, 5 Feb 2019 16:24:40 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17037c28-ee05-4f31-afbf-73d7c8123f64 X-Archives-Hash: 8c2f7d7637a026b8e1dfa78defc2a4e9 commit: a36e6460f1fa1464b82ef2c8673f995bd8d835d2 Author: Brian Evans gentoo org> AuthorDate: Tue Feb 5 16:24:13 2019 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Feb 5 16:24:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36e6460 app-misc/note: EAPI bump, fix deps, general cleanup Bug 665824 is forcing a dependency review as virtual/mysql is incorrect This package simply will need DBD-mysql While at it, remove the dodir/cp pairs for into{ins,exe}/do{ins,exe} pairs This remains maintainer-needed as no real testing was done Bug: https://bugs.gentoo.org/665824 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> app-misc/note/note-1.3.3-r2.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/app-misc/note/note-1.3.3-r2.ebuild b/app-misc/note/note-1.3.3-r2.ebuild new file mode 100644 index 00000000000..fc0e6b7a020 --- /dev/null +++ b/app-misc/note/note-1.3.3-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit perl-module + +DESCRIPTION="A note taking perl program" +HOMEPAGE="https://www.daemon.de/NOTE" +SRC_URI="https://www.daemon.de/idisk/Apps/note/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="crypt dbm general mysql text" + +DEPEND="dev-perl/TermReadKey + dev-perl/Term-ReadLine-Perl + virtual/perl-Storable + dev-perl/Config-General + crypt? ( dev-perl/Crypt-CBC + dev-perl/Crypt-Blowfish + dev-perl/Crypt-DES ) + mysql? ( dev-perl/DBD-mysql )" +RDEPEND="${DEPEND}" + +# extraneous README that gets installed into the perl module +PERL_RM_FILES=( NOTEDB/README ) + +src_prepare() { + # Supressing file not needed + local v + for v in mysql text dbm general; do + if ! use ${v}; then + PERL_RM_FILES+=( NOTEDB/${v}.pm ) + fi + done + perl-module_src_prepare +} + +src_install() { + perl-module_src_install + + # Adding some basic utitily for testing note + exeinto /usr/share/${PN} + doexe bin/stresstest.sh + + # Adding some help for mysql backend driver + if use mysql; then + insinto /usr/share/${PN}/mysql + exeinto /usr/share/${PN}/mysql + doins mysql/{README,sql,permissions} + doexe mysql/install.sh + fi + + # Adding a sample configuration file + insinto /etc + doins config/noterc + + dodoc UPGRADE VERSION +}