git: 1911992ca471 - main - www/py-httpx-socks: Update to 0.5.1

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 15 Nov 2021 08:09:52 UTC
The branch main has been updated by yasu:

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

commit 1911992ca4715cc3ba34b42d5fd8b03815e9b311
Author:     Zane C. Bowers-Hadley <vvelox@vvelox.net>
AuthorDate: 2021-10-22 15:49:28 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-11-15 08:09:14 +0000

    www/py-httpx-socks: Update to 0.5.1
    
    * Remove 256527/225692-www_py-httpx-socks.diff that was added by
      mistake when this port was added to ports tree
    * While here, re-format Makefile with portfmt
    
    ChangeLog:      https://github.com/romis2012/httpx-socks/releases/tag/v0.5.1
    PR:             259356
    Fixes:          c87e99309f1a (www/py-httpx-socks: New port - Proxy (HTTP, SOCKS) transports for httpx)
---
 .../256527/225692-www_py-httpx-socks.diff          | 56 ----------------------
 www/py-httpx-socks/Makefile                        | 16 +++----
 www/py-httpx-socks/distinfo                        |  6 +--
 3 files changed, 11 insertions(+), 67 deletions(-)

diff --git a/www/py-httpx-socks/256527/225692-www_py-httpx-socks.diff b/www/py-httpx-socks/256527/225692-www_py-httpx-socks.diff
deleted file mode 100644
index 5071196838b6..000000000000
--- a/www/py-httpx-socks/256527/225692-www_py-httpx-socks.diff
+++ /dev/null
@@ -1,56 +0,0 @@
-diff --git a/www/py-httpx-socks/Makefile b/www/py-httpx-socks/Makefile
-new file mode 100644
-index 000000000000..7eb42a7f4e3f
---- /dev/null
-+++ b/www/py-httpx-socks/Makefile
-@@ -0,0 +1,30 @@
-+# $FreeBSD$
-+
-+PORTNAME=	httpx-socks
-+PORTVERSION=	0.4.0
-+DISTVERSIONPREFIX=	v
-+CATEGORIES=	www python
-+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-+
-+MAINTAINER=	vvelox@vvelox.net
-+COMMENT=	Proxy (HTTP, SOCKS) transports for httpx
-+
-+LICENSE=	APACHE20
-+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
-+
-+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpcore>=0.13.0<0.14:www/py-httpcore@${PY_FLAVOR} \
-+		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR}  \
-+		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR}  \
-+		${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}  \
-+		${PYTHON_PKGNAMEPREFIX}curio>0:devel/py-curio@${PY_FLAVOR}  \
-+		${PYTHON_PKGNAMEPREFIX}python-socks>0:net/py-python-socks@${PY_FLAVOR}  \
-+		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
-+
-+USES=		python:3.6+
-+USE_GITHUB=		yes
-+GH_ACCOUNT=		 romis2012
-+USE_PYTHON=	autoplist concurrent distutils
-+
-+NO_ARCH=	yes
-+
-+.include <bsd.port.mk>
-diff --git a/www/py-httpx-socks/distinfo b/www/py-httpx-socks/distinfo
-new file mode 100644
-index 000000000000..6003706ee254
---- /dev/null
-+++ b/www/py-httpx-socks/distinfo
-@@ -0,0 +1,3 @@
-+TIMESTAMP = 1623307598
-+SHA256 (romis2012-httpx-socks-v0.4.0_GH0.tar.gz) = 921815312c22aa8b6c25a5a6b3759048df07758827071339c249264e85309f53
-+SIZE (romis2012-httpx-socks-v0.4.0_GH0.tar.gz) = 20241
-diff --git a/www/py-httpx-socks/pkg-descr b/www/py-httpx-socks/pkg-descr
-new file mode 100644
-index 000000000000..25bdf71d3e7a
---- /dev/null
-+++ b/www/py-httpx-socks/pkg-descr
-@@ -0,0 +1,5 @@
-+The httpx-socks package provides proxy transports for httpx
-+client. SOCKS4(a), SOCKS5, HTTP (tunneling) proxy supported.
-+It uses python-socks for core proxy functionality.
-+
-+WWW: https://github.com/romis2012/httpx-socks
diff --git a/www/py-httpx-socks/Makefile b/www/py-httpx-socks/Makefile
index d20448772ca0..e4e205ffc5f8 100644
--- a/www/py-httpx-socks/Makefile
+++ b/www/py-httpx-socks/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	httpx-socks
-PORTVERSION=	0.4.1
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.5.1
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,13 +10,13 @@ COMMENT=	Proxy (HTTP, SOCKS) transports for httpx
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpcore>=0.13.0<0.14:www/py-httpcore@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}curio>0:devel/py-curio@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}python-socks>0:net/py-python-socks@${PY_FLAVOR}  \
-		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}curio>0:devel/py-curio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpcore>=0.13.7<0.14:www/py-httpcore@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>=0.20.0:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-socks>0:net/py-python-socks@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_GITHUB=	yes
diff --git a/www/py-httpx-socks/distinfo b/www/py-httpx-socks/distinfo
index dce346385f7d..ce99ed5a54b9 100644
--- a/www/py-httpx-socks/distinfo
+++ b/www/py-httpx-socks/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1623327658
-SHA256 (romis2012-httpx-socks-v0.4.1_GH0.tar.gz) = f6c24f6606865f89083e51799d69bd5e005739c9b9569a9a0653e86f8ec1be9d
-SIZE (romis2012-httpx-socks-v0.4.1_GH0.tar.gz) = 20276
+TIMESTAMP = 1634917339
+SHA256 (romis2012-httpx-socks-v0.5.1_GH0.tar.gz) = 7bb369adf9522b9a1a62e924bfceb3404f7823bfebd82a6b6d85f647a81ec16e
+SIZE (romis2012-httpx-socks-v0.5.1_GH0.tar.gz) = 20805