# -*- 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-jdcal
version             1.4.1
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Julian dates from proleptic Gregorian and Julian calendars
long_description    ${description}

homepage            https://github.com/phn/jdcal
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  a09cc7f387bb953f77633e2339b4afc6b36eeedc \
                    sha256  472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8 \
                    size    7479

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

    livecheck.type      none
}