c899e6fdca
Changes: https://bitbucket.org/rpy2/rpy2/src/default/NEWS https://github.com/rpy2/rpy2/blob/master/NEWS
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rpy2
|
|
DISTVERSION= 3.1.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python interface to the R Programming Language
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
|
|
|
|
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}cffi>=1.0.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} \
|
|
${PYTHON_PKGNAMEPREFIX}simplegeneric>=0:devel/py-simplegeneric@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tzlocal>=0:devel/py-tzlocal@${PY_FLAVOR}
|
|
|
|
USES= fortran python:3.5+ readline
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}/ && ${PYTHON_CMD} rpy/_rinterface_cffi_build.py
|
|
|
|
.include <bsd.port.mk>
|