summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-24 20:00:55 -0500
committerGitHub <noreply@github.com>2020-04-24 20:00:55 -0500
commit7a2f47d1815be83902d2b063e9b1b4ebaf9eaa4b (patch)
tree128933488aa44b276cace0072ea1f3302539caef
parent510d8821e5e7d59481b1c8e882226aa5cec1a3b7 (diff)
downloadspack-7a2f47d1815be83902d2b063e9b1b4ebaf9eaa4b.tar.gz
spack-7a2f47d1815be83902d2b063e9b1b4ebaf9eaa4b.tar.bz2
spack-7a2f47d1815be83902d2b063e9b1b4ebaf9eaa4b.tar.xz
spack-7a2f47d1815be83902d2b063e9b1b4ebaf9eaa4b.zip
py-plac: add new package (#16291)
-rw-r--r--var/spack/repos/builtin/packages/py-plac/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-plac/package.py b/var/spack/repos/builtin/packages/py-plac/package.py
new file mode 100644
index 0000000000..098dbb65c3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-plac/package.py
@@ -0,0 +1,16 @@
+# Copyright 2013-2020 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)
+
+
+class PyPlac(PythonPackage):
+ """The smartest command line arguments parser in the world."""
+
+ homepage = "https://github.com/micheles/plac"
+ url = "https://pypi.io/packages/source/p/plac/plac-1.1.3.tar.gz"
+
+ version('1.1.3', sha256='398cb947c60c4c25e275e1f1dadf027e7096858fb260b8ece3b33bcff90d985f')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-argparse', type=('build', 'run'))