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 59873158086 for ; Fri, 8 Oct 2021 12:33:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E6F9E081A; Fri, 8 Oct 2021 12:33:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64E33E081A for ; Fri, 8 Oct 2021 12:33:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25025343339 for ; Fri, 8 Oct 2021 12:33:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B960510A for ; Fri, 8 Oct 2021 12:33:25 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1633696291.1cddea63e92eb4d6acf7a633a84cfd17ad45dc26.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/ng/metadata.xml app-editors/ng/ng-1.5_beta1-r3.ebuild X-VCS-Directories: app-editors/ng/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: 1cddea63e92eb4d6acf7a633a84cfd17ad45dc26 X-VCS-Branch: master Date: Fri, 8 Oct 2021 12:33:25 +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: 78aa8db3-aef7-44c0-854a-a2692331237e X-Archives-Hash: e098a2e06a361651b8a8b2a506b4c30d commit: 1cddea63e92eb4d6acf7a633a84cfd17ad45dc26 Author: Akinori Hattori gentoo org> AuthorDate: Fri Oct 8 12:31:31 2021 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Fri Oct 8 12:31:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cddea63 app-editors/ng: update to EAPI 7 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori gentoo.org> app-editors/ng/metadata.xml | 8 ++++---- app-editors/ng/ng-1.5_beta1-r3.ebuild | 33 ++++++++++++++++----------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/app-editors/ng/metadata.xml b/app-editors/ng/metadata.xml index 1d892a124fa..a94766977fa 100644 --- a/app-editors/ng/metadata.xml +++ b/app-editors/ng/metadata.xml @@ -1,8 +1,8 @@ - - cjk@gentoo.org - Cjk - + + cjk@gentoo.org + Cjk + diff --git a/app-editors/ng/ng-1.5_beta1-r3.ebuild b/app-editors/ng/ng-1.5_beta1-r3.ebuild index 428dbda5a7d..9c71c540e8b 100644 --- a/app-editors/ng/ng-1.5_beta1-r3.ebuild +++ b/app-editors/ng/ng-1.5_beta1-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI="7" inherit autotools toolchain-funcs @@ -9,30 +9,29 @@ MY_P="${P/_beta/beta}" DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" -SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="http://tt.sakura.ne.jp/~amura/archives/${PN}/${MY_P}.tar.gz" LICENSE="Emacs" SLOT="0" KEYWORDS="amd64 ppc x86" -RDEPEND=" - sys-libs/ncurses:0= - !dev-java/nailgun" +RDEPEND="sys-libs/ncurses:0=" DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_P}" PATCHES=( - "${FILESDIR}/${MY_P}-ncurses.patch" - "${FILESDIR}/${MY_P}-configure.patch" + "${FILESDIR}"/${MY_P}-ncurses.patch + "${FILESDIR}"/${MY_P}-configure.patch ) src_prepare() { default - sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" - pushd sys/unix > /dev/null || die + sed -i "/NO_BACKUP/s/undef/define/" config.h + cd sys/unix || die + mv configure.{in,ac} || die eautoconf - popd > /dev/null || die + cd - >/dev/null || die cp sys/unix/configure . || die } @@ -45,20 +44,20 @@ src_compile() { } src_install() { - dobin ng - dodoc docs/* MANIFEST dot.ng + dobin ${PN} + dodoc docs/* MANIFEST dot.${PN} - insinto /usr/share/ng + insinto /usr/share/${PN} doins bin/* insinto /etc/skel - newins dot.ng .ng + newins {dot,}.${PN} } pkg_postinst() { elog elog "If you want to use user Config" - elog "cp /etc/skel/.ng ~/.ng" - elog "and edit your .ng configuration file." + elog "cp /etc/skel/.${PN} ~/.${PN}" + elog "and edit your .${PN} configuration file." elog }