blob: f7e96b2db7ada1699299b8e7a8673572baa9686e (
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
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.49 2021/12/17 10:15:20 wiz Exp $
DISTNAME= rpy2-3.4.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/rpy2/rpy/}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rpy2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://rpy2.github.io/
COMMENT= R interface for Python
LICENSE= mpl-1.1 OR gnu-gpl-v2 OR gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= R-dbplyr-[0-9]*:../../databases/R-dbplyr
DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
DEPENDS+= R-lazyeval-[0-9]*:../../devel/R-lazyeval
DEPENDS+= R-rlang-[0-9]*:../../devel/R-rlang
DEPENDS+= R-tidyr-[0-9]*:../../math/R-tidyr
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
TEST_DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
USE_LANGUAGES+= c fortran77
BUILDLINK_API_DEPENDS.R+= R>=3.3.0
LDFLAGS.SunOS+= -mimpure-text
REPLACE_PYTHON= rpy/tests.py
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy
.include "../../devel/pcre2/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../math/R/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|