python PG: handle unset python._first_version

This commit is contained in:
Joshua Root
2026-04-19 16:19:29 +10:00
parent b7c4f13b20
commit 3bc4977b6e
+2 -1
View File
@@ -460,7 +460,8 @@ proc python_callback {} {
}
}
# if a subport of a py-* port has not changed the version, disable livecheck.
if {[string match py-* $name] && ${name} ne ${subport} && ${version} eq ${python._first_version}} {
if {[info exists python._first_version] && [string match py-* $name]
&& ${name} ne ${subport} && ${version} eq ${python._first_version}} {
livecheck.type none
}
}