summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-27 17:40:13 -0600
committerGitHub <noreply@github.com>2021-05-27 17:40:13 -0600
commit53e4f32a31c5b4b2fcc668eb8fe8be2f04133042 (patch)
tree1ab569404b6443499308846c64ed319872c71daf
parente74d10fd789374fd69fe671577269e0094c4de4a (diff)
downloadspack-53e4f32a31c5b4b2fcc668eb8fe8be2f04133042.tar.gz
spack-53e4f32a31c5b4b2fcc668eb8fe8be2f04133042.tar.bz2
spack-53e4f32a31c5b4b2fcc668eb8fe8be2f04133042.tar.xz
spack-53e4f32a31c5b4b2fcc668eb8fe8be2f04133042.zip
New package:py-coveralls (#23930)
* New package:py-coveralls * dep fixes * added python constraint * pyyaml version constraint 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-coveralls/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coveralls/package.py b/var/spack/repos/builtin/packages/py-coveralls/package.py
new file mode 100644
index 0000000000..3691e32ad3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-coveralls/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 PyCoveralls(PythonPackage):
+ """coveralls.io is a service for publishing your coverage stats online."""
+
+ homepage = "https://coveralls-python.readthedocs.io/en/latest/index.html"
+ pypi = "coveralls/coveralls-3.0.1.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('3.0.1', sha256='cbb942ae5ef3d2b55388cb5b43e93a269544911535f1e750e1c656aef019ce60')
+
+ variant('pyyaml', default=False, description="Enable useage of pyyaml")
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pyyaml@3.10:', type=('build', 'run'), when='+pyyaml')
+ depends_on('py-coverage@4.1:5.999', type=('build', 'run'))
+ depends_on('py-docopt@0.6.1:', type=('build', 'run'))
+ depends_on('py-pyyaml@1.0.0:', type=('build', 'run'))