summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-01-26 18:34:56 -0600
committerGitHub <noreply@github.com>2020-01-26 18:34:56 -0600
commit71f47b3b26a7587e9c52741d60c3542228482195 (patch)
tree7b6c4f9a39a664fe83d782bddd8649489c3f9d0d
parent02e077a7fa511a7a02502dd16f2706eae56dfe73 (diff)
downloadspack-71f47b3b26a7587e9c52741d60c3542228482195.tar.gz
spack-71f47b3b26a7587e9c52741d60c3542228482195.tar.bz2
spack-71f47b3b26a7587e9c52741d60c3542228482195.tar.xz
spack-71f47b3b26a7587e9c52741d60c3542228482195.zip
Add py-vermin package (#14631)
-rw-r--r--var/spack/repos/builtin/packages/py-vermin/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-vermin/package.py b/var/spack/repos/builtin/packages/py-vermin/package.py
new file mode 100644
index 0000000000..97ac237a72
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-vermin/package.py
@@ -0,0 +1,23 @@
+# 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)
+
+from spack import *
+
+
+class PyVermin(PythonPackage):
+ """Concurrently detect the minimum Python versions needed to run code."""
+
+ homepage = "https://github.com/netromdk/vermin"
+ url = "https://github.com/netromdk/vermin/archive/v0.10.0.tar.gz"
+
+ import_modules = ['vermin']
+
+ version('0.10.0', sha256='3458a4d084bba5c95fd7208888aaf0e324a07ee092786ee4e5529f539ab4951f')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+
+ def test(self):
+ make('test')