diff options
Diffstat (limited to 'devel/py-geventhttpclient')
-rw-r--r-- | devel/py-geventhttpclient/Makefile | 10 | ||||
-rw-r--r-- | devel/py-geventhttpclient/distinfo | 8 | ||||
-rw-r--r-- | devel/py-geventhttpclient/files/patch-pyproject.toml | 9 | ||||
-rw-r--r-- | devel/py-geventhttpclient/files/patch-src-geventhttpclient-__init__.py | 10 |
4 files changed, 30 insertions, 7 deletions
diff --git a/devel/py-geventhttpclient/Makefile b/devel/py-geventhttpclient/Makefile index a492ac195463..95f088184744 100644 --- a/devel/py-geventhttpclient/Makefile +++ b/devel/py-geventhttpclient/Makefile @@ -1,7 +1,7 @@ PORTNAME= geventhttpclient -PORTVERSION= 2.3.4 +PORTVERSION= 2.3.5 CATEGORIES= devel python -MASTER_SITES= PYPI +#MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org @@ -21,6 +21,12 @@ 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 1e3f92f5a1b1..d6747e80952d 100644 --- a/devel/py-geventhttpclient/distinfo +++ b/devel/py-geventhttpclient/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1749666985 -SHA256 (geventhttpclient-2.3.4.tar.gz) = 1749f75810435a001fc6d4d7526c92cf02b39b30ab6217a886102f941c874222 -SIZE (geventhttpclient-2.3.4.tar.gz) = 83545 +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 diff --git a/devel/py-geventhttpclient/files/patch-pyproject.toml b/devel/py-geventhttpclient/files/patch-pyproject.toml index 6e7667f5fbf9..ae6351e881f9 100644 --- a/devel/py-geventhttpclient/files/patch-pyproject.toml +++ b/devel/py-geventhttpclient/files/patch-pyproject.toml @@ -1,6 +1,11 @@ ---- pyproject.toml.orig 2025-06-11 12:41:36 UTC +--- pyproject.toml.orig 2025-08-24 09:56:07 UTC +++ pyproject.toml -@@ -9,7 +9,7 @@ requires-python = ">=3.9" +@@ -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 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 new file mode 100644 index 000000000000..05102cc6ba02 --- /dev/null +++ b/devel/py-geventhttpclient/files/patch-src-geventhttpclient-__init__.py @@ -0,0 +1,10 @@ +--- 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 |