diff options
author | Jen Herting <jen@herting.cc> | 2021-12-01 16:25:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 13:25:24 -0800 |
commit | 97126cac4bac79af0acbef134696307b0ce358d3 (patch) | |
tree | 0c34690dbdd0eaa4ad85e1de7af6a25d02c51098 /var | |
parent | 2ddc5228641375cf96c0995e9fe0ae5e8343a87a (diff) | |
download | spack-97126cac4bac79af0acbef134696307b0ce358d3.tar.gz spack-97126cac4bac79af0acbef134696307b0ce358d3.tar.bz2 spack-97126cac4bac79af0acbef134696307b0ce358d3.tar.xz spack-97126cac4bac79af0acbef134696307b0ce358d3.zip |
New package: py-yq (#27729)
* pypi build of yq
* [py-yq]
- removed duplicate py-yaml dependency
- fixed py-yaml version number
* [py-yq] fix py-xmltodict version range
* [py-yq] self assign maintainer
* [py-yq] setuptools is runtime dependency
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-yq/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-yq/package.py b/var/spack/repos/builtin/packages/py-yq/package.py new file mode 100644 index 0000000000..08b6068e79 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-yq/package.py @@ -0,0 +1,23 @@ +# 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 PyYq(PythonPackage): + """yq takes YAML input, converts it to JSON, and pipes it to jq""" + + homepage = "https://github.com/kislyuk/yq" + pypi = "yq/yq-2.12.2.tar.gz" + + maintainers = ['qwertos'] + + version('2.12.2', sha256='2f156d0724b61487ac8752ed4eaa702a5737b804d5afa46fa55866951cd106d2') + + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-toml@0.10.0:', type=('build', 'run')) + depends_on('py-pyyaml@3.11:', type=('build', 'run')) + depends_on('py-argcomplete@1.8.1:', type=('build', 'run')) + depends_on('py-xmltodict@0.11.0:', type=('build', 'run')) |