spack/var/spack/repos/builtin/packages/r-bindrcpp/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

23 lines
913 B
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 RBindrcpp(RPackage):
"""Provides an easy way to fill an environment with active bindings that
call a C++ function."""
homepage = "https://github.com/krlmlr/bindrcpp"
url = "https://cloud.r-project.org/src/contrib/bindrcpp_0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bindrcpp"
version('0.2.2', sha256='48130709eba9d133679a0e959e49a7b14acbce4f47c1e15c4ab46bd9e48ae467')
version('0.2', sha256='d0efa1313cb8148880f7902a4267de1dcedae916f28d9a0ef5911f44bf103450')
depends_on('r-rcpp@0.12.16:', type=('build', 'run'))
depends_on('r-bindr@0.1.1:', type=('build', 'run'))
depends_on('r-plogr', type=('build', 'run'))