git: 0c7ecf1dd3c7 - main - devel/py-PyGithub: Update version 2.1.1=>2.2.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 17:29:33 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c7ecf1dd3c7e9c921c6452a9ce0449dfd5d43cf

commit 0c7ecf1dd3c7e9c921c6452a9ce0449dfd5d43cf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-08 15:29:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-08 17:29:08 +0000

    devel/py-PyGithub: Update version 2.1.1=>2.2.0
    
    Changelog: https://github.com/PyGithub/PyGithub/releases/tag/v2.2.0
---
 devel/py-PyGithub/Makefile | 8 +++++---
 devel/py-PyGithub/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/py-PyGithub/Makefile b/devel/py-PyGithub/Makefile
index 4e9250d6c622..fcf44c2037b2 100644
--- a/devel/py-PyGithub/Makefile
+++ b/devel/py-PyGithub/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	PyGithub
-DISTVERSION=	2.1.1
-PORTREVISION=	2
+DISTVERSION=	2.2.0
 CATEGORIES=	devel www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,11 +21,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@$
 		${PYTHON_PKGNAMEPREFIX}pyjwt>=2.4.0:www/py-pyjwt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}urllib3>-1.26.0:net/py-urllib3@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|64|63|' ${WRKSRC}/pyproject.toml
+
 .include <bsd.port.mk>
diff --git a/devel/py-PyGithub/distinfo b/devel/py-PyGithub/distinfo
index cfb5e1e0897b..dac5fe207219 100644
--- a/devel/py-PyGithub/distinfo
+++ b/devel/py-PyGithub/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1704518017
-SHA256 (PyGithub-2.1.1.tar.gz) = ecf12c2809c44147bce63b047b3d2e9dac8a41b63e90fcb263c703f64936b97c
-SIZE (PyGithub-2.1.1.tar.gz) = 3330531
+TIMESTAMP = 1725809310
+SHA256 (PyGithub-2.2.0.tar.gz) = e39be7c4dc39418bdd6e3ecab5931c636170b8b21b4d26f9ecf7e6102a3b51c3
+SIZE (PyGithub-2.2.0.tar.gz) = 3439222