Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2024 08:05:11 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: c8309bbeec62 - main - misc/py-boost-histogram: update 1.4.1 =?utf-8?Q?=E2=86=92?= 1.5.0
Message-ID:  <202408250805.47P85Bhx079893@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=c8309bbeec62c8e4200cc943445a95e0c5c4979e

commit c8309bbeec62c8e4200cc943445a95e0c5c4979e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-25 08:03:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-25 08:04:54 +0000

    misc/py-boost-histogram: update 1.4.1 → 1.5.0
    
    Reported by:    portscout
---
 misc/py-boost-histogram/Makefile                   | 12 +++++++++---
 misc/py-boost-histogram/distinfo                   |  6 +++---
 misc/py-boost-histogram/files/patch-pyproject.toml | 18 ++++++++++++++++++
 3 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/misc/py-boost-histogram/Makefile b/misc/py-boost-histogram/Makefile
index 3c46b4f33dc4..3e9f81ef89f7 100644
--- a/misc/py-boost-histogram/Makefile
+++ b/misc/py-boost-histogram/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	boost-histogram
-DISTVERSION=	1.4.1
+DISTVERSION=	1.5.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,19 @@ WWW=		https://github.com/scikit-hep/boost-histogram
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${LOCALBASE}/include/boost/config.hpp:devel/boost-libs
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/config.hpp:devel/boost-libs \
+		cmake:devel/cmake-core \
+		${PYTHON_PKGNAMEPREFIX}pybind11>=2.13.3:devel/py-pybind11@${PY_FLAVOR} \
+		${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hypothesis>=6.0:devel/py-hypothesis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR}
 
 USES=		compiler:c++14-lang python
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
diff --git a/misc/py-boost-histogram/distinfo b/misc/py-boost-histogram/distinfo
index 9198c2e8ca27..9e7d74db318c 100644
--- a/misc/py-boost-histogram/distinfo
+++ b/misc/py-boost-histogram/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713585565
-SHA256 (boost_histogram-1.4.1.tar.gz) = 97146f735f467d506976a047f3f237ce59840a952fd231f5f431f897fb006cdd
-SIZE (boost_histogram-1.4.1.tar.gz) = 1337723
+TIMESTAMP = 1724571214
+SHA256 (boost_histogram-1.5.0.tar.gz) = 0623f010e6c52e5d018767723959686090db07fc30f0d1d8475b5d663c5ddb2c
+SIZE (boost_histogram-1.5.0.tar.gz) = 1181192
diff --git a/misc/py-boost-histogram/files/patch-pyproject.toml b/misc/py-boost-histogram/files/patch-pyproject.toml
new file mode 100644
index 000000000000..13bd5254e94d
--- /dev/null
+++ b/misc/py-boost-histogram/files/patch-pyproject.toml
@@ -0,0 +1,18 @@
+--- pyproject.toml.orig	2024-08-25 07:41:54 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["scikit-build-core>=0.10", "pybind11>=2.13.3"]
++requires = ["scikit-build-core", "pybind11>=2.13.3"]
+ build-backend = "scikit_build_core.build"
+ 
+ [project]
+@@ -91,8 +91,6 @@ Homepage = "https://github.com/scikit-hep/boost-histog
+ 
+ 
+ [tool.scikit-build]
+-minimum-version = "build-system.requires"
+-cmake.version = "CMakeLists.txt"
+ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
+ sdist.exclude = [
+   "extern/**/*.py",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408250805.47P85Bhx079893>