Created attachment 230626 [details] httpx-oauth.diff QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.0, amd64 tested)
Although there is a newer version, this one is the last to ship with setup.py. As soon as I learn how to make ports from Python packages made with poetry, I'll update this port.
Here are some comments: - Does the source archive contain a license file? If so, please set LICENSE_FILE. - PyPI site says the software requires python 3.7 or later. On the other hand, the patch specifies USES=3.6+. Could you double-check on this? Thanks!
Created attachment 230661 [details] httpx-oauth.diff
It appears a newer version (0.4.1) has been released. Would you care to update the patch to the latest version?
Created attachment 231330 [details] httpx-oauth.diff
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ade72e60a0ceadb97de926e2ed94dc117de1093b commit ade72e60a0ceadb97de926e2ed94dc117de1093b Author: Goran Mekić <meka@tilda.center> AuthorDate: 2022-01-26 07:31:52 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2022-01-26 07:31:52 +0000 www/py-httpx-oauth: add port: Async OAuth client using HTTPX A generic OAuth2 class is provided to adapt to any OAuth2-compliant service. Utilities are provided to ease the integration of an OAuth2 process in FastAPI. WWW: https://github.com/frankie567/httpx-oauth PR: 260880 Reported by: Goran Mekić <meka@tilda.center> (new maintainer) www/Makefile | 1 + www/py-httpx-oauth/Makefile (new) | 29 +++++++++++++++++++++++++++ www/py-httpx-oauth/distinfo (new) | 3 +++ www/py-httpx-oauth/files/patch-setup.py (new) | 28 ++++++++++++++++++++++++++ www/py-httpx-oauth/pkg-descr (new) | 4 ++++ 5 files changed, 65 insertions(+)
Committed, thanks!