diff options
author | Teague Sterling <teaguesterling@users.noreply.github.com> | 2024-08-02 06:29:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 07:29:36 -0600 |
commit | ff30da7385600931faebf9e20f7ab2dc0e283d0f (patch) | |
tree | e07c1427405859121d7cfb33398b26f02893f3f2 /var | |
parent | 7c5771ed11459af785f62866f193eac0b9bbf55e (diff) | |
download | spack-ff30da7385600931faebf9e20f7ab2dc0e283d0f.tar.gz spack-ff30da7385600931faebf9e20f7ab2dc0e283d0f.tar.bz2 spack-ff30da7385600931faebf9e20f7ab2dc0e283d0f.tar.xz spack-ff30da7385600931faebf9e20f7ab2dc0e283d0f.zip |
py-glean-sdk: new package (#45389)
Signed-off-by: Teague Sterling <teaguesterling@gmail.com>
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-glean-sdk/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-glean-sdk/package.py b/var/spack/repos/builtin/packages/py-glean-sdk/package.py new file mode 100644 index 0000000000..1c18c1a738 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-glean-sdk/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2024 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.package import * + + +class PyGleanSdk(PythonPackage): + """Mozilla's Glean Telemetry SDK""" + + homepage = "https://mozilla.github.io/glean/book/index.html" + url = "https://github.com/mozilla/glean/archive/refs/tags/v60.4.0.tar.gz" + + license("MPL-2.0", checked_by="teaguesterling") + + version("60.4.0", sha256="24bc608e06580962ce029cc4c09a51af75e4a29b3d889232b298f87208acbf62") + version("60.0.1", sha256="160d054b27b8ef221cfd143b531d120ed0ee6a3d0e858eb80560f56dcfb12f35") + + depends_on("python@3.8:") + depends_on("py-semver@2.13.0:") + depends_on("py-glean-parser@14.0", when="@:60.3") + depends_on("py-glean-parser@14.3:", when="@60.4:") + depends_on("py-maturin@1") |