From e61b11fd710aa703deb7e82311a6ca2b73170c3c Mon Sep 17 00:00:00 2001 From: brobr Date: Fri, 15 Oct 2021 12:39:50 +0100 Subject: [PATCH] academic/rpy2: Updated for version 3.4.5. Signed-off-by: Willy Sudiarto Raharjo --- academic/rpy2/rpy2.SlackBuild | 9 +++++---- academic/rpy2/rpy2.info | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/academic/rpy2/rpy2.SlackBuild b/academic/rpy2/rpy2.SlackBuild index 2db26521af..3ea8722097 100644 --- a/academic/rpy2/rpy2.SlackBuild +++ b/academic/rpy2/rpy2.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rpy2 -VERSION=${VERSION:-3.4.3} +VERSION=${VERSION:-3.4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,10 +87,11 @@ fi ## make sure that R has been compiled with ## --enable-R-shlib ## --enable-BLAS-shlib -RHOMLIB=$(R RHOME)/lib -echo "R libs are in $RHOMLIB" +RHOMLIB=$(R RHOME) +echo Found R libs: +echo $RHOMLIB/lib/* -if ! [ "$(readelf -h $RHOMLIB/libR*.so | grep DYN)" ]; then +if ! [ "$(readelf -h $RHOMLIB/lib/libR*.so | grep DYN)" ]; then echo "Error: R is not compiled with shared libraries." >&2 exit 1 fi diff --git a/academic/rpy2/rpy2.info b/academic/rpy2/rpy2.info index 4671f1a69b..216ae98352 100644 --- a/academic/rpy2/rpy2.info +++ b/academic/rpy2/rpy2.info @@ -1,8 +1,8 @@ PRGNAM="rpy2" -VERSION="3.4.3" +VERSION="3.4.5" HOMEPAGE="https://rpy2.github.io/" -DOWNLOAD="https://pypi.python.org/packages/source/r/rpy2/rpy2-3.4.3.tar.gz" -MD5SUM="bf3572caed450c5f88c5295f3eda6137" +DOWNLOAD="https://pypi.python.org/packages/source/r/rpy2/rpy2-3.4.5.tar.gz" +MD5SUM="8842b153925a2eca21e2552e964facbb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="R cffi Jinja2 python3-pytest tzlocal"