diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile index fd62a797b371..25e36b2728f5 100644 --- a/math/py-rpy2/Makefile +++ b/math/py-rpy2/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= rpy2 -DISTVERSION= 2.9.5 -PORTREVISION= 1 +DISTVERSION= 3.0.1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,19 +13,22 @@ COMMENT= Python interface to the R Programming Language LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt -BUILD_DEPENDS= ${PYNUMPY} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.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}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}simplegeneric>=0:devel/py-simplegeneric@${PY_FLAVOR} USES= fortran python:3.5+ readline USE_PYTHON= autoplist distutils -post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so +NO_ARCH= yes + +pre-build: + cd ${WRKSRC}/ && ${PYTHON_CMD} rpy/_rinterface_cffi_build.py .include diff --git a/math/py-rpy2/distinfo b/math/py-rpy2/distinfo index d27a5f61332b..a103d89621cc 100644 --- a/math/py-rpy2/distinfo +++ b/math/py-rpy2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1543763107 -SHA256 (rpy2-2.9.5.tar.gz) = b91f8efca7d0929f2b2b3634946be892cba6c21f92acdf737399e7eedf4532db -SIZE (rpy2-2.9.5.tar.gz) = 194145 +TIMESTAMP = 1551634105 +SHA256 (rpy2-3.0.1.tar.gz) = eb288092d139d36cf1e87e5fbcb6c651c24c186f44c41fc8773578ab2543abcf +SIZE (rpy2-3.0.1.tar.gz) = 117128