Created attachment 245727 [details] new port
testbuilds@work
portlint -AC shows these two warnings: WARN: Makefile: use of DISTFILES with single file discouraged. distribution filename should be set by DISTNAME and EXTRACT_SUFX. and WARN: Makefile: do not use DISTFILES and DISTNAME to control WRKSRC. how about "WRKSRC=${WRKDIR}/dbt_extractor-${PORTVERSION}"? I have tried to find a way to remove those, but failed. Any pointers on how to build the port without those is appreciated.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=58a7baab60ed793e6c95a819f95b5a989ebf574d commit 58a7baab60ed793e6c95a819f95b5a989ebf574d Author: Pat Maddox <pat@patmaddox.com> AuthorDate: 2023-10-21 17:34:53 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2023-10-21 17:35:47 +0000 devel/py-dbt-extractor: new port A tool that processes the most common jinja value templates in dbt model files. The tool depends on tree-sitter and the tree-sitter-jinja2 library. The current strategy is for this processor to be 100% certain when it can accurately extract values from a given model file. Anything less than 100% certainty returns an exception so that the model can be rendered with python Jinja instead. PR: 274578 Author: Pat Maddox <pat@patmaddox.com> devel/Makefile | 1 + devel/py-dbt-extractor/Makefile (new) | 35 ++++++++ devel/py-dbt-extractor/Makefile.crates (new) | 57 +++++++++++++ devel/py-dbt-extractor/distinfo (new) | 117 +++++++++++++++++++++++++++ devel/py-dbt-extractor/pkg-descr (new) | 7 ++ 5 files changed, 217 insertions(+)
Committed, thanks!