From 4dc13c8786ecf1dd8d14efeb20f19ce21e1f489e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Thu, 17 Oct 2019 05:43:31 +0200 Subject: [PATCH] perl-module.eclass: fix eclassdoc warnings, bug 637838 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/637838 Signed-off-by: Andreas K. Hüttel --- eclass/perl-module.eclass | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index e1fb97df3260..7a839bc7288c 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -134,25 +134,29 @@ esac LICENSE="${LICENSE:-|| ( Artistic GPL-1+ )}" # @ECLASS-VARIABLE: DIST_NAME +# @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override PN for the calculation of S, -# SRC_URI, and HOMEPAGE. Defaults to PN. +# SRC_URI, and HOMEPAGE. If unset, defaults to PN. # @ECLASS-VARIABLE: DIST_VERSION +# @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) 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. +# Use it to provide the non-normalized, upstream version number. If unset, defaults to PV. # Named MODULE_VERSION in EAPI=5. # @ECLASS-VARIABLE: DIST_A_EXT +# @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override the distfile extension for the calculation of -# SRC_URI. Defaults to tar.gz. Named MODULE_A_EXT in EAPI=5. +# SRC_URI. If unset, defaults to tar.gz. Named MODULE_A_EXT in EAPI=5. # @ECLASS-VARIABLE: DIST_A +# @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override the distfile name for the calculation of -# SRC_URI. Defaults to ${DIST_NAME}-${DIST_VERSION}.${DIST_A_EXT} Named MODULE_A in EAPI=5. +# SRC_URI. If unset, defaults to ${DIST_NAME}-${DIST_VERSION}.${DIST_A_EXT} Named MODULE_A in EAPI=5. # @ECLASS-VARIABLE: DIST_AUTHOR # @DEFAULT_UNSET @@ -340,9 +344,10 @@ perl-module_src_compile() { } # @ECLASS-VARIABLE: DIST_TEST +# @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) Variable that controls if tests are run in the test phase -# at all, and if yes under which conditions. Defaults to "do parallel" +# at all, and if yes under which conditions. If unset, defaults to "do parallel" # If neither "do" nor "parallel" is recognized, tests are skipped. # (In EAPI=5 the variable is called SRC_TEST, defaults to "skip", and # recognizes fewer options.) -- 2.26.2