languate/python: further update pure Python wheel detection

This commit is contained in:
Dustin Rodrigues 2025-06-10 00:49:39 -04:00
parent e8f4a8e1a7
commit 5f188b830e
No known key found for this signature in database
GPG Key ID: 140DABE812A1491D

View File

@ -399,7 +399,7 @@ module Language
if t.is_a?(Resource)
t.stage do
target = Pathname.pwd
target /= t.downloader.basename if t.url&.match?("py3.*-none-any.whl$")
target /= t.downloader.basename if t.url&.match?("[.-]py3[^-]*-none-any\.whl$")
do_install(target, build_isolation:)
end
else