py-repligit: new package (#50098)

This commit is contained in:
Alec Scott 2025-04-17 12:43:25 -04:00 committed by GitHub
parent 45bc8fd2a3
commit f0a7388496
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")