38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2016/10/03 12:25:36 wiz Exp $
|
|
|
|
DISTNAME= rpy2-2.5.6
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/rpy2/rpy/}
|
|
PKGREVISION= 2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=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"
|
|
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"
|