# -*- 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-ipy
python.rootname     IPy
version             1.01
revision            0

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

description         python module for handling IPv4 and IPv6 addresses and networks
long_description    IPy is a Python module for handling IPv4 and IPv6 \
                    addresses and networks in a fashion similar to perl's \
                    Net::IP and friends. The IP class allows a comfortable \
                    parsing and handling for most notations in use for \
                    IPv4 and IPv6 addresses and networks.

homepage            https://github.com/autocracy/python-ipy

checksums           rmd160  16d9833c71eb8dc9ba3f10924206b185e48d1081 \
                    sha256  edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a \
                    size    33641

python.versions     312

if {${name} ne ${subport}} {
    test.run        yes

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} COPYING AUTHORS \
            ChangeLog README.rst ${destroot}${docdir}
    }
}
