From 3b021bb4acd3428b55c43851ce48dc99b86dccf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lyd=C3=A9ric=20Debussch=C3=A8re?= Date: Fri, 1 Dec 2023 15:52:37 +0100 Subject: [PATCH] py-mahotas: new package (#41329) * py-mahotas: new package * py-mahotas: relax version constraint on numpy --------- Co-authored-by: LydDeb --- .../builtin/packages/py-mahotas/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-mahotas/package.py diff --git a/var/spack/repos/builtin/packages/py-mahotas/package.py b/var/spack/repos/builtin/packages/py-mahotas/package.py new file mode 100644 index 0000000000..7f16a5f1af --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mahotas/package.py @@ -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"))