View | Details | Raw Unified | Return to bug 207163
Collapse All | Expand All

(-)math/rpy2/Makefile (-12 / +9 lines)
Lines 2-34 Link Here
2
# $FreeBSD: head/math/rpy2/Makefile 388444 2015-06-03 16:13:26Z amdmi3 $
2
# $FreeBSD: head/math/rpy2/Makefile 388444 2015-06-03 16:13:26Z amdmi3 $
3
3
4
PORTNAME=	rpy2
4
PORTNAME=	rpy2
5
PORTVERSION=	2.4.0
5
PORTVERSION=	2.7.8
6
PORTREVISION=	2
7
CATEGORIES=	math
6
CATEGORIES=	math
8
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Python interface to the R Programming Language
10
COMMENT=	Python interface to the R Programming Language
12
11
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2+
14
13
15
BUILD_DEPENDS=	${PYNUMPY} \
14
BUILD_DEPENDS=	R:${PORTSDIR}/math/R \
16
		R:${PORTSDIR}/math/R
15
		${PYNUMPY}
17
RUN_DEPENDS=	${PYNUMPY} \
16
RUN_DEPENDS:=	${BUILD_DEPENDS}
18
		R:${PORTSDIR}/math/R
19
17
20
USES=		python readline
18
USES=		python readline
19
USE_GCC=	yes
21
USE_PYTHON=	distutils autoplist
20
USE_PYTHON=	distutils autoplist
22
21
23
post-patch:
24
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
25
26
pre-configure:
22
pre-configure:
27
	@(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \
23
	@(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \
28
	${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built WITH_LIBR" ; \
24
	${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built with the" ; \
25
	${ECHO_MSG} "==> LIBR option enabled." ; \
29
	exit 1; fi)
26
	exit 1; fi)
30
27
31
post-install:
28
post-install:
32
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so
29
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/_*.so
33
30
34
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)math/rpy2/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (rpy2-2.4.0.tar.gz) = 3cb6360d4d0af7996979f50d0347f5f74fc3fcf98e3ee8057c4c886b358d17e1
1
SHA256 (rpy2-2.7.8.tar.gz) = 4f51bcdddea01a63e624f4b38de4f6b10a2466d82fd7e890791a07b06e51781d
2
SIZE (rpy2-2.4.0.tar.gz) = 160914
2
SIZE (rpy2-2.7.8.tar.gz) = 178334
(-)math/rpy2/pkg-descr (-8 / +8 lines)
Lines 1-12 Link Here
1
RPy is a very simple, yet robust, Python interface to the R Programming
1
RPy is a very simple, yet robust, Python interface to the R Programming
2
Language. It can manage all kinds of R objects and can execute arbitrary
2
Language. It can manage all kinds of R objects and can execute arbitrary
3
R functions (including the graphic functions). All the errors from the
3
R functions (including the graphic functions). All the errors from the R
4
R language are converted to Python exceptions. Any module that later were
4
language are converted to Python exceptions. Any module that later were
5
installed on the R system, can easily be used from within Python, without
5
installed on the R system, can easily be used from within Python,
6
introducing any changes.
6
without introducing any changes.
7
7
8
rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface
8
rpy2 is a redesign and rewrite of rpy. It is providing a low-level
9
to R, a proposed high-level interface, including wrappers to graphical
9
interface to R, a proposed high-level interface, including wrappers to
10
libraries, as well as R-like structures and functions. 
10
graphical libraries, as well as R-like structures and functions.
11
11
12
WWW: http://rpy.sourceforge.net/rpy2.html
12
WWW: http://rpy2.bitbucket.org/

Return to bug 207163