From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/g-cpan/
Date: Fri, 10 Apr 2020 23:31:16 +0000 (UTC) [thread overview]
Message-ID: <1586561457.04afeefdc48ca15c17af9d536d70b5099854e8da.dilfridge@gentoo> (raw)
commit: 04afeefdc48ca15c17af9d536d70b5099854e8da
Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com>
AuthorDate: Sat Apr 4 07:46:27 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> 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 <Sergiy.Borodych <AT> gmail.com>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> 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"
next reply other threads:[~2020-04-10 23:31 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-10 23:31 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-27 12:12 [gentoo-commits] repo/gentoo:master commit in: app-portage/g-cpan/ Andreas K. Hüttel
2023-12-17 14:30 Mart Raudsepp
2022-07-04 6:55 Agostino Sarubbo
2022-07-04 6:54 Agostino Sarubbo
2022-07-04 6:53 Agostino Sarubbo
2022-07-04 6:53 Agostino Sarubbo
2022-07-04 6:52 Agostino Sarubbo
2022-07-04 6:51 Agostino Sarubbo
2022-07-03 22:39 Sam James
2022-07-03 22:33 Sam James
2020-05-16 7:09 Joonas Niilola
2020-04-10 23:31 Andreas K. Hüttel
2020-04-10 23:31 Andreas K. Hüttel
2019-05-18 10:02 Michał Górny
2018-03-21 18:12 Michał Górny
2017-07-30 8:47 Michał Górny
2017-02-16 21:12 Markus Meier
2017-01-23 6:57 Jeroen Roovers
2017-01-02 9:11 Andreas Hüttel
2016-12-30 11:12 Agostino Sarubbo
2016-12-20 17:31 Tobias Klausmann
2016-11-15 14:53 Tobias Klausmann
2016-11-11 23:46 Andreas Hüttel
2016-07-14 16:08 Patrice Clement
2016-05-06 20:51 Andreas Hüttel
2016-04-30 16:57 Andreas Hüttel
2016-04-30 16:57 Andreas Hüttel
2016-04-30 16:57 Andreas Hüttel
2016-04-30 16:57 Andreas Hüttel
2016-04-29 19:36 Andreas Hüttel
2015-10-07 20:40 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1586561457.04afeefdc48ca15c17af9d536d70b5099854e8da.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox