# -*- 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-py3dns
version             4.0.2
revision            0

categories-append   devel net
supported_archs     noarch
platforms           {darwin any}
license             Python
maintainers         nomaintainer

description         Python 3 DNS library
long_description    This Python 3 module provides an DNS API for looking \
                    up DNS entries from within Python 3 modules and \
                    applications. This module is a simple, lightweight \
                    implementation.

homepage            https://launchpad.net/py3dns

checksums           rmd160  9853c3ce2a7e128783f1c7c0b90739c79dea2618 \
                    sha256  98652e80ecec143c60f78f0e6b341631ca9a7560edd8dddfc864c02902618a39 \
                    size    33982

python.versions     310 311 312 313
python.pep517_backend flit

# FIXME: https://trac.macports.org/ticket/68821

if {${name} ne ${subport}} {
    test.run        yes
    python.test_framework
    test.cmd        ${python.bin}
    test.target     test.py
}
