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 D3785138350 for ; Fri, 10 Apr 2020 23:31:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91DC7E0B43; Fri, 10 Apr 2020 23:31:20 +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 17CFFE0B43 for ; Fri, 10 Apr 2020 23:31:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3408934EF1F for ; Fri, 10 Apr 2020 23:31:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B85C6103 for ; Fri, 10 Apr 2020 23:31:16 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1586561457.04afeefdc48ca15c17af9d536d70b5099854e8da.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/g-cpan/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild app-portage/g-cpan/g-cpan-9999.ebuild X-VCS-Directories: app-portage/g-cpan/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 04afeefdc48ca15c17af9d536d70b5099854e8da X-VCS-Branch: master Date: Fri, 10 Apr 2020 23:31:16 +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: c83b2636-ef82-400b-9edc-2f77bf63cbe5 X-Archives-Hash: f18a4a7a28b7531f1b070130a4604a4b commit: 04afeefdc48ca15c17af9d536d70b5099854e8da Author: Sergiy Borodych gmail com> AuthorDate: Sat Apr 4 07:46:27 2020 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Apr 10 23:30:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04afeefd app-portage/g-cpan: migrate to EAPI=7 & add detection of use prefix prefix detecting is matter for diropts with portage user-group options Signed-off-by: Sergiy Borodych gmail.com> Signed-off-by: Andreas K. Hüttel gentoo.org> app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild | 9 +++++++-- app-portage/g-cpan/g-cpan-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild b/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild index d12aa9937dd..8bf683d29b8 100644 --- a/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild +++ b/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit perl-module + if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" inherit git-r3 @@ -41,7 +42,11 @@ DEPEND="${COMMONDEPEND} src_install() { perl-module_src_install - diropts -m0775 -o portage -g portage + if ! use prefix; then + diropts -m0775 -o portage -g portage + else + diropts -m0775 + fi dodir "/var/tmp/g-cpan" dodir "/var/log/g-cpan" keepdir "/var/log/g-cpan" diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild index 5fad97abc0e..fca42099a13 100644 --- a/app-portage/g-cpan/g-cpan-9999.ebuild +++ b/app-portage/g-cpan/g-cpan-9999.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit perl-module + if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" inherit git-r3 @@ -43,7 +44,11 @@ DEPEND="${COMMONDEPEND} src_install() { perl-module_src_install - diropts -m0775 -o portage -g portage + if ! use prefix; then + diropts -m0775 -o portage -g portage + else + diropts -m0775 + fi dodir "/var/tmp/g-cpan" dodir "/var/log/g-cpan" keepdir "/var/log/g-cpan"