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 9828A1382C5 for ; Sat, 27 Mar 2021 23:29:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5F53E0825; Sat, 27 Mar 2021 23:29:11 +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 9895DE0825 for ; Sat, 27 Mar 2021 23:29:11 +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 38617335C67 for ; Sat, 27 Mar 2021 23:29:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75522592 for ; Sat, 27 Mar 2021 23:29:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616887736.58cd061cfb77fa5647e82725d0d1a9d0c2409ecc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/verynice/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/verynice/verynice-1.1-r3.ebuild X-VCS-Directories: app-admin/verynice/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 58cd061cfb77fa5647e82725d0d1a9d0c2409ecc X-VCS-Branch: master Date: Sat, 27 Mar 2021 23:29:08 +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: fb4d459e-91c0-407c-a5b8-4a8e5bb0e2b3 X-Archives-Hash: e7bbc90d833d731f8b98a6b972bc649e commit: 58cd061cfb77fa5647e82725d0d1a9d0c2409ecc Author: Sam James gentoo org> AuthorDate: Sat Mar 27 22:50:24 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 27 23:28:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58cd061c app-admin/verynice: port to EAPI 7, fix VariableScope Signed-off-by: Sam James gentoo.org> app-admin/verynice/verynice-1.1-r3.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app-admin/verynice/verynice-1.1-r3.ebuild b/app-admin/verynice/verynice-1.1-r3.ebuild index bcb090717f3..b2ea0ce012c 100644 --- a/app-admin/verynice/verynice-1.1-r3.ebuild +++ b/app-admin/verynice/verynice-1.1-r3.ebuild @@ -1,20 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit systemd toolchain-funcs DESCRIPTION="A tool for dynamically adjusting the nice-level of processes" HOMEPAGE="https://web.archive.org/web/20130621090315/http://thermal.cnde.iastate.edu/~sdh4/verynice/" SRC_URI="http://gentoo/${P}.tar.gz" +S="${WORKDIR}"/${PN} LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" - -S=${WORKDIR}/${PN} PATCHES=( "${FILESDIR}"/${PN}-1.1-build.patch @@ -22,11 +20,11 @@ PATCHES=( src_compile() { tc-export CC - emake RPM_BUILD_ROOT="${D}" PREFIX=/usr + emake PREFIX="${EPREFIX}"/usr } src_install() { - emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install + emake RPM_BUILD_ROOT="${D}" PREFIX="${EPREFIX}"/usr VERSION=${PVR} install doinitd "${FILESDIR}"/verynice systemd_dounit "${FILESDIR}"/verynice.service }