py-etelemetry: add new package (#24033)

This commit is contained in:
Manuela Kuhn 2021-05-31 23:34:22 +02:00 committed by GitHub
parent 444ba3d4cf
commit 9a902b67a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# Copyright 2013-2021 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 PyEtelemetry(PythonPackage):
"""A lightweight python client to communicate with the etelemetry server"""
homepage = "https://github.com/sensein/etelemetry-client"
url = "https://github.com/sensein/etelemetry-client/archive/refs/tags/v0.2.2.tar.gz"
version('0.2.2', sha256='bfec416552d248ad0f50b90ba5ff015e825ad70e4a87f7a06cc7da6d19152897')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-requests', type=('build', 'run'))
depends_on('py-ci-info@0.2.0:', type=('build', 'run'))