py-dpath: new recipe (#21331)
This commit is contained in:
parent
68a144eaa3
commit
895c8b33d9
1 changed files with 19 additions and 0 deletions
19
var/spack/repos/builtin/packages/py-dpath/package.py
Normal file
19
var/spack/repos/builtin/packages/py-dpath/package.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright 2013-2021 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 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"
|
||||||
|
|
||||||
|
version('2.0.1', sha256='bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa')
|
||||||
|
|
||||||
|
depends_on('python@2.7:', type=('build', 'run'))
|
Loading…
Reference in a new issue