Bug 280925 - [NEW-PORT] misc/py-jsonargparse: library for creating command line interfaces
Summary: [NEW-PORT] misc/py-jsonargparse: library for creating command line interfaces
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: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-19 14:27 UTC by Xavier Beaudouin
Modified: 2024-08-20 15:29 UTC (History)
2 users (show)

See Also:


Attachments
git format-patch for py-jsonargparse (2.61 KB, patch)
2024-08-19 14:27 UTC, Xavier Beaudouin
no flags Details | Diff
git format-patch for py-jsonargparse (2.62 KB, patch)
2024-08-20 15:14 UTC, Xavier Beaudouin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Beaudouin 2024-08-19 14:27:50 UTC
Created attachment 252917 [details]
git format-patch for py-jsonargparse

This library permit to create command line interfaces.

This port has been portlinted / portfmt.

It has successfully been built on poudriere on FreeBSD (amd64) 13.3 / 14.0 and 14.1.

Kind regards
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-08-19 14:33:04 UTC
Looks pretty good to me.

USE_PYTHON=allflavors[1] is probably not necessary but that's something I can fix before the commit. Thanks!

[1]: https://cgit.freebsd.org/ports/tree/Mk/Uses/python.mk#n105
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-08-19 14:36:34 UTC
Also, category devel is probably a better place for this port. Could you move it?
Comment 3 Xavier Beaudouin 2024-08-20 15:14:20 UTC
Created attachment 252948 [details]
git format-patch for py-jsonargparse

git format-patch for the port migrated from misc/ to devel/ (and removed allflavors).
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-08-20 15:20:45 UTC
A commit in branch main references this bug:

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

commit be61a1fb9dfc739b7700b3f2dd95eb257ea6e0d6
Author:     Xavier Beaudouin <kiwi@oav.net>
AuthorDate: 2024-08-20 15:10:25 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-08-20 15:19:43 +0000

    devel/py-jsonargparse: Library for creating CLIs

    Library for creating command-line interfaces (CLIs) and making Python
    apps easily configurable. It is a well-maintained project with frequent
    releases, adhering to high standards of development: semantic versioning,
    deprecation periods, changelog, automated testing, and full test coverage.

    https://github.com/omni-us/jsonargparse

    PR:             280925
    Sponsored by:   Bell Tower Integration
    Sponsored by:   Klara, Inc.

 devel/Makefile                        |  1 +
 devel/py-jsonargparse/Makefile (new)  | 25 +++++++++++++++++++++++++
 devel/py-jsonargparse/distinfo (new)  |  3 +++
 devel/py-jsonargparse/pkg-descr (new) |  4 ++++
 4 files changed, 33 insertions(+)