spack/var/spack/repos/builtin/packages/r-sitmo/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

28 lines
1.3 KiB
Python

# 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)
from spack import *
class RSitmo(RPackage):
"""Provided within are two high quality and fast PPRNGs that may be used in
an 'OpenMP' parallel environment. In addition, there is a generator for one
dimensional low-discrepancy sequence. The objective of this library to
consolidate the distribution of the 'sitmo' (C++98 & C++11), 'threefry' and
'vandercorput' (C++11-only) engines on CRAN by enabling others to link to
the header files inside of 'sitmo' instead of including a copy of each
engine within their individual package. Lastly, the package contains
example implementations using the 'sitmo' package and three accompanying
vignette that provide additional information."""
homepage = "https://github.com/coatless/sitmo"
url = "https://cloud.r-project.org/src/contrib/sitmo_2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sitmo"
version('2.0.1', sha256='0c90d357af334d5c99c8956739dc12623ddd87dda5efa59f4a43f7393c87ed2a')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-rcpp@0.12.13:', type=('build', 'run'))