Created attachment 225691 [details]
Porting for the purpose of getting searx 1.0.0 working, which requires this.
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.
Created attachment 225692 [details]
Derp. Accidentally included a file that should not of been from originally creating the port.
Do you agree, if we start we newest version 0.4.1?
BTW, $FreeBSD$ is not needed anymore in the Makefile, since the ports tree was moved from svn to git.
Hah, cool. Yeah, I see a new version was released since I submitted this. :)
devel/py-sniffio@py36 and devel/py-curio@py36 do not build for Python36:
=>> Ignoring devel/py-sniffio: Unknown flavor 'py36', possible flavors: py38 py39 py37
=>> Ignoring devel/py-curio: Unknown flavor 'py36', possible flavors: py38 py39 py37
So we also should set USES=python:3.7+ for both ports, www/py-httpx-socks and www/searx, shouldn't we? Any better idea?
Created attachment 225697 [details]
And here is the diff for the freshest version. :)
Ohh, cool. Building it with 3.7 here, but saw here 3.6 was mentioned as being the min supported version so just set the min version here for that as well.
Aye. May as well get that bumped.
Created attachment 225699 [details]
A commit in branch main references this bug:
Author: Zane C. Bowers-Hadley <firstname.lastname@example.org>
AuthorDate: 2021-06-13 13:39:33 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2021-06-13 13:51:27 +0000
www/py-httpx-socks: New port - Proxy (HTTP, SOCKS) transports for httpx
www/Makefile | 1 +
.../256527/225692-www_py-httpx-socks.diff (new) | 56 ++++++++++++++++++++++
www/py-httpx-socks/Makefile (new) | 28 +++++++++++
www/py-httpx-socks/distinfo (new) | 3 ++
www/py-httpx-socks/pkg-descr (new) | 5 ++
5 files changed, 93 insertions(+)
Committed, thanks :)