spack/var/spack/repos/builtin/packages/r-expint/package.py
2025-01-02 15:40:28 +01:00

32 lines
1.3 KiB
Python

# Copyright Spack Project Developers. See 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("c", type="build") # generated
depends_on("r@3.3.0:", type=("build", "run"))