# -*- 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           github 1.0
PortGroup           python 1.0

# Specific commit used by tribler:
github.setup        Tribler py-ipv8 89458ebb0649834db8c13147d22b62816302bd51
version             3.0.0
revision            1
categories-append   devel
platforms           any
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer

description         Python implementation of the IPV8 library
long_description    {*}${description}
checksums           rmd160  97d56f936043147239fb2417a8d5b38f46a9595a \
                    sha256  a05caa016f90cba50ef407c47acdfaeb639458d51fbb1690eb9ac9d165283403 \
                    size    438856
github.tarball_from archive
supported_archs     noarch

python.versions     310 311 312 313

if {${subport} ne ${name}} {
    depends_lib-append \
                    port:py${python.version}-aiohttp \
                    port:py${python.version}-aiohttp-apispec \
                    port:py${python.version}-asn1 \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-libnacl \
                    port:py${python.version}-marshmallow \
                    port:py${python.version}-openssl \
                    port:py${python.version}-packaging \
                    port:py${python.version}-typing_extensions
}
