View | Details | Raw Unified | Return to bug 256527 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/py-httpx-socks/Makefile (+30 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	httpx-socks
4
PORTVERSION=	0.4.0
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	www python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	vvelox@vvelox.net
10
COMMENT=	Proxy (HTTP, SOCKS) transports for httpx
11
12
LICENSE=	APACHE20
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpcore>=0.13.0<0.14:www/py-httpcore@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR}  \
17
		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR}  \
18
		${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}  \
19
		${PYTHON_PKGNAMEPREFIX}curio>0:devel/py-curio@${PY_FLAVOR}  \
20
		${PYTHON_PKGNAMEPREFIX}python-socks>0:net/py-python-socks@${PY_FLAVOR}  \
21
		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
22
23
USES=		python:3.6+
24
USE_GITHUB=		yes
25
GH_ACCOUNT=		 romis2012
26
USE_PYTHON=	autoplist concurrent distutils
27
28
NO_ARCH=	yes
29
30
.include <bsd.port.mk>
(-)b/www/py-httpx-socks/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1623307598
2
SHA256 (romis2012-httpx-socks-v0.4.0_GH0.tar.gz) = 921815312c22aa8b6c25a5a6b3759048df07758827071339c249264e85309f53
3
SIZE (romis2012-httpx-socks-v0.4.0_GH0.tar.gz) = 20241
(-)b/www/py-httpx-socks/files/patch-setup.py (+11 lines)
Added Link Here
1
--- setup.py.orig	2021-04-29 12:57:41 UTC
2
+++ setup.py
3
@@ -63,7 +63,7 @@ setup(
4
         "async_generator; python_version < '3.7'"
5
     ],
6
     extras_require={
7
-        "http2": "h2==3.*",
8
+        "http2": "h2>=3,<5",
9
         "brotli": "brotlicffi==1.*",
10
     },
11
     classifiers=[
(-)b/www/py-httpx-socks/pkg-descr (+5 lines)
Added Link Here
1
The httpx-socks package provides proxy transports for httpx
2
client. SOCKS4(a), SOCKS5, HTTP (tunneling) proxy supported.
3
It uses python-socks for core proxy functionality.
4
5
WWW: https://github.com/romis2012/httpx-socks

Return to bug 256527