From nobody Mon Oct 23 02:56:48 2023 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 4SDKbN4g10z4xRZ9; Mon, 23 Oct 2023 02:56:48 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDKbN3zzzz4JRP; Mon, 23 Oct 2023 02:56:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698029808; 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=bOttzmVXZHogq0uVOHJbSqS8p0DNXNVYyM0mBPc9KNc=; b=oEfiGNS2S6z81zYA/74KjOCpe9uEtye3yixFwXl+jbGC2UTzK68XgjxrwgI+MIpgwL0C7z WCr4p5wLi37tWE4E/fkmq0w25We1UCzyGvPTUyVfzLl9WTiWlfQG9TeyFalVJtBWJ/imae wALoeAhHNq1NwvsUC8xoGP+Q7pQUJ6rxqUB4fzv4UlcdfQnAxhLsl5YjTSipYPmlbixH6J ljR6D++Ed11LYAlJkh1HIK/in1U7TgQ++fmfIytgRrjg2fG8PyGaYapL24e6AXU75hHRKS RjOYnUMUcbc7sQP/3rrfPsWv9ZlUWdOJSSLWNo8yNoUg6zWV9XIN4arOYz3Lmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698029808; a=rsa-sha256; cv=none; b=Kf8IFYpYnTp5hmSX1ZIGr0M7zbU2PyE3FlcG0Jtw0sa6av9yIfAfiHBND6joGRw309DYSD CUUdkZN73lWR1EFgRq3g6GLdLqIiKvoW4fJfVs6ENdK4aN0iw5u/B2k30QZG0zrjnPNYjt i20ykkUiQG3Xdvcp+U4k7QtBG5Sc78XIQWkPBdmICJR/XjCRtLz0s8i84ueBzG61Mg61/s xp3sXqJTPjqhIsTLWSrc4UQlKZvNsFkRja8AawVQhljKEwVX2YbPunOCxoNIJIZ8o6PgDK Mdz3ntclIIra14GFdr0jNYcONCzYvYSU2SYw+8IqzwBghLsV+2fQYYsDIFHUrw== 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=1698029808; 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=bOttzmVXZHogq0uVOHJbSqS8p0DNXNVYyM0mBPc9KNc=; b=nPTs5da6aapcJ8bMO0Jx/eHPsyY0SlDXcwC+1jKY0B4n1mgxiBL+ncjJBVWVBNyXEDZhFs uXLOFDUGOxSee8FZjkOziHE6WN/T4qbfFlhHD9PpmZ56z+BCcHUzJJfVfaZAYsGiNWWzAu qiCDi9I1Y5cjjoKTuMQ6SuPF3gmyfU5UvcA0ckcvuy81K1DgGIMwdDucrT/15GH05F1CGB QTlJ+5sB2cP1QYn5JfcUs8bwh19Bi7hwYkuNBcOspHvXEtoj+ZDMSTlypw9N41uUyE6vfb rZebswIzr0urEG9ffl/MY+X90Bd9cMfl2Bt5OjKNa+R6i2CPj2Oi0LUh58Tksw== 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 4SDKbN31ncz7mt; Mon, 23 Oct 2023 02:56:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39N2umwE013768; Mon, 23 Oct 2023 02:56:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39N2umHj013766; Mon, 23 Oct 2023 02:56:48 GMT (envelope-from git) Date: Mon, 23 Oct 2023 02:56:48 GMT Message-Id: <202310230256.39N2umHj013766@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 210e12463231 - main - archivers/py-laszip: New port: Bindings for LASzip made with pybind11 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 210e12463231af19cec8008dc2043a9db4338ea9 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=210e12463231af19cec8008dc2043a9db4338ea9 commit 210e12463231af19cec8008dc2043a9db4338ea9 Author: Yuri Victorovich AuthorDate: 2023-10-23 02:42:45 +0000 Commit: Yuri Victorovich CommitDate: 2023-10-23 02:56:45 +0000 archivers/py-laszip: New port: Bindings for LASzip made with pybind11 --- archivers/Makefile | 1 + archivers/py-laszip/Makefile | 28 ++++++++++++++++++++++++++ archivers/py-laszip/distinfo | 3 +++ archivers/py-laszip/files/patch-pyproject.toml | 11 ++++++++++ archivers/py-laszip/pkg-descr | 3 +++ 5 files changed, 46 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index aa9aa1032174..934ec6a3fe58 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -192,6 +192,7 @@ SUBDIR += py-bz2file SUBDIR += py-compressed-rtf SUBDIR += py-cramjam + SUBDIR += py-laszip SUBDIR += py-libarchive-c SUBDIR += py-lz4 SUBDIR += py-lzma diff --git a/archivers/py-laszip/Makefile b/archivers/py-laszip/Makefile new file mode 100644 index 000000000000..1e8c8677da72 --- /dev/null +++ b/archivers/py-laszip/Makefile @@ -0,0 +1,28 @@ +PORTNAME= laszip +DISTVERSION= 0.2.3 +CATEGORIES= archivers +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Bindings for LASzip made with pybind11 +WWW= https://laspy.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/License.txt + +BUILD_DEPENDS= cmake:devel/cmake-core \ + ninja:devel/ninja \ + ${PYTHON_PKGNAMEPREFIX}pybind11>=2.10:devel/py-pybind11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0.7.1:devel/py-pyproject-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.1.5:devel/py-scikit-build-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= liblaszip.so:archivers/laszip + +USES= python +USE_PYTHON= pep517 autoplist + +USE_GITHUB= yes +GH_ACCOUNT= tmontaigu +GH_PROJECT= laszip-python + +.include diff --git a/archivers/py-laszip/distinfo b/archivers/py-laszip/distinfo new file mode 100644 index 000000000000..8f061f32d859 --- /dev/null +++ b/archivers/py-laszip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698026487 +SHA256 (tmontaigu-laszip-python-0.2.3_GH0.tar.gz) = 31572639a928fabf7d60a340970c6ae256ae9382e0420e938d6ab237553ac57b +SIZE (tmontaigu-laszip-python-0.2.3_GH0.tar.gz) = 11256 diff --git a/archivers/py-laszip/files/patch-pyproject.toml b/archivers/py-laszip/files/patch-pyproject.toml new file mode 100644 index 000000000000..6067d1332a33 --- /dev/null +++ b/archivers/py-laszip/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-10-23 02:32:14 UTC ++++ pyproject.toml +@@ -1,8 +1,6 @@ + [build-system] + requires = [ + "scikit-build-core>=0.1.5", +- "cmake>=3.20", +- "ninja", + "pybind11>=2.10", + ] + build-backend = "scikit_build_core.build" diff --git a/archivers/py-laszip/pkg-descr b/archivers/py-laszip/pkg-descr new file mode 100644 index 000000000000..9acda66665a6 --- /dev/null +++ b/archivers/py-laszip/pkg-descr @@ -0,0 +1,3 @@ +laszip is a Python bindings for LASzip. + +The main purpose is for integration within laspy.