blob: 1e57e647eadd2d1ddbe1132fadff34f4e23247a1 (
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 PyDpath(PythonPackage):
"""A python library for accessing and searching dictionaries via
/slashed/paths ala xpath."""
homepage = "https://github.com/akesterson/dpath-python"
pypi = "dpath/dpath-2.0.1.tar.gz"
license("MIT")
version("2.0.1", sha256="bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa")
depends_on("python@2.7:", type=("build", "run"))
# pip silently replaces distutils with setuptools
depends_on("py-setuptools", type="build")
|