Bug 260880 - [NEW PORT] www/py-httpx-oauth: Async OAuth client using HTTPX
Summary: [NEW PORT] www/py-httpx-oauth: Async OAuth client using HTTPX
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks: 257369
  Show dependency treegraph
 
Reported: 2022-01-02 11:46 UTC by Goran Mekić
Modified: 2022-01-26 07:35 UTC (History)
1 user (show)

See Also:


Attachments
httpx-oauth.diff (2.03 KB, patch)
2022-01-02 11:46 UTC, Goran Mekić
no flags Details | Diff
httpx-oauth.diff (2.06 KB, patch)
2022-01-03 08:50 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff
httpx-oauth.diff (3.05 KB, patch)
2022-01-25 18:08 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2022-01-02 11:46:56 UTC
Created attachment 230626 [details]
httpx-oauth.diff

QA:
  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 13.0, amd64 tested)
Comment 1 Goran Mekić 2022-01-02 11:52:41 UTC
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.
Comment 2 Hiroki Tagato freebsd_committer freebsd_triage 2022-01-03 04:48:51 UTC
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!
Comment 3 Goran Mekić 2022-01-03 08:50:11 UTC
Created attachment 230661 [details]
httpx-oauth.diff
Comment 4 Hiroki Tagato freebsd_committer freebsd_triage 2022-01-25 10:07:32 UTC
It appears a newer version (0.4.1) has been released. Would you care to update the patch to the latest version?
Comment 5 Goran Mekić 2022-01-25 18:08:02 UTC
Created attachment 231330 [details]
httpx-oauth.diff
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-01-26 07:34:18 UTC
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(+)
Comment 7 Hiroki Tagato freebsd_committer freebsd_triage 2022-01-26 07:35:24 UTC
Committed, thanks!