summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwspear <wjspear@gmail.com>2019-02-01 16:23:59 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2019-02-01 16:23:59 -0600
commitec7c7332c06e0ca4a236074bccdd675abce690a2 (patch)
tree5f2740ca41aa0b7eaee0f65b3078999bf1af40d2
parent8c87a937e134835ee744706a62af63279de2f59c (diff)
downloadspack-ec7c7332c06e0ca4a236074bccdd675abce690a2.tar.gz
spack-ec7c7332c06e0ca4a236074bccdd675abce690a2.tar.bz2
spack-ec7c7332c06e0ca4a236074bccdd675abce690a2.tar.xz
spack-ec7c7332c06e0ca4a236074bccdd675abce690a2.zip
New package: py-prometheus-client (#10440)
-rw-r--r--var/spack/repos/builtin/packages/py-prometheus-client/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-prometheus-client/package.py b/var/spack/repos/builtin/packages/py-prometheus-client/package.py
new file mode 100644
index 0000000000..c8926a56e5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-prometheus-client/package.py
@@ -0,0 +1,17 @@
+# 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 PyPrometheusClient(PythonPackage):
+ """Prometheus instrumentation library for Python applications."""
+
+ homepage = "https://pypi.org/project/prometheus_client/"
+ url = "https://pypi.io/packages/source/p/prometheus_client/prometheus_client-0.5.0.tar.gz"
+
+ version('0.5.0', sha256='2d7f7af343dec0a96ee849b1bba18aad9f767bf16d5eb5f0c11cae837bf22731')
+
+ depends_on('py-setuptools', type='build')