git: ac9a95b17156 - main - math/py-iminuit: Update 2.21.3 → 2.22.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 23 Jun 2023 08:27:17 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac9a95b17156a06391552d1012ccd8b28651e776

commit ac9a95b17156a06391552d1012ccd8b28651e776
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-23 08:26:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-23 08:27:09 +0000

    math/py-iminuit: Update 2.21.3 → 2.22.0
    
    Reported by:    portscout
---
 math/py-iminuit/Makefile | 25 +++++++++++++++++++++----
 math/py-iminuit/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/math/py-iminuit/Makefile b/math/py-iminuit/Makefile
index e1bf1c501fa7..27d5d9c99489 100644
--- a/math/py-iminuit/Makefile
+++ b/math/py-iminuit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	iminuit
-DISTVERSION=	2.21.3
+DISTVERSION=	2.22.0
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,29 @@ WWW=		https://iminuit.readthedocs.io/en/stable/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	cmake:devel/cmake-core
+BUILD_DEPENDS=	cmake:devel/cmake-core \
+		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR}
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pathspec>0:devel/py-pathspec@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} # devel/py-scikit-build-core's optional dependencies are for some reason required here
 RUN_DEPENDS=	${PYNUMPY}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boost-histogram>0:misc/py-boost-histogram@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jacobi>0:math/py-jacobi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numba-stats>0:math/py-numba-stats@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}resample>0:math/py-resample@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}unicodeitplus>0:textproc/py-unicodeitplus@${PY_FLAVOR}
 
 USES=		compiler:c++14-lang python:3.9+
-USE_PYTHON=	distutils autoplist pytest # 1 test fails, see https://github.com/scikit-hep/iminuit/issues/901
+USE_PYTHON=	pep517 cython_test autoplist pytest # 7 tests fail, see https://github.com/scikit-hep/iminuit/issues/908
 
-TEST_ENV=      ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 .include <bsd.port.mk>
diff --git a/math/py-iminuit/distinfo b/math/py-iminuit/distinfo
index 01f975fb3134..7a7d413414ac 100644
--- a/math/py-iminuit/distinfo
+++ b/math/py-iminuit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687195457
-SHA256 (iminuit-2.21.3.tar.gz) = fb313f0cc27e221b9b221bcd779b3a668fb4c77b0f90abfd5336833ecbdac016
-SIZE (iminuit-2.21.3.tar.gz) = 437827
+TIMESTAMP = 1687498540
+SHA256 (iminuit-2.22.0.tar.gz) = e0ccc37bad8bc1bd3b9d3fa07d28d4c0407e25a888faa9b559be2d9afbd2d97c
+SIZE (iminuit-2.22.0.tar.gz) = 2324676