From f0a7388496a5cb062d7ec6541273b6cc697ba051 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Thu, 17 Apr 2025 12:43:25 -0400 Subject: [PATCH] py-repligit: new package (#50098) --- .../builtin/packages/py-repligit/package.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-repligit/package.py diff --git a/var/spack/repos/builtin/packages/py-repligit/package.py b/var/spack/repos/builtin/packages/py-repligit/package.py new file mode 100644 index 00000000000..ffd505b9bf8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-repligit/package.py @@ -0,0 +1,28 @@ +# Copyright Spack Project Developers. See COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyRepligit(PythonPackage): + """A Git client for mirroring multiple remotes without storing state.""" + + homepage = "https://github.com/LLNL/repligit" + pypi = "repligit/repligit-0.1.0.tar.gz" + git = "https://github.com/LLNL/repligit.git" + + maintainers("alecbcs", "cmelone") + + license("Apache-2.0 WITH LLVM-exception") + + version("main", branch="main") + version("0.1.0", sha256="9beac1a14542704f2e5af6a2f3d391d8adf2112ae3c70e98339db251a9e1079e") + + variant("aiohttp", default="False", description="Enable aiohttp support") + + depends_on("python@3.10:", type=("build", "run")) + + depends_on("py-hatchling", type="build") + + depends_on("py-aiohttp", type=("build", "run"), when="+aiohttp")