Commit 7154d2e4 authored by zacharysang's avatar zacharysang

Updated version and removed outdated binaries

parent ab475979
......@@ -3,23 +3,10 @@ require 'package'
class R < Package
description 'R is a free software environment for statistical computing and graphics.'
homepage 'https://www.r-project.org/'
version '3.4.3'
version '3.4.3-1'
source_url 'https://cran.r-project.org/src/base/R-3/R-3.4.3.tar.gz'
source_sha256 '7a3cb831de5b4151e1f890113ed207527b7d4b16df9ec6b35e0964170007f426'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/r-3.4.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/r-3.4.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/r-3.4.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/r-3.4.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '49a5b66353b19c4078daa3081819348f391949dfaea74b25a4a08c15fe6b0d58',
armv7l: '49a5b66353b19c4078daa3081819348f391949dfaea74b25a4a08c15fe6b0d58',
i686: 'b3ef1c5ee0c69f8da1dda0292299df1ffc6692c63198a87fe7add6a8bcecd84c',
x86_64: '997022827cf2709da1c76ab9ffbefcec6f5be21df2a72b1c33c2a797a77dcead',
})
# depends_on 'gfortran' # require gfortran enabled gcc
depends_on 'pcre' # need to use pcre not pcre2
depends_on 'zlibpkg'
......@@ -45,7 +32,7 @@ class R < Package
def self.check
# test fails on armv7l, but passes on x86_64
if `uname -m`.strip == 'x86_64'
if ARCH == 'x86_64'
# Chromeos doens't have "en_GB.UTF-8" locale, so ignore error check
system "sed -i tests/reg-tests-3.R -e '/stopifnot(identical(Sys.setlocale(/s/^/#/'"
system "make", "check"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment