# -*- 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             9.1.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Python client for Elasticsearch
long_description    {*}${description}

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

checksums           rmd160  aa5ebaaa8d89c8d786c03802eb4d8a3cb68ffbde \
                    sha256  764d2f724eac94f6bf9903e4feae07112643a9efcfdc5c868c1b69bd48c52e09 \
                    size    848897

python.versions     310 311 312 313 314
python.pep517_backend hatch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-certifi \
                    port:py${python.version}-urllib3
}
