# -*- 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                zget
version             0.11.1
revision            2
categories-prepend  net p2p
platforms           any
license             MIT
maintainers         nomaintainer
description         Filename-based peer-to-peer file transfer 
long_description    {*}${description}
homepage            https://github.com/nils-werner/zget
checksums           rmd160  9f1582672622a32d08affa7cc8ec97b1c5f926cc \
                    sha256  a5e4800ce1559ca90bb4608423641d6b8d27f406405a8db3fb85587501e8fe72 \
                    size    9735
supported_archs     noarch

python.default_version  313

# https://github.com/nils-werner/zget/commit/89a40634a79fa2d6502b4d75c5595786c9de3456
patchfiles-append   patch-configparser.diff

# Needs an archaic py-zeroconf: https://github.com/nils-werner/zget/issues/14
conflicts           py${python.version}-zeroconf

depends_lib-append  port:py${python.version}-babel \
                    port:py${python.version}-netifaces \
                    port:py${python.version}-progressbar2 \
                    port:py${python.version}-requests \
                    port:py${python.version}-six \
                    port:py${python.version}-sphinx \
                    port:py${python.version}-zeroconf17
