# -*- 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-networkx
version             3.2.1
revision            0
categories-append   science
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     38 39 310 311 312

maintainers         {stromnov @stromnov} openmaintainer

description         NetworkX in a Python package for graph manipulation.

long_description    NetworkX is a Python package for the creation, \
                    manipulation, and study of the structure, dynamics, \
                    and functions of complex networks.

homepage            https://networkx.github.io

checksums           rmd160  2ce9ed2419c3cac7ca048641cf9caf4176ea6c87 \
                    sha256  9f1bb5cf3409bf324e0a722c20bdb4c20ee39bf1c30ce8ae499c8502b0b5e0c6 \
                    size    2073928

if {${name} ne ${subport}} {

    if {${python.version} eq 38} {
        version             3.1
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  4eccb241ab0007fdb2eaaab4e4bf04dbc39dc275 \
                            sha256  de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61 \
                            size    2021691
    }

    livecheck.type      none
}
