svn commit: r501733 - in head/math/py-rpy2: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed May 15 15:56:10 UTC 2019
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 at 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')
More information about the svn-ports-head
mailing list