summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-07-30 16:03:52 +0800
committerGitHub <noreply@github.com>2020-07-30 10:03:52 +0200
commitd5fc3f267c7873f33ccc0bd6fc7e632402f2c721 (patch)
treea6c8331d05127a37c00066352fa3c2d82a858b3b /var
parentf0ce129c43e1d01dd8d8d78eafcd757cc1cde0d6 (diff)
downloadspack-d5fc3f267c7873f33ccc0bd6fc7e632402f2c721.tar.gz
spack-d5fc3f267c7873f33ccc0bd6fc7e632402f2c721.tar.bz2
spack-d5fc3f267c7873f33ccc0bd6fc7e632402f2c721.tar.xz
spack-d5fc3f267c7873f33ccc0bd6fc7e632402f2c721.zip
zipkin: new package at v2.21.5 (#17780)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/zipkin/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/zipkin/package.py b/var/spack/repos/builtin/packages/zipkin/package.py
new file mode 100644
index 0000000000..841c89a1d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/zipkin/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2020 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 Zipkin(Package):
+ """Zipkin is a distributed tracing system. It helps gather timing
+ data needed to troubleshoot latency problems in service
+ architectures. Features include both the collection and lookup
+ of this data."""
+
+ homepage = "https://zipkin.io/"
+ url = "https://github.com/openzipkin/zipkin/archive/2.21.5.tar.gz"
+
+ version('2.21.5', sha256='e643a810f82f9ea50e2cb6847694c7645507d3deae77685a3a1bb841e0f885a2')
+ version('2.21.4', sha256='ee7b0110b3852479c925b6429ff278aa38b1d5da27f4762891b1f863e67bdad5')
+ version('2.21.3', sha256='02526e2ba4de85938b510cb2db01865ec46cdad53157862c39fa5e9b6cbd15b6')
+
+ depends_on('maven', type='build')
+ depends_on('java', type=('build', 'run'))
+
+ def install(self, spec, prefix):
+ mvn = which('mvn')
+ mvn('package', '-DskipTests')
+ install_tree('.', prefix)