summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-preshed/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-preshed/package.py b/var/spack/repos/builtin/packages/py-preshed/package.py
new file mode 100644
index 0000000000..cb8cc2ed10
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-preshed/package.py
@@ -0,0 +1,18 @@
+# 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 PyPreshed(PythonPackage):
+ """preshed: Cython Hash Table for Pre-Hashed Keys."""
+
+ homepage = "https://github.com/explosion/preshed"
+ url = "https://pypi.io/packages/source/p/preshed/preshed-3.0.2.tar.gz"
+
+ version('3.0.2', sha256='61d73468c97c1d6d5a048de0b01d5a6fd052123358aca4823cdb277e436436cb')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cymem@2.0.2:2.0.999', type=('build', 'run'))
+ depends_on('py-murmurhash@0.28:1.0', type=('build', 'run'))
+ depends_on('py-pytest', type='test')