From nobody Thu Aug 29 08:36:04 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WvZPK0stLz5MXqt; Thu, 29 Aug 2024 08:36:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvZPJ6k3gz486K; Thu, 29 Aug 2024 08:36:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724920564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wfsYQRx8UtCtJcvllFPb5s4ZONhTeeOOJHSdqxlZ8L0=; b=qnzaJnOrUHqmcxxDHZ6/pU1csAq/xkC3MLcufk//PzwTHS4uJA/yKCH+NUhOUnKRZpvOcF fdAi57boSb7mx8l0noTnULCQ/L9TwXU4ab2yeSoEJSBL75XhITyu1cZOof3kQIAF+GLXDu rHB/0crOZ7BRub7Zi11KehtrF5Aj0dxn/qg5jnOUq/wY8dB7MsrUlFN0ZGS3h/v7UEVaoO YWSEIBmGBUdC7157SaKTf8cqxEja1ALEL73oiLrSTVh+nrN2LkHUmXkk/N931VNm2v99Lj sQHlbt1CB49yBUEfy9bEsRJdtj/K0Cw3rAj/ruYmLpaZ8e7CPK607Qri0UivkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724920564; a=rsa-sha256; cv=none; b=FoFz50sNzJhnlSFIRbazNUN6bFHcdCP8pOcvulQL47py+ZOtnIq9hVbU97QD7Ni18vh7KH R69pKsIK0jNNPoTEnaYORBqbg2fUZd43fLreaBQoRgmHLwFIVu2RjwtBUbTuHX5NLGyN0R P/kgGBbvcTRoSK2hAm/YVOb86rN3fcD7LuhpessC304qhXhtsPe5TFn4muPbId9/6gVWg/ 9nr1iog2qrUuE9whu2O3cVMpkGVh+XutnnttCTprOkJSfjsLnoxX2t1RmZVQUHsLfdmCtm MsMOMKzv3ncqrRhqs4LhyTXxPaLd9/nZ3biTNULd5xj9/zhGDWHuhCij9T8IFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724920564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wfsYQRx8UtCtJcvllFPb5s4ZONhTeeOOJHSdqxlZ8L0=; b=sFOSJr3lvQdzOz46ciNYTgl10P/snVAq0Wpbjl9oFY1waBDtEI4TnF8ZbLtt6UCy0CF5Sf sKVjdERZdLiUW6nnt3l7NMh/asXyr2X4goYUMabKe0MSr0rwmlT15SCkhxnenfQ4HM+MZ/ lrbAp845bJHThrLdsDFbJNIuILAHNuRHSH1gm5UiyXqgGm2jeibY17tn/9GMeWNfNC1722 LzGpRwxwvUFHVrUbY7E+9bYOKwE6+kpFOE2LYLHDBqDPSM3pKLkgLPt3PGlWZVBwgdt/1O IrI5WZhIOO+tRHAqq9MriHsNs7pI1TJTzGWY06FPilhGqhkR8aPJiWiWIzL8Jg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WvZPJ6LVDz19BW; Thu, 29 Aug 2024 08:36:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47T8a4c9018378; Thu, 29 Aug 2024 08:36:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47T8a4HT018375; Thu, 29 Aug 2024 08:36:04 GMT (envelope-from git) Date: Thu, 29 Aug 2024 08:36:04 GMT Message-Id: <202408290836.47T8a4HT018375@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Lo=C3=AFc?= Bartoletti Subject: git: 889c6b737f7e - main - math/py-pdal: Update to 3.4.5 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lbartoletti X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 889c6b737f7ee0c151ba4035311f7a3b80bfaf07 Auto-Submitted: auto-generated The branch main has been updated by lbartoletti: URL: https://cgit.FreeBSD.org/ports/commit/?id=889c6b737f7ee0c151ba4035311f7a3b80bfaf07 commit 889c6b737f7ee0c151ba4035311f7a3b80bfaf07 Author: Loïc Bartoletti AuthorDate: 2024-08-29 07:17:11 +0000 Commit: Loïc Bartoletti CommitDate: 2024-08-29 08:35:55 +0000 math/py-pdal: Update to 3.4.5 --- math/py-pdal/Makefile | 11 ++++++----- math/py-pdal/distinfo | 6 +++--- math/py-pdal/files/patch-2to3 | 27 --------------------------- math/py-pdal/files/patch-pyproject.toml | 11 +++++++++++ 4 files changed, 20 insertions(+), 35 deletions(-) diff --git a/math/py-pdal/Makefile b/math/py-pdal/Makefile index be82b31412ca..3386fc2d468e 100644 --- a/math/py-pdal/Makefile +++ b/math/py-pdal/Makefile @@ -1,10 +1,9 @@ PORTNAME= pdal -DISTVERSION= 3.0.2 -PORTREVISION= 3 +DISTVERSION= 3.4.5 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME:tu}-${DISTVERSION} +DISTNAME= ${PORTNAME}-${DISTVERSION} MAINTAINER= lbartoletti@FreeBSD.org COMMENT= PDAL Python bindings @@ -14,7 +13,9 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \ - ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.2.0:devel/py-scikit-build-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ + pybind11>0:devel/pybind11 \ cmake:devel/cmake-core LIB_DEPENDS= libpdalcpp.so:math/pdal RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ @@ -22,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= compiler:c++11-lang ninja:build python -USE_PYTHON= autoplist cython distutils +USE_PYTHON= autoplist cython pep517 post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/libpdalpython*.so diff --git a/math/py-pdal/distinfo b/math/py-pdal/distinfo index bb5758687344..4dcf579cd412 100644 --- a/math/py-pdal/distinfo +++ b/math/py-pdal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645816636 -SHA256 (PDAL-3.0.2.tar.gz) = fbad878ccab49833a8c7fc6982f8cd98dc9421cc592a1cf762113655806bac15 -SIZE (PDAL-3.0.2.tar.gz) = 82845 +TIMESTAMP = 1724913480 +SHA256 (pdal-3.4.5.tar.gz) = 6e42ec8c368a9d1c14abf0eff13a5b9d28b6de08ef7c2ca2b4900a15186d46f4 +SIZE (pdal-3.4.5.tar.gz) = 89528 diff --git a/math/py-pdal/files/patch-2to3 b/math/py-pdal/files/patch-2to3 deleted file mode 100644 index 055f6a9a3246..000000000000 --- a/math/py-pdal/files/patch-2to3 +++ /dev/null @@ -1,27 +0,0 @@ ---- pdal/pipeline.py.orig 2021-11-24 10:30:42 UTC -+++ pdal/pipeline.py -@@ -1,5 +1,5 @@ --from __future__ import annotations - -+ - import json - import logging - from typing import Any, Container, Dict, Iterator, List, Optional, Sequence, Union, cast -@@ -19,7 +19,7 @@ LogLevelToPDAL = { - logging.INFO: 2, - logging.DEBUG: 8, # pdal::LogLevel::Debug5 - } --LogLevelFromPDAL = {v: k for k, v in LogLevelToPDAL.items()} -+LogLevelFromPDAL = {v: k for k, v in list(LogLevelToPDAL.items())} - - - class Pipeline(libpdalpython.Pipeline): -@@ -106,7 +106,7 @@ class Pipeline(libpdalpython.Pipeline): - if all(isinstance(stage, Reader) for stage in stages): - stages = [*stages, Filter.merge()] - for stage in stages: -- stage2tag[stage] = stage.tag or _generate_tag(stage, stage2tag.values()) -+ stage2tag[stage] = stage.tag or _generate_tag(stage, list(stage2tag.values())) - options = stage.options - options["tag"] = stage2tag[stage] - inputs = _get_input_tags(stage, stage2tag) diff --git a/math/py-pdal/files/patch-pyproject.toml b/math/py-pdal/files/patch-pyproject.toml new file mode 100644 index 000000000000..3920ac230533 --- /dev/null +++ b/math/py-pdal/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-08-29 06:50:13 UTC ++++ pyproject.toml +@@ -48,7 +48,7 @@ changelog = "https://github.com/PDAL/python/blob/main/ + changelog = "https://github.com/PDAL/python/blob/main/README.rst" + + [build-system] +-requires = ["scikit-build-core >= 0.9", "numpy >= 1.22", "pybind11[global]"] ++requires = ["scikit-build-core >= 0.9", "numpy >= 1.22", "pybind11"] + build-backend = "scikit_build_core.build" + +