python-utils-r1.eclass: add python3_7 support
authorMike Gilbert <floppym@gentoo.org>
Fri, 6 Jul 2018 19:17:17 +0000 (15:17 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 8 Jul 2018 14:02:13 +0000 (10:02 -0400)
eclass/python-utils-r1.eclass

index ab4db71422d22413d38d4b55bc253d71521448df..0a4744cf959a4267922576297ba804e2c195656a 100644 (file)
@@ -43,7 +43,7 @@ _PYTHON_ALL_IMPLS=(
        jython2_7
        pypy pypy3
        python2_7
-       python3_4 python3_5 python3_6
+       python3_4 python3_5 python3_6 python3_7
 )
 readonly _PYTHON_ALL_IMPLS
 
@@ -79,7 +79,7 @@ _python_impl_supported() {
        # keep in sync with _PYTHON_ALL_IMPLS!
        # (not using that list because inline patterns shall be faster)
        case "${impl}" in
-               python2_7|python3_[456]|jython2_7)
+               python2_7|python3_[4567]|jython2_7)
                        return 0
                        ;;
                pypy1_[89]|pypy2_0|python2_[56]|python3_[123])