text: # 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 import *
  
  
  class RHdf5array(RPackage):
      """HDF5 backend for DelayedArray objects.
  
         Implements the HDF5Array and TENxMatrix classes, 2 convenient and
         memory-efficient array-like containers for on-disk representation of
         HDF5 datasets. HDF5Array is for datasets that use the conventional (i.e.
         dense) HDF5 representation. TENxMatrix is for datasets that use the
         HDF5-based sparse matrix representation from 10x Genomics (e.g. the 1.3
         Million Brain Cell Dataset). Both containers being DelayedArray
         extensions, they support all operations supported by DelayedArray
         objects. These operations can be either delayed or block-processed."""
  
      bioc = "HDF5Array"
  
      version('1.22.1', commit='b3f091fbc159609e8e0792d2bf9fbef52c6ceede')
      version('1.18.0', commit='d5bd55d170cb384fdebdf60751e1e28483782caa')
      version('1.12.3', commit='21c6077f3f789748a18f2e579110576c5522e975')
      version('1.10.1', commit='0b8ae1dfb56e4203dd8e14781850370df46a5e2c')
      version('1.8.1', commit='3c9aa23d117bf489b6341708dc80c943bd1af11a')
      version('1.6.0', commit='95f2f8d3648143abe9dc77c76340c5edf4114c82')
      version('1.4.8', commit='79ab96d123c8da8f8ead81f678fe714c0958ff45')
  
      depends_on('r@3.4:', type=('build', 'run'))
      depends_on('r-delayedarray@0.2.4:', type=('build', 'run'))
      depends_on('r-delayedarray@0.3.18:', type=('build', 'run'), when='@1.6.0:')
      depends_on('r-delayedarray@0.5.32:', type=('build', 'run'), when='@1.8.1:')
      depends_on('r-delayedarray@0.7.41:', type=('build', 'run'), when='@1.10.1:')
      depends_on('r-delayedarray@0.9.3:', type=('build', 'run'), when='@1.12.3:')
      depends_on('r-delayedarray@0.15.16:', type=('build', 'run'), when='@1.18.0:')
      depends_on('r-rhdf5', type=('build', 'run'))
      depends_on('r-rhdf5@2.25.6:', type=('build', 'run'), when='@1.10.1:')
      depends_on('r-rhdf5@2.31.6:', type=('build', 'run'), when='@1.18.0:')
      depends_on('r-matrix', type=('build', 'run'), when='@1.18.0:')
      depends_on('r-rhdf5filters', type=('build', 'run'), when='@1.22.1:')
      depends_on('r-biocgenerics', type=('build', 'run'))
      depends_on('r-biocgenerics@0.25.1:', type=('build', 'run'), when='@1.8.1:')
      depends_on('r-biocgenerics@0.31.5:', type=('build', 'run'), when='@1.18.0:')
      depends_on('r-s4vectors', type=('build', 'run'))
      depends_on('r-s4vectors@0.21.6:', type=('build', 'run'), when='@1.12.3:')
      depends_on('r-s4vectors@0.27.13:', type=('build', 'run'), when='@1.18.0:')
      depends_on('r-iranges', type=('build', 'run'))
      depends_on('r-rhdf5lib', type=('build', 'run'), when='@1.12.3:')
      depends_on('gmake', type='build')
  