summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-narray/package.py
blob: 00af435e337a2d980602d37106328c0754b860e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2021 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)


class RubyNarray(RubyPackage):
    """Numo::NArray is an Numerical N-dimensional Array class for fast
       processing and easy manipulation of multi-dimensional numerical data,
       similar to numpy.ndaray."""

    homepage = "https://masa16.github.io/narray/"
    url      = "https://github.com/ruby-numo/numo-narray/archive/v0.9.1.8.tar.gz"
    git      = "https://github.com/ruby-numo/numo-narray.git"

    version('master',  branch='master')
    version('0.9.1.8', sha256='48814c6ebf2c4846fcf6cfd2705a15a97a608960c1676cb6c7b5c9254b0dd51b')

    depends_on('ruby@2.2:2.999', type=('build', 'run'))