From owner-svn-ports-head@freebsd.org Wed May 15 15:56:10 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBD271596B4E; Wed, 15 May 2019 15:56:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6BB9249F; Wed, 15 May 2019 15:56:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7A599BD4F; Wed, 15 May 2019 15:56:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4FFu78I090073; Wed, 15 May 2019 15:56:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4FFu7Sx090071; Wed, 15 May 2019 15:56:07 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201905151556.x4FFu7Sx090071@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 15 May 2019 15:56:07 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/math/py-rpy2: . files X-SVN-Commit-Revision: 501733 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5A6BB9249F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2019 15:56:10 -0000 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 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')