git: 038cb05fd490 - main - math/py-rpy2: Update to 3.6.8

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=038cb05fd490ce0d04088a22e546b8a5f81fea44

commit 038cb05fd490ce0d04088a22e546b8a5f81fea44
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 19:00:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:25:03 +0000

    math/py-rpy2: Update to 3.6.8
    
    - Remove NUMPY and PANDAS options: they are moved to math/py-rpy2-rinterface and math/py-rpy2-robjects
    
    Changes:        https://github.com/rpy2/rpy2/releases
                    https://github.com/rpy2/rpy2/blob/master/NEWS
---
 math/py-rpy2/Makefile                   | 27 +++++----------------------
 math/py-rpy2/distinfo                   |  6 +++---
 math/py-rpy2/files/patch-pyproject.toml | 12 ++++++++++++
 3 files changed, 20 insertions(+), 25 deletions(-)

diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile
index a216509c34ef..abd189468d69 100644
--- a/math/py-rpy2/Makefile
+++ b/math/py-rpy2/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	rpy2
-PORTVERSION=	3.5.17
-PORTREVISION=	3
+PORTVERSION=	3.6.8
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,28 +15,12 @@ LICENSE_FILE=	${WRKSRC}/gpl-2.0.txt
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.15.0:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-LIB_DEPENDS=	libR.so:math/R \
-		libicui18n.so:devel/icu \
-		libpcre2-8.so:devel/pcre2
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.15.1:devel/py-cffi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tzlocal>=0:devel/py-tzlocal@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rpy2-rinterface>=3.6.7:math/py-rpy2-rinterface@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rpy2-robjects>=3.6.5:math/py-rpy2-robjects@${PY_FLAVOR}
 
-USES=		compiler:c11 fortran python readline
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
-MAKE_ENV=	RPY2_CFFI_MODE=BOTH
-
-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:math/py-pandas@${PY_FLAVOR}
-
-post-install:
-	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/math/py-rpy2/distinfo b/math/py-rpy2/distinfo
index 5de1a3a0bd2e..e166f0ac2190 100644
--- a/math/py-rpy2/distinfo
+++ b/math/py-rpy2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888338
-SHA256 (rpy2-3.5.17.tar.gz) = dbff08c30f3d79161922623858a5b3b68a3fba8ee1747d6af41bc4ba68f3d582
-SIZE (rpy2-3.5.17.tar.gz) = 220963
+TIMESTAMP = 1790435894
+SHA256 (rpy2-3.6.8.tar.gz) = a923cf17d8c92370e62b661fd7770899a2521f89e0b7299ea03cf61a9f29cec2
+SIZE (rpy2-3.6.8.tar.gz) = 54174
diff --git a/math/py-rpy2/files/patch-pyproject.toml b/math/py-rpy2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..8b1c52fb7c03
--- /dev/null
+++ b/math/py-rpy2/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig	2026-09-19 15:14:03 UTC
++++ pyproject.toml
+@@ -13,8 +13,7 @@ requires-python = ">=3.9"
+ description = "Python interface to the R language (embedded R)"
+ readme = "README.md"
+ requires-python = ">=3.9"
+-license = "GPL-2.0-or-later"
+-license-files = ["LICENSE"]
++license = { text = "GPL-2.0-or-later" }
+ authors = [{ name = "Laurent Gautier", email = "lgautier@gmail.com" }]
+ classifiers = [
+     "Programming Language :: Python",