summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-08 00:10:02 -0600
committerGitHub <noreply@github.com>2019-12-08 00:10:02 -0600
commitfdc31769208dc3a6fc81758083de1d98a968262b (patch)
treebdbfb5d753c17b1bb85e4b64cbc02e1c43ecf1ee
parent4f7c28e9cdabbf708bfbbca812968459c3f2b200 (diff)
downloadspack-fdc31769208dc3a6fc81758083de1d98a968262b.tar.gz
spack-fdc31769208dc3a6fc81758083de1d98a968262b.tar.bz2
spack-fdc31769208dc3a6fc81758083de1d98a968262b.tar.xz
spack-fdc31769208dc3a6fc81758083de1d98a968262b.zip
Add new py-asserts package (#14038)
-rw-r--r--var/spack/repos/builtin/packages/py-asserts/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-asserts/package.py b/var/spack/repos/builtin/packages/py-asserts/package.py
new file mode 100644
index 0000000000..96a6b298ee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-asserts/package.py
@@ -0,0 +1,21 @@
+# 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 PyAsserts(PythonPackage):
+ """Stand-alone Assertions."""
+
+ homepage = "https://github.com/srittau/python-asserts"
+ url = "https://github.com/srittau/python-asserts/archive/v0.10.0.tar.gz"
+
+ version('0.10.0', sha256='3466cf32c36d97ee2802121438003693546f590be81095317d0d698066bb5df7')
+ version('0.9.1', sha256='a73ea6b2ddc77364a5f0e13197f00662485944a6dd31c1f7555ff2f99c0f7319')
+ version('0.9.0', sha256='e3b8b06309234f9a7c6e4679e0f3cc127cf18da95c30fbb524ff47d439e22b17')
+ version('0.8.6', sha256='8a477746dbc501ac0d1fe9e593a1faafa7d361ceca79d994d3b2ebeecc7fbf32')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')