# -*- 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-dpkt
version             1.9.2
revision            0
categories-append   net
license             BSD
maintainers         nomaintainer
description         python packet creation and parsing library
long_description    dpkt provides fast, simple packet creation and \
                    parsing for python programs, with definitions for the \
                    basic TCP/IP protocols.
platforms           darwin
supported_archs     noarch

homepage            https://github.com/kbandla/dpkt
master_sites        pypi:d/dpkt
distname            dpkt-${version}

checksums           rmd160  ac6490a6accb4533290914a5229089802f2ca115 \
                    sha256  52a92ecd5ca04d5bd852bb11cb2eac4bbe38b42a7c472e0d950eeb9f82a81e54 \
                    size    125532

python.versions     27 37

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE CHANGES \
            AUTHORS ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
}
