py-mahotas: new package (#41329)

* py-mahotas: new package

* py-mahotas: relax version constraint on numpy

---------

Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
Lydéric Debusschère 2023-12-01 15:52:37 +01:00 committed by GitHub
parent 42bac83c2e
commit 3b021bb4ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# 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 PyMahotas(PythonPackage):
"""Mahotas: Computer Vision Library."""
homepage = "http://luispedro.org/software/mahotas"
pypi = "mahotas/mahotas-1.4.13.tar.gz"
maintainers("LydDeb")
version("1.4.13", sha256="a78dfe15045a20a0d9e01538b80f874580cd3525ae3eaa2c83ced51eb455879c")
depends_on("py-setuptools", type="build")
depends_on("py-numpy", type=("build", "run"))