Date: Tue, 4 Oct 2022 07:49:57 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b15f519bfe97 - main - devel/shroud: New port: Fortran and Python wrapper generator for C and C++ libraries Message-ID: <202210040749.2947nviI001534@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b15f519bfe97067add9783e7f7d3109ec249502e commit b15f519bfe97067add9783e7f7d3109ec249502e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-10-04 07:49:34 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-04 07:49:34 +0000 devel/shroud: New port: Fortran and Python wrapper generator for C and C++ libraries --- devel/Makefile | 1 + devel/shroud/Makefile | 24 ++++++++++++++++++++++++ devel/shroud/distinfo | 3 +++ devel/shroud/pkg-descr | 8 ++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index eb41d97fe61e..a58fd5e91fe6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7192,6 +7192,7 @@ SUBDIR += shfmt SUBDIR += shiboken2 SUBDIR += shmap + SUBDIR += shroud SUBDIR += shtk SUBDIR += shtool SUBDIR += shunit2 diff --git a/devel/shroud/Makefile b/devel/shroud/Makefile new file mode 100644 index 000000000000..f95c1a69cf75 --- /dev/null +++ b/devel/shroud/Makefile @@ -0,0 +1,24 @@ +PORTNAME= shroud +DISTVERSION= 0.12.2.20220929 +CATEGORIES= devel +PKGNAMESUFFIX= -wrapper-generator + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fortran and Python wrapper generator for C and C++ libraries +WWW= https://github.com/LLNL/shroud + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist noflavors + +USE_GITHUB= yes +GH_ACCOUNT= LLNL +GH_TAGNAME= f5a1aec + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/shroud/distinfo b/devel/shroud/distinfo new file mode 100644 index 000000000000..bd323a61d5c7 --- /dev/null +++ b/devel/shroud/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664869071 +SHA256 (LLNL-shroud-0.12.2.20220929-f5a1aec_GH0.tar.gz) = 79b7048ba58d71180a0cc6c0423a52e2265f096532be97c48b562356d6152c26 +SIZE (LLNL-shroud-0.12.2.20220929-f5a1aec_GH0.tar.gz) = 2822615 diff --git a/devel/shroud/pkg-descr b/devel/shroud/pkg-descr new file mode 100644 index 000000000000..1620a4c570ee --- /dev/null +++ b/devel/shroud/pkg-descr @@ -0,0 +1,8 @@ +Shroud is a tool for creating a Fortran or Python interface to a C or C++ +library. It can also create a C API for a C++ library. + +The user creates a YAML file with the C/C++ declarations to be wrapped along +with some annotations to provide semantic information and code generation +options. Shroud produces a wrapper for the library. The generated code is +highly-readable and intended to be similar to code that would be hand-written to +create the bindings.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210040749.2947nviI001534>