summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')