# -*- 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-rad
python.rootname     pyrad
version             2.4
revision            0

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

description         python RADIUS module implementing RFC2865
long_description    pyrad is an implementation of a RADIUS client as \
                    described in RFC2865. It takes care of all the details \
                    like building RADIUS packets, sending them and \
                    decoding responses.

homepage            https://github.com/pyradius/pyrad/

checksums           rmd160  f43de80c5ec75a548679ca51bd3452220d0dd73d \
                    sha256  057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9 \
                    size    27952

python.versions     313
python.pep517_backend poetry

if {${name} ne ${subport}} {
    patchfiles      patch-poetry-pyproject.toml.diff

    depends_lib-append \
                    port:py${python.version}-netaddr \
                    port:py${python.version}-six
}
