commit:     b335766ad3ded55d068fb863672e45a22f0d6b85
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Jun 20 20:40:08 2015 +0000
Commit:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Sat Jun 20 20:40:08 2015 +0000
URL:        https://gitweb.gentoo.org/proj/perl-overlay.git/commit/?id=b335766a

[eclass] Remove redundant and deprecated functions

 eclass/perl-module.eclass | 72 -----------------------------------------------
 1 file changed, 72 deletions(-)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index c768b43..99171f4 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -188,21 +188,6 @@ perl-module_src_configure() {
        fi
 }
 
-# @FUNCTION: perl-module_src_prep
-# @USAGE: perl-module_src_prep
-# @DESCRIPTION:
-# Configure the ebuild sources (bis).
-#
-# This function is still around for historical reasons
-# and will be soon deprecated.
-#
-# Please use the function above instead, perl-module_src_configure().
-perl-module_src_prep() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-modules.eclass: perl-module_src_prep is deprecated and will 
be removed. Please use perl-module_src_configure instead."
-       perl-module_src_configure
-}
-
 # @FUNCTION: perl-module_src_compile
 # @USAGE: perl-module_src_compile
 # @DESCRIPTION:
@@ -355,28 +340,6 @@ perl-module_src_install() {
        perl_link_duallife_scripts
 }
 
-# @FUNCTION: perl-module_pkg_setup
-# @USAGE: perl-module_pkg_setup
-# @DESCRIPTION:
-# This function was to be called during the pkg_setup() phase.
-# Deprecated, to be removed. Where it is called, place a call to 
perl_set_version instead.
-perl-module_pkg_setup() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-modules.eclass: perl-module_pkg_setup is deprecated and 
will be removed. Please use perl_set_version instead."
-       perl_set_version
-}
-
-# @FUNCTION: perl-module_pkg_preinst
-# @USAGE: perl-module_pkg_preinst
-# @DESCRIPTION:
-# This function was to be called during the pkg_preinst() phase.
-# Deprecated, to be removed. Where it is called, place a call to 
perl_set_version instead.
-perl-module_pkg_preinst() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-modules.eclass: perl-module_pkg_preinst is deprecated and 
will be removed. Please use perl_set_version instead."
-       perl_set_version
-}
-
 # @FUNCTION: perl-module_pkg_postinst
 # @USAGE: perl-module_pkg_postinst
 # @DESCRIPTION:
@@ -395,16 +358,6 @@ perl-module_pkg_postinst() {
        perl_link_duallife_scripts
 }
 
-# @FUNCTION: perl-module_pkg_prerm
-# @USAGE: perl-module_pkg_prerm
-# @DESCRIPTION:
-# This function was to be called during the pkg_prerm() phase.
-# It does not do anything. Deprecated, to be removed.
-perl-module_pkg_prerm() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-module.eclass: perl-module_pkg_prerm does not do anything 
and will be removed. Please remove the call."
-}
-
 # @FUNCTION: perl-module_pkg_postrm
 # @USAGE: perl-module_pkg_postrm
 # @DESCRIPTION:
@@ -424,28 +377,3 @@ perl-module_pkg_postrm() {
 }
 
 has perl_diagnostics ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+=" 
perl_diagnostics"
-
-
-# @FUNCTION: perlinfo
-# @USAGE: perlinfo
-# @DESCRIPTION:
-# This function is deprecated.
-#
-# Please use the function above instead, perl_set_version().
-perlinfo() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-modules.eclass: perlinfo is deprecated and will be removed. 
Please use perl_set_version instead."
-       perl_set_version
-}
-
-# @FUNCTION: fixlocalpod
-# @USAGE: fixlocalpod
-# @DESCRIPTION:
-# This function is deprecated.
-#
-# Please use the function above instead, perl_delete_localpod().
-fixlocalpod() {
-       debug-print-function $FUNCNAME "$@"
-       ewarn "perl-modules.eclass: fixlocalpod is deprecated and will be 
removed. Please use perl_delete_localpod instead."
-       perl_delete_localpod
-}

Reply via email to