Created attachment 260228 [details] Patch to add Python lib4sbom to ports Lib4SBOM is a library to parse and generate Software Bill of Materials (SBOMs). It supports SBOMs created in both SPDX and CycloneDX formats.
I noticed that I made mistake in my patch. Is there way to update it?
Created attachment 260257 [details] Patch to add Python lib4sbom to ports
Created attachment 261616 [details] Patch to add Python lib4sbom to ports Lib4SBOM is a library to parse and generate Software Bill of Materials (SBOMs). It supports SBOMs created in both SPDX and CycloneDX formats. Tested with Poudriere (14.2 and 14.3) and Portclippy to be compliant
Thanks for a new port submission. A couple of comments: - The contents of requirements.txt do not match the list of RUN_DEPENDS If there is no specific reason, the two should be the same including version range specifications. - The port installs files into ${PREFIX}/lib/python3.11/site-packages/{examples,test,tools} The names of those directories are so generic and could be a potential source of name collisions. Are the files in those directories really necessary for the python package to operate? I doubt "test" is necessary. "examples" might be better installed into ${PREFIX}/share/examples/py311-lib4sbom if needed. I'm not sure about "tools".
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5444da848e3977e12c8da43895bd03325d2839f commit b5444da848e3977e12c8da43895bd03325d2839f Author: Tuukka Pasanen <tuukka.pasanen@ilmi.fi> AuthorDate: 2025-05-05 19:22:14 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2025-07-16 14:53:24 +0000 security/py-lib4sbom: New port Lib4SBOM is a library to parse and generate Software Bill of Materials (SBOMs). It supports SBOMs created in both SPDX and CycloneDX formats. WWW: https://github.com/anthonyharrison/lib4sbom PR: 286644 Sponsored by: The FreeBSD Foundation security/Makefile | 1 + security/py-lib4sbom/Makefile (new) | 86 ++++++++++++++++++++++++++++++++++++ security/py-lib4sbom/distinfo (new) | 3 ++ security/py-lib4sbom/pkg-descr (new) | 17 +++++++ 4 files changed, 107 insertions(+)
Committed with changes.