Date: Wed, 15 May 2019 15:56:07 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501733 - in head/math/py-rpy2: . files Message-ID: <201905151556.x4FFu7Sx090071@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed May 15 15:56:06 2019 New Revision: 501733 URL: https://svnweb.freebsd.org/changeset/ports/501733 Log: Fix runtime system detection - Bump PORTREVISION for package change PR: 237736 Submitted by: yuri, Rainer Hurling <rhurlin@gwdg.de> Added: head/math/py-rpy2/files/ head/math/py-rpy2/files/patch-rpy-situation.py (contents, props changed) Modified: head/math/py-rpy2/Makefile Modified: head/math/py-rpy2/Makefile ============================================================================== --- head/math/py-rpy2/Makefile Wed May 15 15:56:01 2019 (r501732) +++ head/math/py-rpy2/Makefile Wed May 15 15:56:06 2019 (r501733) @@ -3,6 +3,7 @@ PORTNAME= rpy2 DISTVERSION= 3.0.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/math/py-rpy2/files/patch-rpy-situation.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-rpy2/files/patch-rpy-situation.py Wed May 15 15:56:06 2019 (r501733) @@ -0,0 +1,11 @@ +--- rpy/situation.py.orig 2019-05-05 16:29:19 UTC ++++ rpy/situation.py +@@ -63,7 +63,7 @@ def r_home_from_registry(): + + def get_rlib_path(r_home: str, system: str) -> str: + """Get the path for the R shared library.""" +- if system == 'Linux': ++ if system == 'FreeBSD' or system == 'Linux': + lib_path = os.path.join(r_home, 'lib', 'libR.so') + elif system == 'Darwin': + lib_path = os.path.join(r_home, 'lib', 'libR.dylib')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905151556.x4FFu7Sx090071>