r-v8: add 3.6.0 (#27714)

* r-v8: add 3.6.0

* Add conflict and deprecate version 3.4.0
This commit is contained in:
Manuela Kuhn 2021-12-05 07:56:47 +01:00 committed by GitHub
parent 1eec99ce1d
commit 25a9888102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,18 @@ class RV8(RPackage):
"""V8: Embedded JavaScript and WebAssembly Engine for R"""
homepage = "https://github.com/jeroen/v8"
url = "https://cloud.r-project.org/src/contrib/V8_3.4.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/V8"
cran = "V8"
version('3.4.0', sha256='f5c8a2a03cc1be9f504f47711a0fcd1b962745139c9fb2a10fbd79c4ae103fbd')
version('3.6.0', sha256='a3969898bf4a7c13d3130fae0d385cd048d46372ff4a412917b914b159261377')
version('3.4.0', sha256='f5c8a2a03cc1be9f504f47711a0fcd1b962745139c9fb2a10fbd79c4ae103fbd',
deprecated=True)
depends_on('r-curl@1.0:', type=('build', 'run'))
depends_on('r-jsonlite@1.0:', type=('build', 'run'))
depends_on('r-rcpp@0.12.12:', type=('build', 'run'))
depends_on('r-jsonlite@1.0:', type=('build', 'run'))
depends_on('r-curl@1.0:', type=('build', 'run'))
conflicts('@3.4.0', when='target=aarch64:')
conflicts('@3.4.0', when='%gcc@5:')
def setup_build_environment(self, env):
spec = self.spec