summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-05-31 23:14:13 +0200
committerGitHub <noreply@github.com>2021-05-31 16:14:13 -0500
commit444ba3d4cf864d0767607e7a4eaf9f15b941bf4c (patch)
tree7ee1fff23b4b17b9c3e453ebfab10e993191f1fc
parentbc78cf3a2c6f3d367a5458b26c263e3af989e460 (diff)
downloadspack-444ba3d4cf864d0767607e7a4eaf9f15b941bf4c.tar.gz
spack-444ba3d4cf864d0767607e7a4eaf9f15b941bf4c.tar.bz2
spack-444ba3d4cf864d0767607e7a4eaf9f15b941bf4c.tar.xz
spack-444ba3d4cf864d0767607e7a4eaf9f15b941bf4c.zip
py-ci-info: add new package (#24031)
-rw-r--r--var/spack/repos/builtin/packages/py-ci-info/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ci-info/package.py b/var/spack/repos/builtin/packages/py-ci-info/package.py
new file mode 100644
index 0000000000..c13667acc1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ci-info/package.py
@@ -0,0 +1,22 @@
+# 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 PyCiInfo(PythonPackage):
+ """Continuous Integration Information.
+
+ A Python implementation of watson/ci-info. Get details about the current
+ Continuous Integration environment.
+ """
+
+ homepage = "https://github.com/mgxd/ci-info"
+ pypi = "ci-info/ci-info-0.2.0.tar.gz"
+
+ version('0.2.0', sha256='dd70632c977feb8797b1e633507166b64ad5f57183cebb2b0ea56934abba4616')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')