spack/var/spack/repos/builtin/packages/r-withr/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

23 lines
859 B
Python

# Copyright 2013-2018 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 RWithr(RPackage):
"""A set of functions to run code 'with' safely and temporarily modified
global state. Many of these functions were originally a part of the
'devtools' package, this provides a simple package with limited
dependencies to provide access to these functions."""
homepage = "http://github.com/jimhester/withr"
url = "https://cran.r-project.org/src/contrib/withr_1.0.2.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/withr"
version('1.0.2', 'ca52b729af9bbaa14fc8b7bafe38663c')
version('1.0.1', 'ac38af2c6f74027c9592dd8f0acb7598')
depends_on('r@3.0.2:')