# -*- 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 py-dnspython version 2.6.1 revision 0 categories-append net license ISC supported_archs noarch platforms {darwin any} maintainers nomaintainer description DNS toolkit for Python long_description \ dnspython is a DNS toolkit for Python. It supports almost all \ record types. It can be used for queries, zone transfers, and \ dynamic updates. It supports TSIG authenticated messages and EDNS0. homepage https://www.dnspython.org/ python.versions 27 38 39 310 311 312 checksums rmd160 f4ef9acdec1ea397ceec74646926c9a9c4d7e34b \ sha256 e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc \ size 332727 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append \ port:py${python.version}-cryptography \ port:py${python.version}-idna \ port:py${python.version}-requests \ port:py${python.version}-requests-toolbelt \ port:py${python.version}-sniffio \ port:py${python.version}-trio if {${python.version} eq 27} { version 1.16.0 revision 0 master_sites ${homepage}kits/${version} checksums rmd160 c3662f85998d51b437a3eaa0f5a04c3b0d61fd69 \ sha256 4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9 \ size 150524 depends_lib-delete \ port:py${python.version}-sniffio \ port:py${python.version}-trio } else { python.pep517_backend hatch test.run yes # there currently 3 test failures in test_resolver.py # and 1 in test_resolver_override.py } post-destroot { if {${name} ne ${subport}} { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}/examples xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \ ${destroot}${prefix}/share/doc/${subport} xinstall -m 0644 -W ${worksrcpath}/examples ddns.py e164.py \ mx.py name.py query_specific.py receive_notify.py reverse.py \ reverse_name.py xfr.py zonediff.py \ ${destroot}${prefix}/share/doc/${subport}/examples } } }