git: 6d9bb67c2c42 - main - math/py-rpy2-robjects: Add py-rpy2-robjects 3.6.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:27:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d9bb67c2c42984fe77047687d98153f8a448d41

commit 6d9bb67c2c42984fe77047687d98153f8a448d41
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:55:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:17:28 +0000

    math/py-rpy2-robjects: Add py-rpy2-robjects 3.6.5
    
    The rpy2 package is a namespace package. This is the part of that package that
    covers the "high-level" interface to R used in rpy2. It uses the "low-level"
    interface (bindings to R's C API) to create a more Pythonic and safer interface
    in rpy2.robjects as well as extentions for ipython and jupyter notebooks in
    rpy2.ipython.
---
 math/Makefile                   |  1 +
 math/py-rpy2-robjects/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 math/py-rpy2-robjects/distinfo  |  3 +++
 math/py-rpy2-robjects/pkg-descr |  5 +++++
 4 files changed, 45 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 073a74d34af3..b58020a8fefb 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1150,6 +1150,7 @@
     SUBDIR += py-roman
     SUBDIR += py-rpy2
     SUBDIR += py-rpy2-rinterface
+    SUBDIR += py-rpy2-robjects
     SUBDIR += py-rustworkx
     SUBDIR += py-rvlib
     SUBDIR += py-scikit-datasets
diff --git a/math/py-rpy2-robjects/Makefile b/math/py-rpy2-robjects/Makefile
new file mode 100644
index 000000000000..965838b3cec1
--- /dev/null
+++ b/math/py-rpy2-robjects/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	rpy2-robjects
+PORTVERSION=	3.6.5
+CATEGORIES=	math python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	rpy2_robjects-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python interface to the R language (embedded R)
+WWW=		https://rpy2.github.io/ \
+		https://github.com/rpy2/rpy2/tree/master/rpy2-robjects \
+		https://github.com/rpy2/rpy2
+
+LICENSE=	GPLv2+
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rpy2-rinterface>=3.6.0:math/py-rpy2-rinterface@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=0:devel/py-tzlocal@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+OPTIONS_DEFINE=	NUMPY PANDAS
+OPTIONS_DEFAULT=NUMPY PANDAS
+NUMPY__DESC=	Numpy support
+PANDAS_DESC=	Pandas support
+
+NUMPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR}
+PANDAS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pandas>=1.3.5,1<3.0,1:math/py-pandas@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/math/py-rpy2-robjects/distinfo b/math/py-rpy2-robjects/distinfo
new file mode 100644
index 000000000000..11b567c21abe
--- /dev/null
+++ b/math/py-rpy2-robjects/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790435630
+SHA256 (rpy2_robjects-3.6.5.tar.gz) = 03d099f436a01a8b51fb8f8bf602420a99c7cdda8c3fce0e3a0f532e36b4afe4
+SIZE (rpy2_robjects-3.6.5.tar.gz) = 105816
diff --git a/math/py-rpy2-robjects/pkg-descr b/math/py-rpy2-robjects/pkg-descr
new file mode 100644
index 000000000000..e316163b4dea
--- /dev/null
+++ b/math/py-rpy2-robjects/pkg-descr
@@ -0,0 +1,5 @@
+The rpy2 package is a namespace package. This is the part of that package that
+covers the "high-level" interface to R used in rpy2. It uses the "low-level"
+interface (bindings to R's C API) to create a more Pythonic and safer interface
+in rpy2.robjects as well as extentions for ipython and jupyter notebooks in
+rpy2.ipython.