summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py
blob: 0d2274f997fb33a89d77eb86523e0507ec422f1d (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
# Copyright 2013-2023 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 PyJsonpathNg(PythonPackage):
    """A final implementation of JSONPath for Python that aims to be
    standard compliant, including arithmetic and binary comparison
    operators."""

    homepage = "https://github.com/h2non/jsonpath-ng"
    pypi = "jsonpath-ng/jsonpath-ng-1.5.2.tar.gz"

    version("1.5.2", sha256="144d91379be14d9019f51973bd647719c877bfc07dc6f3f5068895765950c69d")

    depends_on("py-setuptools", type="build")
    depends_on("py-ply", type=("build", "run"))
    depends_on("py-decorator", type=("build", "run"))
    depends_on("py-six", type=("build", "run"))