Date: Sun, 11 Aug 2024 16:54:44 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: 8825ebafce92 - main - devel/py-nanobind: update 2.0.0 =?utf-8?Q?=E2=86=92?= 2.1.0 Message-ID: <202408111654.47BGsiov007027@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=8825ebafce92bb719b3d05a80dfecbd90f72953d commit 8825ebafce92bb719b3d05a80dfecbd90f72953d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-08-11 16:52:22 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-11 16:54:42 +0000 devel/py-nanobind: update 2.0.0 → 2.1.0 Reported by: portscout --- devel/py-nanobind/Makefile | 27 ++++++++++++++------------- devel/py-nanobind/distinfo | 6 +++--- devel/py-nanobind/files/patch-pyproject.toml | 9 --------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/devel/py-nanobind/Makefile b/devel/py-nanobind/Makefile index 40266f0f07f6..58849c461a80 100644 --- a/devel/py-nanobind/Makefile +++ b/devel/py-nanobind/Makefile @@ -1,8 +1,8 @@ PORTNAME= nanobind DISTVERSIONPREFIX= v -DISTVERSION= 2.0.0 +DISTVERSION= 2.1.0 CATEGORIES= devel python -MASTER_SITES= PYPI +#MASTER_SITES= PYPI # no tarball PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org @@ -12,26 +12,27 @@ WWW= https://github.com/wjakob/nanobind LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ + cmake:devel/cmake-core +TEST_DEPENDS= cmake:devel/cmake-core -USES= cmake:insource,testing python -USE_PYTHON= pep517 autoplist +USES= python +USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= wjakob GH_TUPLE= Tessil:robin-map:188c455:robin_map/ext/robin_map -CMAKE_OFF= NB_TEST -CMAKE_TESTING_ON= NB_TEST -CMAKE_TESTING_TARGET= +TEST_WRKSRC= ${WRKSRC}/tests +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes -post-test: # run-tests - @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest . +pre-test: # build test extensions + @cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} cmake . && \ + ${SETENV} ${MAKE_ENV} ${MAKE} -j${MAKE_JOBS_NUMBER} .include <bsd.port.mk> diff --git a/devel/py-nanobind/distinfo b/devel/py-nanobind/distinfo index b2b1ea393184..68f6a68dfd47 100644 --- a/devel/py-nanobind/distinfo +++ b/devel/py-nanobind/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1716567471 -SHA256 (wjakob-nanobind-v2.0.0_GH0.tar.gz) = 2e70727484edb7a8645d26f6a9f67352a668657c34de7a603bf9c68e5cbf8ff9 -SIZE (wjakob-nanobind-v2.0.0_GH0.tar.gz) = 842956 +TIMESTAMP = 1723358895 +SHA256 (wjakob-nanobind-v2.1.0_GH0.tar.gz) = c37c53c60ada5fe1c956e24bd4b83af669a2309bf952bd251f36a7d2fa3bacf0 +SIZE (wjakob-nanobind-v2.1.0_GH0.tar.gz) = 850714 SHA256 (Tessil-robin-map-188c455_GH0.tar.gz) = c3f05ed8933a1f9aa57295c8ad17bd44756cf5cf030a95325c61aa862fa19680 SIZE (Tessil-robin-map-188c455_GH0.tar.gz) = 70577 diff --git a/devel/py-nanobind/files/patch-pyproject.toml b/devel/py-nanobind/files/patch-pyproject.toml deleted file mode 100644 index 40b6b2540d23..000000000000 --- a/devel/py-nanobind/files/patch-pyproject.toml +++ /dev/null @@ -1,9 +0,0 @@ ---- pyproject.toml.orig 2024-05-23 14:30:00 UTC -+++ pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=42", "wheel", "scikit-build", "cmake>=3.17", "ninja", "typing_extensions"] -+requires = ["setuptools>=42", "wheel", "scikit-build", "typing_extensions"] - build-backend = "setuptools.build_meta" - -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408111654.47BGsiov007027>