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,33 +1,28 @@ PORTNAME= geventhttpclient PORTVERSION= 2.3.5 +PORTREVISION= 1 CATEGORIES= devel python -#MASTER_SITES= PYPI +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Http client library for gevent WWW= https://github.com/geventhttpclient/geventhttpclient LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE-MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=0,1:net/py-urllib3@${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} {} + .include 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,16 +1,11 @@ ---- 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" -license = "MIT" +license = {file = "LICENSE-MIT"} keywords = ["http", "gevent", "client"] authors = [{name = "Antonin Amand", email = "antonin.amand@gmail.com"}] classifiers = [ 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