From owner-dev-commits-ports-main@freebsd.org Sun Jun 13 13:51:52 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B679665D601; Sun, 13 Jun 2021 13:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G2wx44g5jz3Q87; Sun, 13 Jun 2021 13:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88E2022271; Sun, 13 Jun 2021 13:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15DDpqO6019107; Sun, 13 Jun 2021 13:51:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15DDpqYo019106; Sun, 13 Jun 2021 13:51:52 GMT (envelope-from git) Date: Sun, 13 Jun 2021 13:51:52 GMT Message-Id: <202106131351.15DDpqYo019106@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: c87e99309f1a - main - www/py-httpx-socks: New port - Proxy (HTTP, SOCKS) transports for httpx MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c87e99309f1afd5a71be51cf1b6b7afba00a3c11 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2021 13:51:52 -0000 The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=c87e99309f1afd5a71be51cf1b6b7afba00a3c11 commit c87e99309f1afd5a71be51cf1b6b7afba00a3c11 Author: Zane C. Bowers-Hadley AuthorDate: 2021-06-13 13:39:33 +0000 Commit: Rainer Hurling CommitDate: 2021-06-13 13:51:27 +0000 www/py-httpx-socks: New port - Proxy (HTTP, SOCKS) transports for httpx https://github.com/romis2012/httpx-socks PR: 256527 --- www/Makefile | 1 + .../256527/225692-www_py-httpx-socks.diff | 56 ++++++++++++++++++++++ www/py-httpx-socks/Makefile | 28 +++++++++++ www/py-httpx-socks/distinfo | 3 ++ www/py-httpx-socks/pkg-descr | 5 ++ 5 files changed, 93 insertions(+) diff --git a/www/Makefile b/www/Makefile index 2aaee5870f45..2b58bfde4876 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1655,6 +1655,7 @@ SUBDIR += py-httpretty SUBDIR += py-httptools SUBDIR += py-httpx + SUBDIR += py-httpx-socks SUBDIR += py-httpx013 SUBDIR += py-hyper SUBDIR += py-hypercorn 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 new file mode 100644 index 000000000000..5071196838b6 --- /dev/null +++ b/www/py-httpx-socks/256527/225692-www_py-httpx-socks.diff @@ -0,0 +1,56 @@ +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 +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 new file mode 100644 index 000000000000..d20448772ca0 --- /dev/null +++ b/www/py-httpx-socks/Makefile @@ -0,0 +1,28 @@ +PORTNAME= httpx-socks +PORTVERSION= 0.4.1 +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.7+ +USE_GITHUB= yes +GH_ACCOUNT= romis2012 +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/www/py-httpx-socks/distinfo b/www/py-httpx-socks/distinfo new file mode 100644 index 000000000000..dce346385f7d --- /dev/null +++ b/www/py-httpx-socks/distinfo @@ -0,0 +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 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