summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2020-01-03 15:52:59 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-03 15:52:59 -0600
commitb9dc263801ab8b9ce46e83adec8002c299fe2e44 (patch)
tree5cf0c13618526962a1035c3caa1c6e8797ba3c22
parentf7b9592eb9f30e6857f8f0ae257a948ef4aed5eb (diff)
downloadspack-b9dc263801ab8b9ce46e83adec8002c299fe2e44.tar.gz
spack-b9dc263801ab8b9ce46e83adec8002c299fe2e44.tar.bz2
spack-b9dc263801ab8b9ce46e83adec8002c299fe2e44.tar.xz
spack-b9dc263801ab8b9ce46e83adec8002c299fe2e44.zip
py-intervaltree: new package at 3.0.2 (#14277)
* py-intervaltree: new package at 3.0.2 * py-intervaltree: fix checksum * py-intervaltree: add py-setuptools dep * py-intervaltree: use inclusive ranges * py-intervaltree: change py-test dep type
-rw-r--r--var/spack/repos/builtin/packages/py-intervaltree/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-intervaltree/package.py b/var/spack/repos/builtin/packages/py-intervaltree/package.py
new file mode 100644
index 0000000000..f5d4501dd7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-intervaltree/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2019 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 PyIntervaltree(PythonPackage):
+ """Editable interval tree data structure for Python 2 and 3."""
+
+ homepage = "https://github.com/chaimleib/intervaltree"
+ url = "https://github.com/chaimleib/intervaltree/archive/3.0.2.tar.gz"
+
+ version('3.0.2', sha256='e8ab75b66077f2e5fb85ac56cb6df834689edb048d38601d53d8867cce3b77d1')
+
+ depends_on('py-sortedcontainers@2:2.999', type=('build', 'run'))
+ depends_on('py-pytest', type='test')
+ depends_on('py-setuptools', type='build')