summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeague Sterling <teaguesterling@users.noreply.github.com>2024-07-10 13:16:12 -0700
committerGitHub <noreply@github.com>2024-07-10 13:16:12 -0700
commitc3111ac0b4ac0057ae823ea28e3d9eec6a553596 (patch)
tree9313d3a80f1eaaf7f56880bbe7ef58f9faff86be
parent6505e7e02afdf84f2bff6736b51072b9e29618df (diff)
downloadspack-c3111ac0b4ac0057ae823ea28e3d9eec6a553596.tar.gz
spack-c3111ac0b4ac0057ae823ea28e3d9eec6a553596.tar.bz2
spack-c3111ac0b4ac0057ae823ea28e3d9eec6a553596.tar.xz
spack-c3111ac0b4ac0057ae823ea28e3d9eec6a553596.zip
py-janus: new package (#44520)
* py-janus: add v.0.7.0,v1.0.0 * Incorporating changes from review including: https://github.com/spack/spack/pull/44520#pullrequestreview-2095028464
-rw-r--r--var/spack/repos/builtin/packages/py-janus/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-janus/package.py b/var/spack/repos/builtin/packages/py-janus/package.py
new file mode 100644
index 0000000000..62f2771111
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-janus/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 PyJanus(PythonPackage):
+ """Thread-safe asyncio-aware queue for Python"""
+
+ homepage = "https://github.com/aio-libs/janus"
+ pypi = "janus/janus-1.0.0.tar.gz"
+
+ maintainers("teaguesterling")
+
+ license("APACHE-2.0", checked_by="teaguesterling")
+
+ version("1.0.0", sha256="df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612")
+ version("0.7.0", sha256="f10dcf5776e8d49cc30ec86d5eb7268eeec39abaa24fe0332ee8fb8fa3611845")
+
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-setuptools@51:", type="build")
+ depends_on("py-wheel@0.36:", type="build")