Bug 282847 - [NEW PORT] www/py-pydrive2: PyDrive2 is a wrapper library of google-api-python-client
Summary: [NEW PORT] www/py-pydrive2: PyDrive2 is a wrapper library of google-api-pytho...
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: Dries Michiels
URL:
Keywords:
Depends on:
Blocks: 281304
  Show dependency treegraph
 
Reported: 2024-11-18 16:15 UTC by Matthew Wener
Modified: 2024-11-19 20:52 UTC (History)
2 users (show)

See Also:


Attachments
New Port py-pydrive2 1.21.1 (3.63 KB, patch)
2024-11-18 16:20 UTC, Matthew Wener
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Wener 2024-11-18 16:15:47 UTC
New Port PyDrive2 (https://github.com/iterative/PyDrive2).
Comment 1 Matthew Wener 2024-11-18 16:20:09 UTC
Created attachment 255279 [details]
New Port py-pydrive2 1.21.1
Comment 2 Dries Michiels freebsd_committer freebsd_triage 2024-11-19 15:22:50 UTC
Hello, here as well I doubt for the catergory. Either in devel as wrapper LIBRARY. Or the other category suited where google drive is in. Sysutils or storage or something?

https://www.freshports.org/categories.php

Here you can find some general overview of all. Could you go through your added ports to check if these are all included in the correct or "most" correct category?
Comment 3 Matthew Wener 2024-11-19 16:28:17 UTC
(In reply to Dries Michiels from comment #2)
So I'm not completely sure on this one.

The google-api-python-client which this is wrapping is already listed as www/google-api-python-client, but this wrapper adds some features. The wrapper adds OAuth2.0 simplification, content fetching, pagination control and filesystem parsing.

What do you think www, devel or filesystems?

Also, with respect to APIs that request data from the web; should they be considered devel as they assist with development or should they be categorized based on their function. What I compared these to when I categorized them is www/py-requests since they are retrieving data from URLs.
Comment 4 Dries Michiels freebsd_committer freebsd_triage 2024-11-19 17:01:01 UTC
As you can see its not always so clear, but the most important is that we have had a good think about it. In the end it is also not set in stone, the category is easily adjustable. If you say that its wrapping a functionality which is already in www, we can go ahead and keep this at www.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-11-19 20:36:03 UTC
A commit in branch main references this bug:

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

commit e8d84866f041e4afd2cfc8513bd2ad145dc7fc54
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-19 19:48:36 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-19 20:33:26 +0000

    www/py-pydrive2: add new port

    PyDrive2 is a wrapper library of google-api-python-client.

    PR:     282847

 www/Makefile                    |  1 +
 www/py-pydrive2/Makefile (new)  | 58 +++++++++++++++++++++++++++++++++++++++++
 www/py-pydrive2/distinfo (new)  |  3 +++
 www/py-pydrive2/pkg-descr (new) |  2 ++
 4 files changed, 64 insertions(+)
Comment 6 Dries Michiels freebsd_committer freebsd_triage 2024-11-19 20:52:12 UTC
Committed!