summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-24 21:24:33 -0500
committerGitHub <noreply@github.com>2020-04-24 21:24:33 -0500
commitb5bf816577005541f29bde1cbca77427b36992b2 (patch)
tree0d52abfc80f9130b4fcbe79dc7e7de340b6464da /var
parentd0ccab7d176619c9803fd25c579f895cc2a6dfa7 (diff)
downloadspack-b5bf816577005541f29bde1cbca77427b36992b2.tar.gz
spack-b5bf816577005541f29bde1cbca77427b36992b2.tar.bz2
spack-b5bf816577005541f29bde1cbca77427b36992b2.tar.xz
spack-b5bf816577005541f29bde1cbca77427b36992b2.zip
py-preshed: add new package (#16292)
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')