summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-24 20:00:02 -0500
committerGitHub <noreply@github.com>2020-04-24 20:00:02 -0500
commit3153610bb8200a2a9f528cc5ad95e166f2b17b95 (patch)
tree3c9c0c421496de741e3a7d729d93735e64be41be
parent441c16bafb935a69e64e121bcc8ac3d952e03db1 (diff)
downloadspack-3153610bb8200a2a9f528cc5ad95e166f2b17b95.tar.gz
spack-3153610bb8200a2a9f528cc5ad95e166f2b17b95.tar.bz2
spack-3153610bb8200a2a9f528cc5ad95e166f2b17b95.tar.xz
spack-3153610bb8200a2a9f528cc5ad95e166f2b17b95.zip
py-catalogue: add new package (#16287)
-rw-r--r--var/spack/repos/builtin/packages/py-catalogue/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-catalogue/package.py b/var/spack/repos/builtin/packages/py-catalogue/package.py
new file mode 100644
index 0000000000..799f5bb2ff
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-catalogue/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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)
+
+
+class PyCatalogue(PythonPackage):
+ """catalogue: Super lightweight function registries for your library."""
+
+ homepage = "https://github.com/explosion/catalogue"
+ url = "https://pypi.io/packages/source/c/catalogue/catalogue-2.0.0.tar.gz"
+
+ version('2.0.0', sha256='34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816')
+ version('1.0.0', sha256='d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5')
+
+ depends_on('python@3.6:', when='@2:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-importlib-metadata@0.20:', when='^python@:3.7', type=('build', 'run'))