From 9a902b67a19be8c83c93b20ad20d9bb444b37d39 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Mon, 31 May 2021 23:34:22 +0200 Subject: py-etelemetry: add new package (#24033) --- .../repos/builtin/packages/py-etelemetry/package.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-etelemetry/package.py diff --git a/var/spack/repos/builtin/packages/py-etelemetry/package.py b/var/spack/repos/builtin/packages/py-etelemetry/package.py new file mode 100644 index 0000000000..539b3b0c2a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-etelemetry/package.py @@ -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')) -- cgit v1.2.3-70-g09d2