svn commit: r478703 - in head: . math math/py-rpy2 math/rpy2

Yuri Victorovich yuri at FreeBSD.org
Sat Sep 1 14:55:44 UTC 2018


Author: yuri
Date: Sat Sep  1 14:55:42 2018
New Revision: 478703
URL: https://svnweb.freebsd.org/changeset/ports/478703

Log:
  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

Added:
  head/math/py-rpy2/
     - copied from r478702, head/math/rpy2/
Deleted:
  head/math/rpy2/
Modified:
  head/MOVED
  head/math/Makefile
  head/math/py-rpy2/Makefile
  head/math/py-rpy2/distinfo
  head/math/py-rpy2/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sat Sep  1 14:40:59 2018	(r478702)
+++ head/MOVED	Sat Sep  1 14:55:42 2018	(r478703)
@@ -10498,3 +10498,4 @@ x11-themes/qt5-style-Kvantum|x11-themes/Kvantum at qt5|20
 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
 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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sat Sep  1 14:40:59 2018	(r478702)
+++ head/math/Makefile	Sat Sep  1 14:55:42 2018	(r478703)
@@ -723,6 +723,7 @@
     SUBDIR += py-pyvtk
     SUBDIR += py-random2
     SUBDIR += py-roman
+    SUBDIR += py-rpy2
     SUBDIR += py-scientific
     SUBDIR += py-scikit-umfpack
     SUBDIR += py-seaborn
@@ -764,7 +765,6 @@
     SUBDIR += rocs-kde4
     SUBDIR += rpcalc
     SUBDIR += rpy
-    SUBDIR += rpy2
     SUBDIR += rubygem-algebra
     SUBDIR += rubygem-expression_parser
     SUBDIR += rubygem-fftw3

Modified: head/math/py-rpy2/Makefile
==============================================================================
--- head/math/rpy2/Makefile	Sat Sep  1 14:40:59 2018	(r478702)
+++ head/math/py-rpy2/Makefile	Sat Sep  1 14:55:42 2018	(r478703)
@@ -2,31 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	rpy2
-PORTVERSION=	2.7.8
-PORTREVISION=	8
+DISTVERSION=	2.9.4
 CATEGORIES=	math
 MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ports at 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
-RUN_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 readline
-USE_PYTHON=	distutils autoplist concurrent optsuffix
-LDFLAGS+=	-Wl,--as-needed
+USES=		fortran python:3.4+ readline
+USE_PYTHON=	distutils autoplist
 
-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
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so
 
 .include <bsd.port.mk>

Modified: head/math/py-rpy2/distinfo
==============================================================================
--- head/math/rpy2/distinfo	Sat Sep  1 14:40:59 2018	(r478702)
+++ head/math/py-rpy2/distinfo	Sat Sep  1 14:55:42 2018	(r478703)
@@ -1,2 +1,3 @@
-SHA256 (rpy2-2.7.8.tar.gz) = 4f51bcdddea01a63e624f4b38de4f6b10a2466d82fd7e890791a07b06e51781d
-SIZE (rpy2-2.7.8.tar.gz) = 178334
+TIMESTAMP = 1535812255
+SHA256 (rpy2-2.9.4.tar.gz) = be57f741d0c284b5d8785ab03dff0e829303e5ac30e548d5ceb46e05b168812e
+SIZE (rpy2-2.9.4.tar.gz) = 194620

Modified: head/math/py-rpy2/pkg-descr
==============================================================================
--- head/math/rpy2/pkg-descr	Sat Sep  1 14:40:59 2018	(r478702)
+++ head/math/py-rpy2/pkg-descr	Sat Sep  1 14:55:42 2018	(r478703)
@@ -9,4 +9,4 @@ rpy2 is a redesign and rewrite of rpy. It is providing
 to R, a proposed high-level interface, including wrappers to graphical
 libraries, as well as R-like structures and functions.
 
-WWW: http://rpy2.bitbucket.org/
+WWW: https://rpy2.bitbucket.org/


More information about the svn-ports-head mailing list