diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-02-24 12:07:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 22:07:39 -0600 |
commit | fd3c08e925693434bb814ff22bace57c1cc3d373 (patch) | |
tree | 6b2983210c89d9dc1e183e6082c6a0b9cebde7da /var | |
parent | 5aa1739bfaa21ff9c97a7542dde72315f062f60b (diff) | |
download | spack-fd3c08e925693434bb814ff22bace57c1cc3d373.tar.gz spack-fd3c08e925693434bb814ff22bace57c1cc3d373.tar.bz2 spack-fd3c08e925693434bb814ff22bace57c1cc3d373.tar.xz spack-fd3c08e925693434bb814ff22bace57c1cc3d373.zip |
add new package : bubblewrap (#15162)
* add new package : bubblewrap
* bubblewrap: remove some comment in package.py
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/bubblewrap/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bubblewrap/package.py b/var/spack/repos/builtin/packages/bubblewrap/package.py new file mode 100644 index 0000000000..dc00c56148 --- /dev/null +++ b/var/spack/repos/builtin/packages/bubblewrap/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 Bubblewrap(AutotoolsPackage): + """Unprivileged sandboxing tool""" + + homepage = "https://github.com/containers/bubblewrap" + url = "https://github.com/containers/bubblewrap/archive/v0.4.0.tar.gz" + + version('0.4.0', sha256='dedea228f53dd5f589d8225b4584a9b354849a221caf7304874ca2e4d4bcdafb') + version('0.3.3', sha256='439e4cd84d9d19c9e5b0c6aa0f0c3a55bbb893ae5ec112a5b575eadd2165f039') + version('0.3.2', sha256='c66c1b6da3257e06b38a339611e76b21dc52a47975d55429071c22455259d010') + version('0.3.1', sha256='3757cb021d1a3ccc36828a58363817e1923c458ed03260d0c2b3a99da61bfb81') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('libcap') + + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('autogen.sh') |