summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boden <mboden@gwdg.de>2021-12-29 17:12:09 +0100
committerGitHub <noreply@github.com>2021-12-29 10:12:09 -0600
commit27202b22402f1655c730fc167d4e659db82eab54 (patch)
tree94fc2ff91888f7ba4ba266f805568ac14c68d707
parentc2015f6a9c8c783dd97205c0509608630c90716d (diff)
downloadspack-27202b22402f1655c730fc167d4e659db82eab54.tar.gz
spack-27202b22402f1655c730fc167d4e659db82eab54.tar.bz2
spack-27202b22402f1655c730fc167d4e659db82eab54.tar.xz
spack-27202b22402f1655c730fc167d4e659db82eab54.zip
py-datrie: New package, initial commit (#28126)
* py-datrie: New package, initial commit * removed boilerplate * Update var/spack/repos/builtin/packages/py-datrie/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-datrie/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-datrie/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-datrie/package.py b/var/spack/repos/builtin/packages/py-datrie/package.py
new file mode 100644
index 0000000000..04ccc33deb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-datrie/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyDatrie(PythonPackage):
+ """Super-fast, efficiently stored Trie for Python (2.x and 3.x). Uses libdatrie."""
+
+ pypi = "datrie/datrie-0.8.2.tar.gz"
+ maintainers = ['marcusboden']
+
+ version('0.8.2', '525b08f638d5cf6115df6ccd818e5a01298cd230b2dac91c8ff2e6499d18765d')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools@40.8:', type=('build'))
+ depends_on('py-cython@0.28:', type='build')
+ depends_on('py-pytest-runner', type='build')