summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-30 23:45:48 +0800
committerGitHub <noreply@github.com>2020-04-30 10:45:48 -0500
commitb0ecaa109310bc39e6c48329ecdacb4d5ccee736 (patch)
treea76c8dfac3a24ef91ae7ba55a5bc3720914c5b57 /var
parentb2df39ea3a083486ae6b62d095213da009a0f9e9 (diff)
downloadspack-b0ecaa109310bc39e6c48329ecdacb4d5ccee736.tar.gz
spack-b0ecaa109310bc39e6c48329ecdacb4d5ccee736.tar.bz2
spack-b0ecaa109310bc39e6c48329ecdacb4d5ccee736.tar.xz
spack-b0ecaa109310bc39e6c48329ecdacb4d5ccee736.zip
Add new package: bashtop (#16383)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bashtop/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bashtop/package.py b/var/spack/repos/builtin/packages/bashtop/package.py
new file mode 100644
index 0000000000..47f98f14a8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bashtop/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 Bashtop(Package):
+ """Linux resource monitor."""
+
+ homepage = "https://github.com/aristocratos/bashtop"
+ url = "https://github.com/aristocratos/bashtop/archive/v0.8.17.tar.gz"
+
+ version('0.8.17', sha256='853a7143de533437cc1654b853bc89da54ff91c629820ac45b7c8708dababf1f')
+ version('0.8.16', sha256='6249e5c678fdb0a2a87d6fa13b9fe1f6bd56f7dbcaba0066d2a5275a7f9a9355')
+ version('0.8.15', sha256='617aab0a23b1a9430f2ef7d51e4f89eb06c5b3f2ff40768cb6849fc2899ffc6a')
+ version('0.8.14', sha256='e2e05a36a8fb3984f256af62f66562c8bd13a901e5f2ef7b7b0056ef40e57543')
+ version('0.8.13', sha256='50eda3c91f36a49d7696585fce5b44ba0df53879758f30d94477010bd56c4ff1')
+ version('0.8.12', sha256='1e762e40527f454da0f1d050a251a1c288cbbe49645f4ee31aa30afe44e70a0f')
+ version('0.8.11', sha256='bf4b3f109819450ee52f42a32d1b46bf2524ae3b1def83fcafba1b8427c71241')
+ version('0.8.10', sha256='eac071d68d2ec08869dea696b886bbc0fc33e596e9efa73563e71b4af27c0947')
+ version('0.8.9', sha256='af2ba211d3bc1fbe910cd33c447686a6f39c2c731aaba54355b9e66184a0aec1')
+ version('0.8.8', sha256='63e88c6f91fdfb3c5265f347e48d7a54a3ad0582407e9adbb70694eb9039ce3f')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('bashtop', prefix.bin)