# -*- 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 1.16.0 categories-append net license ISC platforms darwin supported_archs noarch maintainers {ram @skymoo} openmaintainer 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 http://www.dnspython.org/ master_sites ${homepage}kits/${version} distname dnspython-${version} python.versions 27 34 35 36 37 checksums rmd160 c3662f85998d51b437a3eaa0f5a04c3b0d61fd69 \ sha256 4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9 \ size 150524 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools } post-destroot { if {${name} ne ${subport}} { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples xinstall -m 644 -W ${worksrcpath} LICENSE README.md \ ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -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 } } if {${name} eq ${subport}} { livecheck.type regex livecheck.url ${homepage} livecheck.regex {is (\d+(?:\.\d+)*),} } else { livecheck.type none }