py-lap: new package (#22021)

* py-lap: new package

* dep versions
This commit is contained in:
Andrew W Elble 2021-03-01 14:24:36 -05:00 committed by GitHub
parent 987b5a5b6f
commit 81b77873e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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