summaryrefslogtreecommitdiff
path: root/math/py-rpy/Makefile
blob: e0557efd804eaa752a85714e26c18b1caf21de64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.39 2015/04/14 11:40:31 wiz Exp $

DISTNAME=	rpy2-2.5.6
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/rpy2/rpy/}
PKGREVISION=	2
CATEGORIES=	math python
MASTER_SITES=	https://pypi.python.org/packages/source/r/rpy2/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://rpy.sourceforge.net/
COMMENT=	R interface for Python
LICENSE=	mpl-1.1 OR gnu-gpl-v2 OR gnu-lgpl-v2.1

DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3

USE_LANGUAGES+=		c fortran77

BUILDLINK_API_DEPENDS.R+= R>=2.11.0

LDFLAGS.SunOS+=		-mimpure-text

REPLACE_PYTHON=			rpy/tests.py

.include "../../lang/python/pyversion.mk"

PLIST_VARS=	sd
.if ${PYPKGPREFIX} == "py27" || ${PYPKGPREFIX} == "py33"
PLIST.sd=	yes
DEPENDS+=	${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
.endif

.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../math/R/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"