summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2020-05-27 03:45:14 -0400
committerGitHub <noreply@github.com>2020-05-27 09:45:14 +0200
commitd8c7073a9f67fe72d94e4a20e6accf99ccbda0fc (patch)
tree0ce9d4d430869f9eb77d7de4099fbbb7a927cca9
parent768419601d4db31a618c498c8299bac566b0f75d (diff)
downloadspack-d8c7073a9f67fe72d94e4a20e6accf99ccbda0fc.tar.gz
spack-d8c7073a9f67fe72d94e4a20e6accf99ccbda0fc.tar.bz2
spack-d8c7073a9f67fe72d94e4a20e6accf99ccbda0fc.tar.xz
spack-d8c7073a9f67fe72d94e4a20e6accf99ccbda0fc.zip
py-configargparse: new package at v1.2.3 (#16814)
-rw-r--r--var/spack/repos/builtin/packages/py-configargparse/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-configargparse/package.py b/var/spack/repos/builtin/packages/py-configargparse/package.py
new file mode 100644
index 0000000000..acaf0cc4bb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-configargparse/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2019 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 PyConfigargparse(PythonPackage):
+ """Applications with more than a handful of user-settable
+ options are best configured through a combination of
+ command line args, config files, hard-coded defaults, and
+ in some cases, environment variables.
+
+ Python's command line parsing modules such as argparse have
+ very limited support for config files and environment
+ variables, so this module extends argparse to add these
+ features."""
+
+ homepage = "https://github.com/bw2/ConfigArgParse"
+ url = "https://github.com/bw2/ConfigArgParse/archive/1.2.3.tar.gz"
+
+ version('1.2.3', sha256='0f1144a204e3b896d6ac900e151c1d13bde3103d6b7d541e3bb57514a94083bf')
+
+ depends_on('python@2.2:2.999,3.5:', type=('build', 'run'))