commit:     93de7b406a234560fd509d4a3109ce75d3f7c0f4
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 09:58:34 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 09:13:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93de7b40

cvs.eclass: Remove support for PATCHES.

Not used in the tree, and broken in EAPI 7.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/cvs.eclass | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index 128c065ebe7..33a64244547 100644
--- a/eclass/cvs.eclass
+++ b/eclass/cvs.eclass
@@ -15,8 +15,6 @@
 if [[ -z ${_CVS_ECLASS} ]]; then
 _CVS_ECLASS=1
 
-inherit eutils
-
 # TODO:
 
 # Implement more auth types (gserver?, kserver?)
@@ -525,18 +523,6 @@ cvs_src_unpack() {
                rm -rf "${ECVS_TOP_DIR}/${ECVS_LOCALNAME}"
        fi
 
-       # Implement some of base_src_unpack's functionality; note however
-       # that base.eclass may not have been inherited!
-       if [[ -n ${PATCHES} ]] ; then
-               debug-print "${FUNCNAME}: PATCHES=${PATCHES}, S=${S}, 
autopatching"
-               cd "${S}"
-               epatch ${PATCHES}
-               # Make sure we don't try to apply patches more than once,
-               # since cvs_src_unpack is usually called several times from
-               # e.g. kde-source_src_unpack
-               export PATCHES=""
-       fi
-
        einfo "CVS module ${ECVS_MODULE} is now in ${WORKDIR}"
 }
 

Reply via email to