# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; # indent-tabs-mod e: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-ntplib
version             0.3.3
platforms           {darwin any}
maintainers         nomaintainer
license             LGPL
supported_archs     noarch
description         Simple interface to query NTP servers from Python.
long_description    This module offers a simple interface to query NTP \
                    servers from Python.  It also provides utility \
                    text (mode, leap indicator, ...). Since it is pure \
                    Python, and only depends on core modules, it should \
                    work on any platform with a decent Python implementation.

homepage            https://pypi.python.org/pypi/ntplib

checksums           rmd160  6dbeb1c707b52e0e6d57babbf75bb967d9aae7ef \
                    sha256  c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede \
                    size    6808

python.versions     37 38 39

if {${name} ne ${subport}} {
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${homepage}
    livecheck.regex     ntplib (\\d+(\\.\\d+)+)
}
