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>
This commit is contained in:
Marcus Boden 2021-12-29 17:12:09 +01:00 committed by GitHub
parent c2015f6a9c
commit 27202b2240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')