python-single-r1.eclass: Remove EAPI=4 exceptions
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 20:00:42 +0000 (21:00 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 20:24:40 +0000 (21:24 +0100)
eclass/python-single-r1.eclass

index 16102816f148bfc9c00722474ebe1d28a38dfce8..db08cab1e85c0041651245f8341e417f84df7418 100644 (file)
 # https://wiki.gentoo.org/wiki/Project:Python/python-single-r1
 
 case "${EAPI:-0}" in
-       0|1|2|3)
+       0|1|2|3|4)
                die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
                ;;
-       4)
-               # EAPI=4 is only allowed on legacy packages
-               if [[ ${CATEGORY}/${P} == app-arch/threadzip-1.2 ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == media-libs/lv2-1.8.0 ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == media-libs/lv2-1.10.0 ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == sys-apps/paludis-1* ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == sys-apps/paludis-2.[02].0 ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == sys-apps/util-linux-2.2[456]* ]]; then
-                       :
-               elif [[ ${CATEGORY}/${P} == */gdb-7.[78]* ]]; then
-                       :
-               else
-                       die "Unsupported EAPI=${EAPI:-4} (too old, allowed only on restricted set of packages) for ${ECLASS}"
-               fi
-               ;;
        5|6)
                # EAPI=5 is required for sane USE_EXPAND dependencies
                ;;