Add new package: py-walinuxagent (#18961)
This commit is contained in:
parent
a7de469f58
commit
9366fe261b
1 changed files with 21 additions and 0 deletions
21
var/spack/repos/builtin/packages/py-walinuxagent/package.py
Normal file
21
var/spack/repos/builtin/packages/py-walinuxagent/package.py
Normal file
|
@ -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:')
|
Loading…
Reference in a new issue