Files

46 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name dnsdiag
version 2.9.3
revision 0
license BSD-2
categories net
maintainers {mps @Schamschula} openmaintainer
description A set of tools to perform basic audits on your DNS requests and \
responses to make sure your DNS is working as you expect.
long_description {*}${description}
homepage https://dnsdiag.org
supported_archs noarch
platforms {darwin any}
checksums rmd160 48cc55e99765b533953e08106dcd4f9990930a56 \
sha256 d7da92b23e8477f2275817084e830adc4f16d952718c2c93d23388728de4c327 \
size 51130
variant python310 conflicts python311 python312 python313 python314 description {Use Python 3.10} {}
variant python311 conflicts python310 python312 python313 python314 description {Use Python 3.11} {}
variant python312 conflicts python310 python311 python313 python314 description {Use Python 3.12} {}
variant python313 conflicts python310 python311 python312 python314 description {Use Python 3.13} {}
variant python314 conflicts python310 python311 python312 python313 description {Use Python 3.14} {}
if {![variant_isset python310] && ![variant_isset python311] && ![variant_isset python312] && ![variant_isset python314]} {
default_variants +python313
}
foreach pv {314 313 312 311 310} {
if {[variant_isset python${pv}]} {
python.default_version ${pv}
break
}
}
depends_lib-append port:py${python.version}-dnspython \
port:py${python.version}-cymruwhois \
port:py${python.version}-requests \
port:py${python.version}-requests-toolbelt