Skip to content

Commit

Permalink
img2pdf: add python313 variant, remove python38 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
markmentovai committed Nov 13, 2024
1 parent 83d8561 commit 95baee1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions graphics/img2pdf/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ supported_archs noarch
platforms {darwin any}
homepage https://gitlab.mister-muffin.de/josch/img2pdf

variant python38 conflicts python39 python310 python311 python312 description {Use Python 3.8} {}
variant python39 conflicts python38 python310 python311 python312 description {Use Python 3.9} {}
variant python310 conflicts python38 python39 python311 python312 description {Use Python 3.10} {}
variant python311 conflicts python38 python39 python310 python312 description {Use Python 3.11} {}
variant python312 conflicts python38 python39 python310 python311 description {Use Python 3.12} {}
variant python39 conflicts python310 python311 python312 python313 description {Use Python 3.9} {}
variant python310 conflicts python39 python311 python312 python313 description {Use Python 3.10} {}
variant python311 conflicts python39 python310 python312 python313 description {Use Python 3.11} {}
variant python312 conflicts python39 python310 python311 python313 description {Use Python 3.12} {}
variant python313 conflicts python39 python310 python311 python312 description {Use Python 3.12} {}

if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
if {![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311] && ![variant_isset python313]} {
default_variants +python312
}

foreach pv {312 311 310 39 38} {
foreach pv {313 312 311 310 39} {
if {[variant_isset python${pv}]} {
python.default_version ${pv}
break
Expand Down

0 comments on commit 95baee1

Please sign in to comment.