You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
certbot-dns-namecheap: update Python variants
This commit is contained in:
@@ -18,21 +18,20 @@ supported_archs noarch
|
||||
platforms {darwin any}
|
||||
homepage https://github.com/knoxell/certbot-dns-namecheap
|
||||
|
||||
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.13} {}
|
||||
|
||||
if {![variant_isset python38] && ![variant_isset python39] \
|
||||
&& ![variant_isset python310] && ![variant_isset python311] } {
|
||||
default_variants +python312
|
||||
if {![variant_isset python39] && ![variant_isset python310] && \
|
||||
![variant_isset python311] && ![variant_isset python312]} {
|
||||
default_variants +python313
|
||||
}
|
||||
|
||||
foreach pv {312 311 310 39 38} {
|
||||
foreach pv {313 312 311 310 39} {
|
||||
if {[variant_isset python${pv}]} {
|
||||
python.default_version ${pv}
|
||||
set python_variant python${pv}
|
||||
python.default_version ${pv}
|
||||
break
|
||||
}
|
||||
}
|
||||
@@ -41,9 +40,6 @@ checksums rmd160 4d6b79c6be22b18078021c65b1229bfc6d8aef3b \
|
||||
sha256 0801da6093f517720e86efbc7f42515a14ec135fe7e5bce118e8d0b6e6fb51e5 \
|
||||
size 9386
|
||||
|
||||
depends_build-append \
|
||||
port:py${python.version}-setuptools
|
||||
|
||||
depends_lib-append port:certbot \
|
||||
port:py${python.version}-acme \
|
||||
port:py${python.version}-dns-lexicon \
|
||||
@@ -55,4 +51,6 @@ depends_lib-append port:certbot \
|
||||
port:py${python.version}-zope-component \
|
||||
port:py${python.version}-zopeinterface
|
||||
|
||||
require_active_variants certbot ${python_variant}
|
||||
set python_variant python[string index ${python.version} 0].[string range ${python.version} 1 end]
|
||||
require_active_variants certbot ${python_variant}
|
||||
|
||||
Reference in New Issue
Block a user