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 <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
This commit is contained in:
Jen Herting 2022-09-09 05:09:57 -04:00 committed by GitHub
parent 59602f790e
commit 0fd749aa2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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