# -*- 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-pendulum
version             2.1.2
revision            0

license             MIT
platforms           darwin
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
description         Python datetimes made easy
long_description    Pendulum is a Python package to ease datetimes \
                    manipulation. It provides classes that are drop-in \
                    replacements for the native ones (they inherit from them).

python.versions     36 37 38 39

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  7c0fa29f559616634b7bada7b088983cb3e7c5ce \
                    sha256  b06a0ca1bfe41c990bbf0c029f0b6501a7f2ec4e38bfec730712015e8860f207 \
                    size    81167

if {${name} ne ${subport}} {
    python.pep517   yes

    depends_build-append    port:py${python.version}-poetry-core \
                            port:py${python.version}-wheel

    depends_lib-append      port:py${python.version}-dateutil \
                            port:py${python.version}-pytzdata

    livecheck.type  none
}
