git: 67946aa8d9a7 - main - math/py-rpy2: Update to 3.5.13

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:36:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67946aa8d9a789fe1da54242a7c559cdcb937f5c

commit 67946aa8d9a789fe1da54242a7c559cdcb937f5c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:19:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:19:49 +0000

    math/py-rpy2: Update to 3.5.13
    
    Changes:        https://github.com/rpy2/rpy2/releases
---
 math/py-rpy2/Makefile | 13 +++++++++----
 math/py-rpy2/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile
index c644de7ca865..5e82c003f2e3 100644
--- a/math/py-rpy2/Makefile
+++ b/math/py-rpy2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rpy2
-PORTVERSION=	3.5.12
+PORTVERSION=	3.5.13
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,8 +19,7 @@ LIB_DEPENDS=	libR.so:math/R \
 		libpcre2-8.so:devel/pcre2
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tzlocal>=0<5.0:devel/py-tzlocal@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=0:devel/py-tzlocal@${PY_FLAVOR}
 
 USES=		compiler:c11 fortran python readline
 USE_PYTHON=	autoplist concurrent pep517
@@ -34,7 +33,13 @@ PANDAS_DESC=	Pandas support
 PANDAS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}pandas>=1.3.5,1:math/py-pandas@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${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 df77876c72d5..8ee947c76f41 100644
--- a/math/py-rpy2/distinfo
+++ b/math/py-rpy2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685162220
-SHA256 (rpy2-3.5.12.tar.gz) = eeadf794fd2aa548f88568c6a1d26e7c3810cd4a764a87b2c3b31d31942d6d45
-SIZE (rpy2-3.5.12.tar.gz) = 217838
+TIMESTAMP = 1688166302
+SHA256 (rpy2-3.5.13.tar.gz) = 41d037599f54336f54e754d82853fae06be9438d9fb3b514d90da74eaf328ddd
+SIZE (rpy2-3.5.13.tar.gz) = 218842