summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-03-30 13:45:04 -0600
committerGitHub <noreply@github.com>2021-03-30 19:45:04 +0000
commit3ce4dae1bffd45265266711c7ed2a0e842fd7c41 (patch)
tree65b252e9659d36808bb606e2f8eebfc5d8c8f1eb
parent2e6cdd3ec1175c383554ef809737d594d84da290 (diff)
downloadspack-3ce4dae1bffd45265266711c7ed2a0e842fd7c41.tar.gz
spack-3ce4dae1bffd45265266711c7ed2a0e842fd7c41.tar.bz2
spack-3ce4dae1bffd45265266711c7ed2a0e842fd7c41.tar.xz
spack-3ce4dae1bffd45265266711c7ed2a0e842fd7c41.zip
New package py-argh (#22551)
* New package py-argh * Fixed deps * Changed setuptools type * Update var/spack/repos/builtin/packages/py-argh/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-argh/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-argh/package.py b/var/spack/repos/builtin/packages/py-argh/package.py
new file mode 100644
index 0000000000..3ea2908dba
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-argh/package.py
@@ -0,0 +1,26 @@
+# 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 PyArgh(PythonPackage):
+ """An argparse wrapper that doesn't make you say "argh" each time
+ you deal with it.
+
+ Building a command-line interface? Found yourself uttering "argh!"
+ while struggling with the API of argparse? Don't like the complexity
+ but need the power? Argh is a smart wrapper for argparse. Argparse is
+ a very powerful tool; Argh just makes it easy to use."""
+
+ homepage = "https://github.com/neithere/argh/"
+ pypi = "argh/argh-0.26.2.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('0.26.2', sha256='e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-argparse', when='^python@:2.6.999', type=('build', 'run'))