diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-09 04:08:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 15:08:38 -0500 |
commit | 9366fe261b2f13f81678851fd5ae4a0035a811c7 (patch) | |
tree | 33f6d1e94605b11e4497843af10dbd098c7a1313 | |
parent | a7de469f58b9b93110dc481c1c5c11cf7cf50a9a (diff) | |
download | spack-9366fe261b2f13f81678851fd5ae4a0035a811c7.tar.gz spack-9366fe261b2f13f81678851fd5ae4a0035a811c7.tar.bz2 spack-9366fe261b2f13f81678851fd5ae4a0035a811c7.tar.xz spack-9366fe261b2f13f81678851fd5ae4a0035a811c7.zip |
Add new package: py-walinuxagent (#18961)
-rw-r--r-- | var/spack/repos/builtin/packages/py-walinuxagent/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-walinuxagent/package.py b/var/spack/repos/builtin/packages/py-walinuxagent/package.py new file mode 100644 index 0000000000..8d4bf4cb9f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-walinuxagent/package.py @@ -0,0 +1,21 @@ +# 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 PyWalinuxagent(PythonPackage): + """Microsoft Azure Linux Guest Agent.""" + + homepage = "https://github.com/Azure/WALinuxAgent" + url = "https://github.com/Azure/WALinuxAgent/archive/pre-v2.2.52.tar.gz" + + version('2.2.52', sha256='02c26af75827bd7042aa2285c78dee86ddb25a6a8f6bb0a85679a2df9ba56a3a') + version('2.2.50', sha256='3b2b99552e3b35dfcbb4cabf476d0113d701eb23d2e0e61f35f0fa33cabde0a1') + + depends_on('python@2.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pyasn1', type=('build', 'run')) + depends_on('py-distro', type=('build', 'run'), when='^python@3.8:') |