summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:50:55 +0800
committerGitHub <noreply@github.com>2020-09-23 20:50:55 -0500
commitc4f57890b529c2845414ea1b3a452a11835a150e (patch)
tree96958435bdab5249c82e809a95501c3833f55026 /var
parentbbb3d945990fd7c2f2c1945e7b215d95f04aa2d8 (diff)
downloadspack-c4f57890b529c2845414ea1b3a452a11835a150e.tar.gz
spack-c4f57890b529c2845414ea1b3a452a11835a150e.tar.bz2
spack-c4f57890b529c2845414ea1b3a452a11835a150e.tar.xz
spack-c4f57890b529c2845414ea1b3a452a11835a150e.zip
Add new package: libbytesize (#18772)
* Add new package: libbytesize * libbytesize: refine url
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libbytesize/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libbytesize/package.py b/var/spack/repos/builtin/packages/libbytesize/package.py
new file mode 100644
index 0000000000..e4fcdb986a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libbytesize/package.py
@@ -0,0 +1,23 @@
+# 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 Libbytesize(AutotoolsPackage):
+ """The goal of this project is to provide a tiny library that would
+ facilitate the common operations with sizes in bytes."""
+
+ homepage = "https://github.com/storaged-project/libbytesize"
+ url = "https://github.com/storaged-project/libbytesize/releases/download/2.4/libbytesize-2.4.tar.gz"
+
+ version('2.4', sha256='25ccb5762bb8c860b63ed1d40e0c5564e3e0084693fbe6554467a8ca1c1d8c7f')
+ version('2.3', sha256='3c74113fc8cd1a2fbd8870fa0ed7cef2ef24d60ef91e7145fbc041f9aa144479')
+ version('2.2', sha256='b93c54b502880c095c9f5767a42464853e2687db2e5e3084908a615bafe73baa')
+
+ extends('python')
+ depends_on('pcre2')
+ depends_on('gmp')
+ depends_on('mpfr')