summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-elasticsearch-dsl/package.py
blob: 57d4d3454fb2f4e0449552580b57e570c762d6c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PyElasticsearchDsl(PythonPackage):
    """Elasticsearch DSL is a high-level library whose aim
    is to help with writing and running queries against Elasticsearch.
    It is built on top of the official low-level client (elasticsearch-py).
    """

    homepage = "https://github.com/elastic/elasticsearch-dsl-py"
    pypi = "elasticsearch-dsl/elasticsearch-dsl-7.4.0.tar.gz"

    license("Apache-2.0")

    version("7.4.0", sha256="c4a7b93882918a413b63bed54018a1685d7410ffd8facbc860ee7fd57f214a6d")

    depends_on("py-setuptools", type="build")
    depends_on("py-six", type=("build", "run"))
    depends_on("py-python-dateutil", type=("build", "run"))
    depends_on("py-elasticsearch@7.0.0:7", type=("build", "run"))