summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-expint/package.py
blob: b16b9089bef11f37f8909c2583fcf37b6afe70af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2013-2024 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)
# See the Spack documentation for more information on packaging.

from spack.package import *


class RExpint(RPackage):
    """Exponential Integral and Incomplete Gamma Function.

    The exponential integrals E_1(x), E_2(x), E_n(x) and Ei(x), and the
    incomplete gamma function G(a, x) defined for negative values of its first
    argument. The package also gives easy access to the underlying C routines
    through an API; see the package vignette for details. A test package
    included in sub-directory example_API provides an implementation. C
    routines derived from the GNU Scientific Library
    <https://www.gnu.org/software/gsl/>."""

    cran = "expint"

    license("GPL-2.0-or-later")

    version("0.1-8", sha256="12654fe0069090c059086d507a99d1061a14acfda4e204c27c0b397c0962c6b2")
    version("0.1-7", sha256="7cfbd77e5c8ee2f4be5d12d3dd364819a146cbb6d533a00801a763c2ee51a005")
    version("0.1-6", sha256="c7d13a8e299a91e94622047fe22b0006137e7bf82e34d10871b631fa58115145")
    version("0.1-5", sha256="b03d60938cd6cf615aa3a02b1bf73436785eca89eaff56059ee0807b8244718a")

    depends_on("r@3.3.0:", type=("build", "run"))