summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gidgetlab/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gidgetlab/package.py b/var/spack/repos/builtin/packages/py-gidgetlab/package.py
new file mode 100644
index 0000000000..9e818ddd62
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gidgetlab/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2023 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 PyGidgetlab(PythonPackage):
+ """An asynchronous GitLab API library."""
+
+ homepage = "https://gitlab.com/beenje/gidgetlab"
+ pypi = "gidgetlab/gidgetlab-1.1.0.tar.gz"
+ git = "https://gitlab.com/beenje/gidgetlab.git"
+
+ maintainers("alecbcs")
+
+ license("Apache-2.0")
+
+ version("main", branch="main")
+ version("1.1.0", sha256="314ec2cddc898317ec45d99068665dbf33c0fee1f52df6671f28ad35bb51f902")
+
+ variant(
+ "aiohttp", default=False, description="Enable aiohttp functionality through dependency."
+ )
+
+ depends_on("py-setuptools@45:", type=("build", "run"))
+ depends_on("py-setuptools-scm@6.2:", type="build")
+
+ depends_on("py-aiohttp", type=("build", "run"), when="+aiohttp")
+ depends_on("py-cachetools", type=("build", "run"), when="+aiohttp")