subversion.eclass: EAPI-7 ready
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 21 Jun 2019 11:18:08 +0000 (13:18 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 21 Jun 2019 11:22:12 +0000 (13:22 +0200)
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
eclass/subversion.eclass

index d9f9daf7eb6e7bf67813f5ece33037e85787395b..39d85f7c89c1d5d18d8538ee5296428be5e5aca6 100644 (file)
 # The subversion eclass provides functions to fetch, patch and bootstrap
 # software sources from subversion repositories.
 
-inherit eutils
-
 ESVN="${ECLASS}"
 
 case "${EAPI:-0}" in
        0|1)
+               inherit eutils
                EXPORT_FUNCTIONS src_unpack pkg_preinst
                DEPEND="dev-vcs/subversion"
                ;;
        2|3|4|5)
+               inherit eutils
                EXPORT_FUNCTIONS src_unpack src_prepare pkg_preinst
                DEPEND="|| ( dev-vcs/subversion[http] dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] )"
                ;;
-       6)
+       6|7)
                EXPORT_FUNCTIONS src_unpack pkg_preinst
                DEPEND="|| ( dev-vcs/subversion[http] dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] )"
                ;;