From 0fd749aa2c3423dd3278ad77960938c68386e72f Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Fri, 9 Sep 2022 05:09:57 -0400 Subject: [PATCH] New package: py-python-bioformats (#32561) * [py-python-bioformats] New package * [py-python-bioformats] Added version 4.0.0 * [py-python-bioformats] Added types * [py-python-bioformats] setuptools is build only * [py-python-bioformats] fixup import * [@spackbot] updating style on behalf of qwertos Co-authored-by: James A Zilberman Co-authored-by: qwertos --- .../packages/py-python-bioformats/package.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-python-bioformats/package.py diff --git a/var/spack/repos/builtin/packages/py-python-bioformats/package.py b/var/spack/repos/builtin/packages/py-python-bioformats/package.py new file mode 100644 index 0000000000..8a2653e7e8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-bioformats/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2022 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 PyPythonBioformats(PythonPackage): + """Python-bioformats is a Python wrapper for Bio-Formats, a standalone + Java library for reading and writing life sciences image file formats. + Bio-Formats is capable of parsing both pixels and metadata for + a large number of formats, as well as writing to several formats.""" + + homepage = "https://github.com/CellProfiler/python-bioformats/" + pypi = "python-bioformats/python-bioformats-4.0.5.tar.gz" + + version("4.0.5", sha256="f9fa3a2b3c0f1eac6070dff6c513444e9fde9a1f794ec4c21fca85833dbb5192") + version("4.0.0", sha256="9a952de4d326d961af0a497753a4b71b2f7844605023d170c931d3624e036506") + + depends_on("py-setuptools", type="build") + depends_on("py-boto3@1.14.23:", type=("build", "run")) + depends_on("py-future@0.18.2:", type=("build", "run")) + depends_on("py-python-javabridge@4.0.3", type=("build", "run"))