Add new package: py-walinuxagent (#18961)

This commit is contained in:
darmac 2020-10-09 04:08:38 +08:00 committed by GitHub
parent a7de469f58
commit 9366fe261b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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:')