summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-02-20 16:55:39 +0100
committerGitHub <noreply@github.com>2020-02-20 09:55:39 -0600
commit43f8e9a2605b3e5ea604b4e31bcbd1a1bc459987 (patch)
tree2516b283dbef0dc70c24f91e36b5fc3ff6b33f93
parent98895297b55fa11d3505af6db30421ec215a061e (diff)
downloadspack-43f8e9a2605b3e5ea604b4e31bcbd1a1bc459987.tar.gz
spack-43f8e9a2605b3e5ea604b4e31bcbd1a1bc459987.tar.bz2
spack-43f8e9a2605b3e5ea604b4e31bcbd1a1bc459987.tar.xz
spack-43f8e9a2605b3e5ea604b4e31bcbd1a1bc459987.zip
Add extra version of prometheus-client (#15067)
* Add extra version of py-prometheus-client * Update package.py * Update package.py
-rw-r--r--var/spack/repos/builtin/packages/py-prometheus-client/package.py4
1 files changed, 4 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
index 92fb9665ab..86733359cf 100644
--- a/var/spack/repos/builtin/packages/py-prometheus-client/package.py
+++ b/var/spack/repos/builtin/packages/py-prometheus-client/package.py
@@ -13,6 +13,10 @@ class PyPrometheusClient(PythonPackage):
url = "https://pypi.io/packages/source/p/prometheus_client/prometheus_client-0.7.1.tar.gz"
version('0.7.1', sha256='71cd24a2b3eb335cb800c7159f423df1bd4dcd5171b234be15e3f31ec9f622da')
+ version('0.7.0', sha256='ee0c90350595e4a9f36591f291e6f9933246ea67d7cd7d1d6139a9781b14eaae')
version('0.5.0', sha256='e8c11ff5ca53de6c3d91e1510500611cafd1d247a937ec6c588a0a7cc3bef93c')
+ variant('twisted', default=False, description='Expose metrics as a twisted resource')
+
depends_on('py-setuptools', type='build')
+ depends_on('py-twisted', type=('build', 'run'), when='+twisted')