From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- app-portage/g-cpan/g-cpan-9999.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'app-portage/g-cpan/g-cpan-9999.ebuild') diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild index fdd2d32c2860..fca42099a130 100644 --- a/app-portage/g-cpan/g-cpan-9999.ebuild +++ b/app-portage/g-cpan/g-cpan-9999.ebuild @@ -1,16 +1,17 @@ -# Copyright 1999-2019 Gentoo Authors +# 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 SRC_URI="" else SRC_URI="https://github.com/gentoo-perl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" @@ -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" -- cgit v1.2.3