Date: Sun, 3 Nov 2024 04:08:41 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: 7608d0fcde85 - main - devel/nanobind: update 2.2.0 =?utf-8?Q?=E2=86=92?= 2.2.0-8 Message-ID: <202411030408.4A348f5K080948@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=7608d0fcde85c81d803528da6bfecdda87cae707 commit 7608d0fcde85c81d803528da6bfecdda87cae707 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-11-03 03:51:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-11-03 04:08:36 +0000 devel/nanobind: update 2.2.0 → 2.2.0-8 --- devel/nanobind/Makefile | 13 ++++++++++++- devel/nanobind/distinfo | 8 +++++--- devel/nanobind/pkg-plist | 1 + 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/devel/nanobind/Makefile b/devel/nanobind/Makefile index 1d065ad43448..3b0602f7a0d4 100644 --- a/devel/nanobind/Makefile +++ b/devel/nanobind/Makefile @@ -1,6 +1,7 @@ PORTNAME= nanobind DISTVERSIONPREFIX= v -DISTVERSION= 2.2.0 +DISTVERSION= 2.2.0-8 +DISTVERSIONSUFFIX= -gfd22b8c CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -18,6 +19,11 @@ USES= localbase python USE_GITHUB= yes GH_ACCOUNT= wjakob +CMAKE_ARGS= -DNB_INSTALL_DATADIR="" +CMAKE_ON= NB_CREATE_INSTALL_RULES +CMAKE_OFF= NB_TEST_FREE_THREADED \ + NB_TEST \ + CMAKE_SKIP_INSTALL_RULES CXXFLAGS+= -I${WRKSRC}/include \ -I${PYTHON_INCLUDEDIR} @@ -36,6 +42,9 @@ do-install: cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include # install shared library ${INSTALL_LIB} ${WRKSRC}/src/libnanobind.so ${STAGEDIR}${PREFIX}/lib + # install cmake script + ${MKDIR} ${STAGEDIR}${PREFIX}/cmake + ${INSTALL_DATA} ${WRKSRC}/cmake/nanobind-config.cmake ${STAGEDIR}${PREFIX}/cmake do-test: # test fails because it doesn't create the PyInit_xx function @cd ${WRKSRC} && \ @@ -45,4 +54,6 @@ do-test: # test fails because it doesn't create the PyInit_xx function ${CP} ${FILESDIR}/test.py . && \ ${PYTHON_CMD} ${FILESDIR}/test.py +# cmake doesn't generate install target, see https://github.com/wjakob/nanobind/issues/775 + .include <bsd.port.mk> diff --git a/devel/nanobind/distinfo b/devel/nanobind/distinfo index 738bcdae1111..122db945f277 100644 --- a/devel/nanobind/distinfo +++ b/devel/nanobind/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1728016125 -SHA256 (wjakob-nanobind-v2.2.0_GH0.tar.gz) = bfbfc7e5759f1669e4ddb48752b1ddc5647d1430e94614d6f8626df1d508e65a -SIZE (wjakob-nanobind-v2.2.0_GH0.tar.gz) = 881024 +TIMESTAMP = 1730603669 +SHA256 (wjakob-nanobind-v2.2.0-8-gfd22b8c_GH0.tar.gz) = bc4b9cc41c9d7d34685b80652fe2338474b2896473960621d0d2a86cd9cf8581 +SIZE (wjakob-nanobind-v2.2.0-8-gfd22b8c_GH0.tar.gz) = 881705 +SHA256 (Tessil-robin-map-188c455_GH0.tar.gz) = c3f05ed8933a1f9aa57295c8ad17bd44756cf5cf030a95325c61aa862fa19680 +SIZE (Tessil-robin-map-188c455_GH0.tar.gz) = 70577 diff --git a/devel/nanobind/pkg-plist b/devel/nanobind/pkg-plist index 4e8fca35917e..15d6e740deda 100644 --- a/devel/nanobind/pkg-plist +++ b/devel/nanobind/pkg-plist @@ -1,3 +1,4 @@ +cmake/nanobind-config.cmake include/nanobind/eigen/dense.h include/nanobind/eigen/sparse.h include/nanobind/eval.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411030408.4A348f5K080948>