# -*- 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-mda-xdrlib
python.rootname     mda_xdrlib
version             0.2.0
revision            0

license             PSF-2.1.1
maintainers         {mps @Schamschula} openmaintainer
description         A stand-alone XDRLIB module extracted from cpython 3.10.8
long_description    {*}${description}
homepage            https://github.com/MDAnalysis/mda-xdrlib

checksums           rmd160  d9f78d7945b7e0f10d6594de81552f8bb10726cc \
                    sha256  f26f7158a83c32b96d15b530fce2cbc1190c4b7024e41faa4ab3e3db74e272af \
                    size    35142

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-versioningit
}

if {${name} ne ${subport}} {
    test.run        yes
}
