py-munkres: new package (#35259)

This commit is contained in:
Erik Heeren 2023-01-31 20:41:23 +01:00 committed by GitHub
parent 689bdd6f36
commit 931c0edaf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# Copyright 2013-2023 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.package import *
class PyMunkres(PythonPackage):
"""Python library for Munkres algorithm"""
homepage = "https://github.com/bmc/munkres"
pypi = "munkres/munkres-1.1.2.tar.gz"
version("1.1.4", sha256="fc44bf3c3979dada4b6b633ddeeb8ffbe8388ee9409e4d4e8310c2da1792db03")
version("1.1.2", sha256="81e9ced40c3d0ffc48be4b6da5cfdfaa49041faaaba8075b159974ec47926aea")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")