# -*- 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-elasticsearch
version             7.11.0
platforms           darwin
license             Apache-2
maintainers         nomaintainer

description         Python client for Elasticsearch
long_description    ${description}

homepage            https://github.com/elastic/elasticsearch-py

checksums           rmd160  007b042613760f41b15982ee6f1db8cd36762706 \
                    sha256  1e24b33a82bf381b42d3b0d390f76fdb9d6a9d47b310dea8eaeb0a5933c394c0 \
                    size    218841

python.versions     37 38 39

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

    depends_run-append \
                    port:py${python.version}-certifi \
                    port:py${python.version}-urllib3

    livecheck.type  none
}
