# -*- 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-nclib
version              0.8.3

description          A Python socket library that wants to be your friend
long_description     nclib provides easy-to-use interfaces for connecting to \
                     and listening on TCP and UDP sockets, a better socket \
                     class (the Netcat object), mechanisms to launch \
                     processes with their input/output streams connected to \
                     sockets, TCP and UDP server classes for writing simple \
                     Python daemons and a script to easily daemonize \
                     command-line programs.
license              MIT
homepage             https://nclib.readthedocs.io/

categories-append    net
platforms            darwin
maintainers          {@F30 f30.me:f30} openmaintainer

python.versions      27 35 36 37 38

master_sites         pypi:n/nclib
distname             nclib-${version}
checksums            rmd160  a1044012c12cba1ced18bc493f732ab6fc18b056 \
                     sha256  7ee56ca74ade02796c01923b117d7192b7a2381ab06464b4168b0f4e0e0deb1d \
                     size    13445

if {${name} ne ${subport}}  {
    depends_build-append    port:py${python.version}-setuptools
}
