mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/rpy2: Update 2.7.8 -> 2.9.4; Move to math/py-rpy2
Port changes: * Add LICENSE_FILE * Update dependencies * Support for python-2 is dropped * Update WWW to https
This commit is contained in:
parent
1fa88f7e17
commit
0bda7f4a9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478703
7 changed files with 37 additions and 36 deletions
1
MOVED
1
MOVED
|
@ -10498,3 +10498,4 @@ x11-themes/qt5-style-Kvantum|x11-themes/Kvantum@qt5|2018-08-26|Moved to flavored
|
||||||
devel/gps||2018-08-28|Has expired: Depends on obsolete LLVM 3.8.
|
devel/gps||2018-08-28|Has expired: Depends on obsolete LLVM 3.8.
|
||||||
net-mgmt/ocsinventory-ng|net-mgmt/ocsinventory-server|2018-08-26|split port
|
net-mgmt/ocsinventory-ng|net-mgmt/ocsinventory-server|2018-08-26|split port
|
||||||
www/py-buku|www/buku|2018-09-01|Moved to correct directory, port is not a python library
|
www/py-buku|www/buku|2018-09-01|Moved to correct directory, port is not a python library
|
||||||
|
math/rpy2|math/py-rpy2|2018-09-01|Moved to correct directory, this is a python library
|
||||||
|
|
|
@ -723,6 +723,7 @@
|
||||||
SUBDIR += py-pyvtk
|
SUBDIR += py-pyvtk
|
||||||
SUBDIR += py-random2
|
SUBDIR += py-random2
|
||||||
SUBDIR += py-roman
|
SUBDIR += py-roman
|
||||||
|
SUBDIR += py-rpy2
|
||||||
SUBDIR += py-scientific
|
SUBDIR += py-scientific
|
||||||
SUBDIR += py-scikit-umfpack
|
SUBDIR += py-scikit-umfpack
|
||||||
SUBDIR += py-seaborn
|
SUBDIR += py-seaborn
|
||||||
|
@ -764,7 +765,6 @@
|
||||||
SUBDIR += rocs-kde4
|
SUBDIR += rocs-kde4
|
||||||
SUBDIR += rpcalc
|
SUBDIR += rpcalc
|
||||||
SUBDIR += rpy
|
SUBDIR += rpy
|
||||||
SUBDIR += rpy2
|
|
||||||
SUBDIR += rubygem-algebra
|
SUBDIR += rubygem-algebra
|
||||||
SUBDIR += rubygem-expression_parser
|
SUBDIR += rubygem-expression_parser
|
||||||
SUBDIR += rubygem-fftw3
|
SUBDIR += rubygem-fftw3
|
||||||
|
|
31
math/py-rpy2/Makefile
Normal file
31
math/py-rpy2/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Created by: ijliao
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= rpy2
|
||||||
|
DISTVERSION= 2.9.4
|
||||||
|
CATEGORIES= math
|
||||||
|
MASTER_SITES= CHEESESHOP
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
COMMENT= Python interface to the R Programming Language
|
||||||
|
|
||||||
|
LICENSE= GPLv2+
|
||||||
|
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${PYNUMPY}
|
||||||
|
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} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
||||||
|
${PYNUMPY}
|
||||||
|
|
||||||
|
USES= fortran python:3.4+ readline
|
||||||
|
USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
math/py-rpy2/distinfo
Normal file
3
math/py-rpy2/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1535812255
|
||||||
|
SHA256 (rpy2-2.9.4.tar.gz) = be57f741d0c284b5d8785ab03dff0e829303e5ac30e548d5ceb46e05b168812e
|
||||||
|
SIZE (rpy2-2.9.4.tar.gz) = 194620
|
|
@ -9,4 +9,4 @@ rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface
|
||||||
to R, a proposed high-level interface, including wrappers to graphical
|
to R, a proposed high-level interface, including wrappers to graphical
|
||||||
libraries, as well as R-like structures and functions.
|
libraries, as well as R-like structures and functions.
|
||||||
|
|
||||||
WWW: http://rpy2.bitbucket.org/
|
WWW: https://rpy2.bitbucket.org/
|
|
@ -1,32 +0,0 @@
|
||||||
# Created by: ijliao
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
PORTNAME= rpy2
|
|
||||||
PORTVERSION= 2.7.8
|
|
||||||
PORTREVISION= 8
|
|
||||||
CATEGORIES= math
|
|
||||||
MASTER_SITES= CHEESESHOP
|
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
|
||||||
COMMENT= Python interface to the R Programming Language
|
|
||||||
|
|
||||||
LICENSE= GPLv2+
|
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYNUMPY}
|
|
||||||
LIB_DEPENDS= libR.so:math/R
|
|
||||||
RUN_DEPENDS= ${PYNUMPY}
|
|
||||||
|
|
||||||
USES= fortran python readline
|
|
||||||
USE_PYTHON= distutils autoplist concurrent optsuffix
|
|
||||||
LDFLAGS+= -Wl,--as-needed
|
|
||||||
|
|
||||||
pre-configure:
|
|
||||||
@(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \
|
|
||||||
${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built with the" ; \
|
|
||||||
${ECHO_MSG} "==> LIBR option enabled." ; \
|
|
||||||
exit 1; fi)
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
|
@ -1,2 +0,0 @@
|
||||||
SHA256 (rpy2-2.7.8.tar.gz) = 4f51bcdddea01a63e624f4b38de4f6b10a2466d82fd7e890791a07b06e51781d
|
|
||||||
SIZE (rpy2-2.7.8.tar.gz) = 178334
|
|
Loading…
Add table
Reference in a new issue