summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-lap/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lap/package.py b/var/spack/repos/builtin/packages/py-lap/package.py
new file mode 100644
index 0000000000..f8e85f1043
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lap/package.py
@@ -0,0 +1,18 @@
+# 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)
+
+
+class PyLap(PythonPackage):
+ """lap is a linear assignment problem solver using
+ Jonker-Volgenant algorithm for dense (LAPJV) or sparse (LAPMOD)
+ matrices."""
+
+ homepage = "https://github.com/gatagat/lap"
+ pypi = "lap/lap-0.4.0.tar.gz"
+
+ version('0.4.0', sha256='c4dad9976f0e9f276d8a676a6d03632c3cb7ab7c80142e3b27303d49f0ed0e3b')
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython@0.21:', type='build')
+ depends_on('py-numpy@1.10.1:', type=('build', 'run'))