diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-11-09 21:34:29 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-11-09 21:34:29 +0000 |
commit | 624b52dfd44a4fadd5e3b58769dd755686631706 (patch) | |
tree | 5cee1052bb4ee4bb57a054aa716f304df494c72c /eclass/perl-module.eclass | |
parent | restrict dependence on dev-python/dockerpty (diff) | |
download | gentoo-2-624b52dfd44a4fadd5e3b58769dd755686631706.tar.gz gentoo-2-624b52dfd44a4fadd5e3b58769dd755686631706.tar.bz2 gentoo-2-624b52dfd44a4fadd5e3b58769dd755686631706.zip |
Add docs and deprecate perlinfo and fixlocalpod
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 8f7458747eb6..ffe88b033a95 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.147 2014/11/09 18:10:24 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.148 2014/11/09 21:34:29 dilfridge Exp $ # @ECLASS: perl-module.eclass # @MAINTAINER: @@ -305,9 +305,20 @@ perl-module_pkg_postrm() { perlinfo() { debug-print-function $FUNCNAME "$@" + eqawarn "perl-modules.eclass: perlinfo is deprecated and will be removed. Please use perl_set_version instead." perl_set_version } +# @FUNCTION: perl_set_version +# @USAGE: perl_set_version +# @DESCRIPTION: +# Extract version information and installation paths from the current Perl +# interpreter. +# +# This sets the following variables: PERL_VERSION, SITE_ARCH, SITE_LIB, +# ARCH_LIB, VENDOR_LIB, VENDOR_ARCH +# +# This function used to be called perlinfo as well. perl_set_version() { debug-print-function $FUNCNAME "$@" debug-print "$FUNCNAME: perlinfo_done=${perlinfo_done}" @@ -326,9 +337,16 @@ perl_set_version() { fixlocalpod() { debug-print-function $FUNCNAME "$@" + eqawarn "perl-modules.eclass: fixlocalpod is deprecated and will be removed. Please use perl_delete_localpod instead." perl_delete_localpod } +# @FUNCTION: perl_delete_localpod +# @USAGE: perl_delete_localpod +# @DESCRIPTION: +# Remove stray perllocal.pod files in the temporary install directory D. +# +# This function used to be called fixlocalpod as well. perl_delete_localpod() { debug-print-function $FUNCNAME "$@" |