FreeBSD Bugzilla – Attachment 204213 Details for
Bug 237736
math/py-rpy2: Broken on FreeBSD: doesn't recognize the system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to recognize FreeBSD as a valid system
patch-math_py-rpy2.diff (text/plain), 726 bytes, created by
Rainer Hurling
on 2019-05-04 09:51:48 UTC
(
hide
)
Description:
patch to recognize FreeBSD as a valid system
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2019-05-04 09:51:48 UTC
Size:
726 bytes
patch
obsolete
>diff -urN py-rpy2.orig/files/patch-rpy_situation.py py-rpy2/files/patch-rpy_situation.py >--- py-rpy2.orig/files/patch-rpy_situation.py 1970-01-01 01:00:00.000000000 +0100 >+++ py-rpy2/files/patch-rpy_situation.py 2019-05-04 11:40:56.563738000 +0200 >@@ -0,0 +1,11 @@ >+--- rpy/situation.py.orig 2019-02-23 20:09:30 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 == 'Linux' or system == 'FreeBSD': >+ lib_path = os.path.join(r_home, 'lib', 'libR.so') >+ elif system == 'Darwin': >+ lib_path = os.path.join(r_home, 'lib', 'libR.dylib')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237736
: 204213