diff --git a/python/py-parsing/Portfile b/python/py-parsing/Portfile index fd050c669954..2833d0268512 100644 --- a/python/py-parsing/Portfile +++ b/python/py-parsing/Portfile @@ -40,9 +40,17 @@ if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools } else { + if {${python.version} <= 38} { + version 3.1.4 + checksums rmd160 b9c5d15d75f99c63de72dd620b5e4921a88a8aeb \ + sha256 f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 \ + size 900231 + } + python.pep517 yes python.pep517_backend flit } + if {${python.version} == 36} { # break circular dependency with py36-build python.add_dependencies no @@ -51,11 +59,6 @@ if {${name} ne ${subport}} { build.env-append PYTHONPATH=${prefix}/share/py36-bootstrap-modules build.args --skip-dependency-check destroot.env-append PYTHONPATH=${prefix}/share/py36-bootstrap-modules - } elseif {${python.version} == 38} { - version 3.1.4 - checksums rmd160 b9c5d15d75f99c63de72dd620b5e4921a88a8aeb \ - sha256 f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 \ - size 900231 } test.run yes