# -*- 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-ligotimegps
version             2.0.1
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             GPL-3
maintainers         nomaintainer

description         A pure-python version of lal.LIGOTimeGPS
long_description    {*}${description}

homepage            https://github.com/gwpy/ligotimegps

checksums           rmd160  79eff913d70189aa0e631b4055a3b3feb63ef641 \
                    sha256  88626c02ad9a464d1242a1147b40074792f424bafa2ab013eee629c7d1b6469c \
                    size    35191

python.versions     312

if {${name} ne ${subport}} {
    post-extract {
        file delete -force ${worksrcpath}/versioneer.py
    }

    depends_build-append \
                    port:py${python.version}-versioneer


    test.run        yes
}
