You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
itstool: add and default to python314 variant
This commit is contained in:
@@ -5,7 +5,8 @@ PortSystem 1.0
|
||||
name itstool
|
||||
epoch 1
|
||||
version 2.0.7
|
||||
revision 3
|
||||
revision 4
|
||||
|
||||
license GPL-3+
|
||||
set branch [join [lrange [split ${version} .] 0 1] .]
|
||||
|
||||
@@ -38,7 +39,7 @@ patchfiles patch-configure.diff \
|
||||
invalid-sequence-pygte.patch
|
||||
|
||||
# Python variants
|
||||
set python_suffixes {310 311 312 313}
|
||||
set python_suffixes {310 311 312 313 314}
|
||||
set python_variants {}
|
||||
set plugin_variants {}
|
||||
foreach pyver ${python_suffixes} {
|
||||
@@ -64,7 +65,7 @@ foreach pyver ${python_suffixes} {
|
||||
set python_default "${python_default}!\[variant_isset python${pyver}\] && "
|
||||
}
|
||||
set python_default [string range ${python_default} 0 end-4]
|
||||
set python_default "${python_default}} { default_variants +python313}"
|
||||
set python_default "${python_default}} { default_variants +python314}"
|
||||
eval ${python_default}
|
||||
|
||||
livecheck.type regex
|
||||
|
||||
Reference in New Issue
Block a user