Bug 264373 - [NEW PORT] devel/py-sarif-om: Python classes for the SARIF 2.1.0 object model
Summary: [NEW PORT] devel/py-sarif-om: Python classes for the SARIF 2.1.0 object model
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: Nuno Teixeira
URL: https://pypi.org/project/sarif-om/
Keywords:
Depends on:
Blocks: 264374
  Show dependency treegraph
 
Reported: 2022-05-31 17:36 UTC by Norikatsu Shigemura
Modified: 2022-06-09 22:55 UTC (History)
1 user (show)

See Also:


Attachments
A new port for py-sarif-om (2.15 KB, patch)
2022-05-31 17:36 UTC, Norikatsu Shigemura
no flags Details | Diff
complete diff - new port for py-sarif-om (2.54 KB, patch)
2022-06-08 18:24 UTC, Nuno Teixeira
no flags Details | Diff
sarif-om v2 (2.53 KB, patch)
2022-06-09 14:34 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norikatsu Shigemura 2022-05-31 17:36:11 UTC
Created attachment 234355 [details]
A new port for py-sarif-om

Add a new port, py-sarif-om is python classes for the SARIF 2.1.0 object model.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2022-06-08 18:24:09 UTC
Created attachment 234559 [details]
complete diff - new port for py-sarif-om

please use this diff because it includes full path and devel/Makefile category
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2022-06-08 18:26:35 UTC
Hello,

It fails to configure.

Could you take a look at logs?

https://people.freebsd.org/~eduardo/logs/py38-sarif-om-1.0.4/

Please do changes to diff that I sent so I can apply easely in my tree.

Cheers
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2022-06-09 14:34:38 UTC
Created attachment 234583 [details]
sarif-om v2

- use CHEESESHOP magic macro MASTERSITES
- readjust files/patch
- use USES:..dos2unix since src files are in dos format

TODO:

- need better handling of disfile name if possible:
DISTNAME=jschema_to_python-${DISTVERSION}

BUILD: OK
BUILD LOG: https://people.freebsd.org/~eduardo/logs/py38-sarif-om-1.0.4/
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-06-09 22:52:06 UTC
A commit in branch main references this bug:

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

commit 69648f91bfa37d99c458174fcf9b63245cdac9f9
Author:     Norikatsu Shigemura <nork@ninth-nine.com>
AuthorDate: 2022-06-09 22:47:34 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-06-09 22:51:05 +0000

    devel/py-sarif-om: New Port: Python classes for the SARIF 2.1.0 object model

    Add a new port, py-sarif-om is python classes for the SARIF 2.1.0
    object model.

     - Author becomes maintainer

    PR:             264373

 devel/Makefile                                |  1 +
 devel/py-sarif-om/Makefile (new)              | 23 +++++++++++++++++++++++
 devel/py-sarif-om/distinfo (new)              |  3 +++
 devel/py-sarif-om/files/patch-setup.cfg (new) | 16 ++++++++++++++++
 devel/py-sarif-om/pkg-descr (new)             |  3 +++
 5 files changed, 46 insertions(+)
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2022-06-09 22:55:05 UTC
Committed, thank you!