diff --git a/python/py-wheel/Portfile b/python/py-wheel/Portfile index 91de0af3ea699..ef8bbe8b1ae99 100644 --- a/python/py-wheel/Portfile +++ b/python/py-wheel/Portfile @@ -47,11 +47,10 @@ if {${name} ne ${subport}} { } if {${python.version} == 36} { - python.pep517 yes depends_build-append port:py${python.version}-importlib-resources } - if {${python.version} > 36} { + if {${python.version} >= 36} { python.pep517 yes # break circular dependency with py-build python.add_dependencies no