python*r1.eclass: Remove python-exec:0 leftover
authorMichał Górny <mgorny@gentoo.org>
Sat, 30 Nov 2019 10:42:27 +0000 (11:42 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Dec 2019 14:36:29 +0000 (15:36 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-r1.eclass
eclass/python-single-r1.eclass

index 479c4d08234b112b1b20db3d6bb43b9ec6c2f631..e87b59967cdef799a09935f1a334c5d7a2b1548f 100644 (file)
@@ -195,11 +195,7 @@ _python_set_globals() {
        # but no point in making this overcomplex, BDEP doesn't hurt anyone
        # 2) python-exec should be built with all targets forced anyway
        # but if new targets were added, we may need to force a rebuild
-       if [[ ${_PYTHON_WANT_PYTHON_EXEC2} == 0 ]]; then
-               die "python-exec:0 is no longer supported, please fix your ebuild to work with python-exec:2"
-       else
-               deps+=">=dev-lang/python-exec-2:=[${usedep}]"
-       fi
+       deps+=">=dev-lang/python-exec-2:=[${usedep}]"
 
        if [[ ${PYTHON_DEPS+1} ]]; then
                # IUSE is magical, so we can't really check it
index 5c6be1c9b11ca6c45fbc7367b31f68c15f967217..f42c0fb6197a0c91143b095367c2407aba3a5c77 100644 (file)
@@ -210,11 +210,7 @@ _python_single_set_globals() {
        # but no point in making this overcomplex, BDEP doesn't hurt anyone
        # 2) python-exec should be built with all targets forced anyway
        # but if new targets were added, we may need to force a rebuild
-       if [[ ${_PYTHON_WANT_PYTHON_EXEC2} == 0 ]]; then
-               die "python-exec:0 is no longer supported, please fix your ebuild to work with python-exec:2"
-       else
-               deps+=">=dev-lang/python-exec-2:=[${usedep}]"
-       fi
+       deps+=">=dev-lang/python-exec-2:=[${usedep}]"
 
        if [[ ${PYTHON_DEPS+1} ]]; then
                if [[ ${PYTHON_DEPS} != "${deps}" ]]; then