Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 04:17:47 +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: r513292 - in head/math/py-rpy2: . files
Message-ID:  <201909300417.x8U4HlmZ092777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 30 04:17:46 2019
New Revision: 513292
URL: https://svnweb.freebsd.org/changeset/ports/513292

Log:
  Update to 3.2.0
  
  Changes:	https://bitbucket.org/rpy2/rpy2/src/default/NEWS
  		https://github.com/rpy2/rpy2/blob/master/NEWS

Added:
  head/math/py-rpy2/files/patch-rpy2-situation.py
     - copied, changed from r513291, head/math/py-rpy2/files/patch-rpy-situation.py
Deleted:
  head/math/py-rpy2/files/patch-rpy-situation.py
Modified:
  head/math/py-rpy2/Makefile
  head/math/py-rpy2/distinfo

Modified: head/math/py-rpy2/Makefile
==============================================================================
--- head/math/py-rpy2/Makefile	Mon Sep 30 04:17:41 2019	(r513291)
+++ head/math/py-rpy2/Makefile	Mon Sep 30 04:17:46 2019	(r513292)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	rpy2
-DISTVERSION=	3.1.0
-PORTREVISION=	1
+DISTVERSION=	3.2.0
 CATEGORIES=	math
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,12 +13,12 @@ COMMENT=	Python interface to the R Programming Languag
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/gpl-2.0.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel/py-cffi@${PY_FLAVOR}
 LIB_DEPENDS=	libR.so:math/R \
 		libicui18n.so:devel/icu \
 		libomp.so:devel/openmp \
 		libpcre.so:devel/pcre
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
@@ -29,9 +28,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/
 USES=		fortran python:3.5+ readline
 USE_PYTHON=	autoplist distutils
 
-NO_ARCH=	yes
+MAKE_ENV=	RPY2_CFFI_MODE=BOTH
 
-pre-build:
-	cd ${WRKSRC}/ && ${PYTHON_CMD} rpy/_rinterface_cffi_build.py
+PLIST_FILES=	${PYTHON_SITELIBDIR}/__pycache__/_rinterface_cffi_abi.cpython-${PYTHON_SUFFIX}.${PYTHON_PYOEXTENSION} \
+		${PYTHON_SITELIBDIR}/__pycache__/_rinterface_cffi_abi.cpython-${PYTHON_SUFFIX}.pyc \
+		${PYTHON_SITELIBDIR}/_rinterface_cffi_abi.py
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_rinterface_cffi_api.abi3.so
 
 .include <bsd.port.mk>

Modified: head/math/py-rpy2/distinfo
==============================================================================
--- head/math/py-rpy2/distinfo	Mon Sep 30 04:17:41 2019	(r513291)
+++ head/math/py-rpy2/distinfo	Mon Sep 30 04:17:46 2019	(r513292)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1567451240
-SHA256 (rpy2-3.1.0.tar.gz) = ed4284df32d00b1fba5b1409e5df64b04b02d47aff543d6ef1dc211ab94e247f
-SIZE (rpy2-3.1.0.tar.gz) = 158773
+TIMESTAMP = 1569809145
+SHA256 (rpy2-3.2.0.tar.gz) = 18025f53c1a32b7b38ed319c81f8445b9a8809e0ecba210634b67764d68da978
+SIZE (rpy2-3.2.0.tar.gz) = 161566

Copied and modified: head/math/py-rpy2/files/patch-rpy2-situation.py (from r513291, head/math/py-rpy2/files/patch-rpy-situation.py)
==============================================================================
--- head/math/py-rpy2/files/patch-rpy-situation.py	Mon Sep 30 04:17:41 2019	(r513291, copy source)
+++ head/math/py-rpy2/files/patch-rpy2-situation.py	Mon Sep 30 04:17:46 2019	(r513292)
@@ -1,6 +1,6 @@
---- rpy/situation.py.orig	2019-05-05 16:29:19 UTC
-+++ rpy/situation.py
-@@ -63,7 +63,7 @@ def r_home_from_registry():
+--- rpy2/situation.py.orig	2019-09-27 19:59:40 UTC
++++ rpy2/situation.py
+@@ -90,7 +90,7 @@ def r_home_from_registry() -> Optional[s
  
  def get_rlib_path(r_home: str, system: str) -> str:
      """Get the path for the R shared library."""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909300417.x8U4HlmZ092777>