git: abce0ec37ffa - main - devel/py-geventhttpclient: Change MASTER_SITES from GitHub to PYPI

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Oct 2025 21:14:17 UTC
The branch main has been updated by sunpoet:

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

commit abce0ec37ffa343929351f006abd12b354d8dcdb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-27 21:09:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-27 21:11:55 +0000

    devel/py-geventhttpclient: Change MASTER_SITES from GitHub to PYPI
    
    - Bump PORTREVISION for potential package change
---
 devel/py-geventhttpclient/Makefile                             |  9 ++-------
 devel/py-geventhttpclient/distinfo                             |  8 +++-----
 devel/py-geventhttpclient/files/patch-pyproject.toml           |  9 ++-------
 .../files/patch-src-geventhttpclient-__init__.py               | 10 ----------
 4 files changed, 7 insertions(+), 29 deletions(-)

diff --git a/devel/py-geventhttpclient/Makefile b/devel/py-geventhttpclient/Makefile
index 95f088184744..52e8b9e62654 100644
--- a/devel/py-geventhttpclient/Makefile
+++ b/devel/py-geventhttpclient/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	geventhttpclient
 PORTVERSION=	2.3.5
+PORTREVISION=	1
 CATEGORIES=	devel python
-#MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -21,12 +22,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
-USE_GITHUB=	yes
-GH_TUPLE=	nodejs:llhttp:release/v6.0.11:nodejs_llhttp/llhttp
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/pyproject.toml ${WRKSRC}/src/geventhttpclient/__init__.py
-
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
diff --git a/devel/py-geventhttpclient/distinfo b/devel/py-geventhttpclient/distinfo
index d6747e80952d..fb5e2dc870b5 100644
--- a/devel/py-geventhttpclient/distinfo
+++ b/devel/py-geventhttpclient/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1757120656
-SHA256 (geventhttpclient-geventhttpclient-2.3.5_GH0.tar.gz) = 388f58f672f810ce345a5149f0cdec6cdcbc2c25c3fc51795403e1791d5544ac
-SIZE (geventhttpclient-geventhttpclient-2.3.5_GH0.tar.gz) = 53393
-SHA256 (nodejs-llhttp-release-v6.0.11_GH0.tar.gz) = 3731820429e1ebfa8f3e70f9a8f4da5d72d69b1cadcf5cfb1ac149e2c19e34f2
-SIZE (nodejs-llhttp-release-v6.0.11_GH0.tar.gz) = 41467
+TIMESTAMP = 1761578094
+SHA256 (geventhttpclient-2.3.5.tar.gz) = 0f0cf13528de7628a21b28b80ee90a471d4840e3fe26f84b394644c366595151
+SIZE (geventhttpclient-2.3.5.tar.gz) = 83673
diff --git a/devel/py-geventhttpclient/files/patch-pyproject.toml b/devel/py-geventhttpclient/files/patch-pyproject.toml
index ae6351e881f9..5cf82e7317d2 100644
--- a/devel/py-geventhttpclient/files/patch-pyproject.toml
+++ b/devel/py-geventhttpclient/files/patch-pyproject.toml
@@ -1,11 +1,6 @@
---- pyproject.toml.orig	2025-08-24 09:56:07 UTC
+--- pyproject.toml.orig	2025-10-26 09:59:30 UTC
 +++ pyproject.toml
-@@ -5,11 +5,11 @@ name = "geventhttpclient"
- 
- [project]
- name = "geventhttpclient"
--version = "2.3.4" # don't forget to update version __init__.py as well
-+version = "%%PORTVERSION%%" # don't forget to update version __init__.py as well
+@@ -9,7 +9,7 @@ requires-python = ">=3.9"
  description = "HTTP client library for gevent"
  readme = "README.md"
  requires-python = ">=3.9"
diff --git a/devel/py-geventhttpclient/files/patch-src-geventhttpclient-__init__.py b/devel/py-geventhttpclient/files/patch-src-geventhttpclient-__init__.py
deleted file mode 100644
index 05102cc6ba02..000000000000
--- a/devel/py-geventhttpclient/files/patch-src-geventhttpclient-__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/geventhttpclient/__init__.py.orig	2025-08-24 09:56:07 UTC
-+++ src/geventhttpclient/__init__.py
-@@ -1,6 +1,6 @@
- # package
- 
--__version__ = "2.3.4"  # don't forget to update version in pyproject.toml as well
-+__version__ = "%%PORTVERSION%%"  # don't forget to update version in pyproject.toml as well
- 
- from geventhttpclient.api import delete, get, head, options, patch, post, put, request
- from geventhttpclient.client import HTTPClient