cvs.eclass: Remove support for PATCHES.
authorUlrich Müller <ulm@gentoo.org>
Thu, 18 Jul 2019 09:58:34 +0000 (11:58 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sun, 21 Jul 2019 09:13:46 +0000 (11:13 +0200)
Not used in the tree, and broken in EAPI 7.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/cvs.eclass

index 128c065ebe780df63c9a183d9ae338dfbbfe093b..33a642445471316e3a6c86a7cbfca43af6befb5c 100644 (file)
@@ -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}"
 }