git: 17c71bde11bd - main - math/py-rpy2: Update to 3.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:22:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17c71bde11bd23443ade8ac50707d011ff9b4617

commit 17c71bde11bd23443ade8ac50707d011ff9b4617
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 03:57:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:25 +0000

    math/py-rpy2: Update to 3.5.0
    
    Changes:        https://github.com/rpy2/rpy2/blob/master/NEWS
---
 math/py-rpy2/Makefile | 11 ++++++++---
 math/py-rpy2/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile
index d1390692f5a3..7033aaf66028 100644
--- a/math/py-rpy2/Makefile
+++ b/math/py-rpy2/Makefile
@@ -1,8 +1,7 @@
 # Created by: ijliao
 
 PORTNAME=	rpy2
-PORTVERSION=	3.4.5
-PORTREVISION=	2
+PORTVERSION=	3.5.0
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -40,7 +39,13 @@ NUMPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR
 PANDAS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/py-rpy2/distinfo b/math/py-rpy2/distinfo
index 1326cceabd04..6e6c4ca3fc68 100644
--- a/math/py-rpy2/distinfo
+++ b/math/py-rpy2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622214106
-SHA256 (rpy2-3.4.5.tar.gz) = 5d31a5ea43f5a59f6dec30faca87edb01fc9b8affa0beae96a99be923bd7dab3
-SIZE (rpy2-3.4.5.tar.gz) = 194433
+TIMESTAMP = 1649423822
+SHA256 (rpy2-3.5.0.tar.gz) = 4d8a20253320ae3e402ec20d56640772bdc27731bd14f7d0475a95d86e7cd1c7
+SIZE (rpy2-3.5.0.tar.gz) = 201597