From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C6C3C1384B4 for ; Sat, 12 Dec 2015 11:57:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E60721C04A; Sat, 12 Dec 2015 11:57:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 903E9E0855 for ; Sat, 12 Dec 2015 11:57:47 +0000 (UTC) Received: from [192.168.192.89] (public-gprs516567.centertel.pl [31.61.137.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id F101D340756; Sat, 12 Dec 2015 11:57:38 +0000 (UTC) User-Agent: K-9 Mail for Android In-Reply-To: <1449867791-30513-6-git-send-email-dilfridge@gentoo.org> References: <201512112201.15354.dilfridge@gentoo.org> <1449867791-30513-1-git-send-email-dilfridge@gentoo.org> <1449867791-30513-6-git-send-email-dilfridge@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [gentoo-dev] [PATCH 06/15] perl-module.eclass: Introduce MODULE_NAME and MODULE_P while still keeping existing weirdness compatible From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= Date: Sat, 12 Dec 2015 12:57:14 +0100 To: gentoo-dev@lists.gentoo.org,dilfridge@gentoo.org CC: =?ISO-8859-1?Q?Andreas_K=2E_H=FCttel?= Message-ID: X-Archives-Salt: 50681743-66f0-4543-9407-a8311e6cacf6 X-Archives-Hash: d12f41fd9f6be72f15f47b031daff3fd Dnia 11 grudnia 2015 22:03:02 CET, dilfridge@gentoo.org napisał(a): >From: Andreas K. Hüttel > >--- > eclass/perl-module.eclass | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass >index 9d87b17..6a5f2ff 100644 >--- a/eclass/perl-module.eclass >+++ b/eclass/perl-module.eclass >@@ -106,13 +106,15 @@ if [[ -n ${MY_PN} || -n ${MY_PV} || -n >${MODULE_VERSION} ]] ; then > : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}} > S=${MY_S:-${WORKDIR}/${MY_P}} > fi >+MODULE_NAME=${MY_PN:-${PN}} >+MODULE_P=${MY_P:-${P}} > > [[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && \ >- MODULE_A="${MY_P:-${P}}.${MODULE_A_EXT:-tar.gz}" >+ MODULE_A="${MODULE_P}.${MODULE_A_EXT:-tar.gz}" > [[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \ > SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION:+${MODULE_SECTION}/}${MODULE_A}" > [[ -z "${HOMEPAGE}" ]] && \ >- HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}/" >+ HOMEPAGE="http://search.cpan.org/dist/${MODULE_NAME}/" > > SRC_PREP="no" > SRC_TEST="skip" Here, the commit message summary line is way too long. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.