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 81D341384B4 for ; Fri, 11 Dec 2015 21:06:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B05F921C09A; Fri, 11 Dec 2015 21:04:01 +0000 (UTC) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A58621C026 for ; Fri, 11 Dec 2015 21:03:57 +0000 (UTC) X-RZG-AUTH: :LWIAZ0WpaN8ZbZokUUbkjK1FlhWAPobRR6CE01MhpOKB+5jY/DVlPOa8rOHZrOuQs+JEAQ== X-RZG-CLASS-ID: mo00 Received: from pinacolada.akhuettel.de (88-133-183-17.hsi.glasfaser-ostbayern.de [88.133.183.17]) by smtp.strato.de (RZmta 37.14 AUTH) with ESMTPSA id 50453arBBL3tY32 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 11 Dec 2015 22:03:55 +0100 (CET) Received: by pinacolada.akhuettel.de (Postfix, from userid 1000) id 52F683003B4; Fri, 11 Dec 2015 22:03:55 +0100 (CET) From: dilfridge@gentoo.org To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Subject: [gentoo-dev] [PATCH 08/15] perl-module.eclass: Document variables available in EAPI=6 Date: Fri, 11 Dec 2015 22:03:04 +0100 Message-Id: <1449867791-30513-8-git-send-email-dilfridge@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1449867791-30513-1-git-send-email-dilfridge@gentoo.org> References: <201512112201.15354.dilfridge@gentoo.org> <1449867791-30513-1-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: c230d753-272e-44ee-be4d-61d33a3dc64f X-Archives-Hash: 36565c8dc3c49c8aea9f849f1cc270c9 From: Andreas K. Hüttel --- eclass/perl-module.eclass | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 7434bcf..82707fe 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -29,6 +29,18 @@ case "${EAPI:-0}" in ;; esac +# @ECLASS-VARIABLE: GENTOO_DEPEND_ON_PERL +# @DESCRIPTION: +# This variable controls whether a runtime and build time dependency on +# dev-lang/perl is automatically added by the eclass. It defaults to yes. +# Set to no to disable. + +# @ECLASS-VARIABLE: GENTOO_DEPEND_ON_PERL_SUBSLOT +# @DESCRIPTION: +# This variable controls whether the dependency on dev-lang/perl added by +# the eclass contains a := slot operator. Defaults to yes, set to no to +# disable the slot operator. All packages installing into the vendor_perl +# path must use yes here. case "${EAPI:-0}" in 5) @@ -102,6 +114,31 @@ esac LICENSE="${LICENSE:-|| ( Artistic GPL-1+ )}" +# @ECLASS-VARIABLE: MODULE_NAME +# @DESCRIPTION: +# (EAPI=6) This variable provides a way to override PN for the calculation of S, +# SRC_URI, and HOMEPAGE. Defaults to PN. + +# @ECLASS-VARIABLE: MODULE_VERSION +# @DESCRIPTION: +# This variable provides a way to override PV for the calculation of S and SRC_URI. +# Use it to provide the non-normalized, upstream version number. Defaults to PV. + +# @ECLASS-VARIABLE: MODULE_A_EXT +# @DESCRIPTION: +# This variable provides a way to override the distfile extension for the calculation of +# SRC_URI. Defaults to tar.gz + +# @ECLASS-VARIABLE: MODULE_A +# @DESCRIPTION: +# This variable provides a way to override the distfile name for the calculation of +# SRC_URI. Defaults to ${MODULE_NAME}-${MODULE_VERSION}.${MODULE_A_EXT} + +# @ECLASS-VARIABLE: MODULE_AUTHOR +# @DESCRIPTION: +# This variable sets the module author name for the calculation of +# SRC_URI. + if [[ ${EAPI:-0} = 5 ]] ; then if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}} -- 2.6.3