spack/var/spack/repos/builtin/packages/py-ont-fast5-api/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

31 lines
1.5 KiB
Python

# 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 PyOntFast5Api(PythonPackage):
"""This project provides classes and utility functions for working with
read fast5 files. It provides an abstraction layer between the underlying
h5py library and the various concepts central to read fast5 files, such as
"reads", "analyses", "analysis summaries", and "analysis datasets".
Ideally all interaction with a read fast5 file should be possible via this
API, without having to directly invoke the h5py library."""
homepage = "https://github.com/nanoporetech/ont_fast5_api"
pypi = "ont-fast5-api/ont-fast5-api-0.3.2.tar.gz"
version("4.1.0", sha256="afa58fb0a73ac33161fe0d13d32698b3325756c370f2f440a8a43b4b68c75f32")
version("0.3.2", sha256="ae44b1bcd812e8acf8beff3db92456647c343cf19340f97cff4847de5cc905d8")
depends_on("python@3.6:", type=("build", "run"), when="@4:")
depends_on("py-setuptools", type="build")
depends_on("py-h5py", type=("build", "run"))
depends_on("py-h5py@2.10:", type=("build", "run"), when="@4.0.1:")
depends_on("py-numpy@1.8.1:", type=("build", "run"))
depends_on("py-numpy@1.16:", type=("build", "run"), when="@3.2.0:")
depends_on("py-packaging", type=("build", "run"), when="@3.0.2:")
depends_on("py-progressbar33@2.3.1:", type=("build", "run"), when="@1.0.1:")