From nobody Sun Nov 3 13:25:08 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 4XhFhN4wqHz5c6Sl; Sun, 03 Nov 2024 13:25:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhFhN4GBwz4s3l; Sun, 3 Nov 2024 13:25:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730640308; 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=cDThEitna1XQYT/d5e7bcwloJrbSwYxJfMvAfcdXD1k=; b=m8Kczc7NhOPq8gA8A4eFqeqYOT76OXoVDQvO1Zr31LAv32WaAYisChHIVASilgKYYqaHuU CZvYuHblIMvROYW8UBWAF4+a0DoTL12ILzMW7ornJ4n6Wiq0YgBORrYG2tOvCKOMWE07my fwtEUziCO6oxUPaWwt4tylRYmr1UjFSKN75dNfFuQHlB8LBHBnwVuYINbXFqvuxSpi01z3 4Sta/0n/00g4i+7i/Nx+YKTigfsLVwsB21yg5Uoq+4OnxkFX7Ez9/y6GfxXZQPHI23AoTM MfhlcTB13vFzFP0h3iy8oR4YzU2Cj7HoI+ikXhVtSj5kRvJT3mTw0f1QgJlVHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730640308; 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=cDThEitna1XQYT/d5e7bcwloJrbSwYxJfMvAfcdXD1k=; b=DjIS/qjWwMg2ievgYfpazRnAVnKOU/yoBxG5pCBUmbxajn9Tpu5/CpMyr2rCvSoaA7qJFu iCrdrAU35SpU1a4sGnkbB7RLeJiMA8dgq4616ips62ReEbEuELYeh2v8AX2BcuFHfOTnqM qvB2l6gpBikiFjp3Edizx1YDE9fCkW0wx0AVCby2ofaTCSTZygawt0mHHTvt3GJbVcJYGS cZNbPaSXaNazb2LXZuYajMLs875qa3aq1VfUn7L7VFRlZ4YAiAjIYMALr41YQy+Mx0u1KK xM3l/WgG80Q1VVMBikyMW9T34ubg1x6I9gdAFvhPOmkE9iApaiubZPxc1GRDOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730640308; a=rsa-sha256; cv=none; b=Xz2CrYxwBfjr0CqbTRpmbFdWw9CWwOEUa6q6wiDAhTq6g0TaJMCoTRiVs6cJHDpO2U9a5H KSgWOuEMXnC2abwVCtnp8G5e8WkRMk4gOO0PDykXutyQIEQJquUqbHPgLdiU6+HSvrbmma 8hqPJ/aB7QFjvlXEUotIglev4Q+qTPGV8mkCMkmSXNpb8/cyHLW2JKBPeFHu84iMmSwD8S AbkGhTuDQAfJR2m9LZsrQZBRCMVwWtgiqIHk58P5PEbwiqOKGTtwh8K1Co3tOh/8rxalt9 VpbF4oPGXE2F4ScHQ5XDpP+4W6LHN8/vS8Uxz7AYW+8yfPtEljxHW2l2d++m1Q== 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 4XhFhN3mRvzrJh; Sun, 3 Nov 2024 13:25:08 +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 4A3DP80x017635; Sun, 3 Nov 2024 13:25:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3DP8cf017632; Sun, 3 Nov 2024 13:25:08 GMT (envelope-from git) Date: Sun, 3 Nov 2024 13:25:08 GMT Message-Id: <202411031325.4A3DP8cf017632@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5f1575b6a096 - main - archivers/py-blosc: Add py-blosc 1.11.2 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f1575b6a096d8913f8ad699172261eda581d5a1 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f1575b6a096d8913f8ad699172261eda581d5a1 commit 5f1575b6a096d8913f8ad699172261eda581d5a1 Author: Po-Chuan Hsieh AuthorDate: 2024-11-03 13:20:40 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-11-03 13:20:40 +0000 archivers/py-blosc: Add py-blosc 1.11.2 Blosc is a high performance compressor optimized for binary data. It has been designed to transmit data to the processor cache faster than the traditional, non-compressed, direct memory fetch approach via a memcpy() OS call. Blosc works well for compressing numerical arrays that contains data with relatively low entropy, like sparse data, time series, grids with regular-spaced values, etc. python-blosc a Python package that wraps Blosc. --- archivers/Makefile | 1 + archivers/py-blosc/Makefile | 33 +++++++++++++++++++++++++++ archivers/py-blosc/distinfo | 3 +++ archivers/py-blosc/files/patch-pyproject.toml | 6 +++++ archivers/py-blosc/pkg-descr | 9 ++++++++ 5 files changed, 52 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 4043aef3a0a5..755d5fb7dc95 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -184,6 +184,7 @@ SUBDIR += ppunpack SUBDIR += py-acefile SUBDIR += py-bitshuffle + SUBDIR += py-blosc SUBDIR += py-blosc2 SUBDIR += py-borgbackup SUBDIR += py-borgbackup12 diff --git a/archivers/py-blosc/Makefile b/archivers/py-blosc/Makefile new file mode 100644 index 000000000000..b309fe1cc86e --- /dev/null +++ b/archivers/py-blosc/Makefile @@ -0,0 +1,33 @@ +PORTNAME= blosc +PORTVERSION= 1.11.2 +CATEGORIES= archivers python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Blosc data compressor +WWW= https://www.blosc.org/python-blosc/python-blosc.html \ + https://github.com/Blosc/python-blosc + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libblosc.so:archivers/c-blosc + +USES= cmake:indirect python +USE_PYTHON= autoplist concurrent pep517 + +MAKE_ENV= USE_SYSTEM_BLOSC=1 + +post-patch: +# Clean up bundled libraries + @${RM} -r ${WRKSRC}/blosc/c-blosc/ + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/archivers/py-blosc/distinfo b/archivers/py-blosc/distinfo new file mode 100644 index 000000000000..4c86337ace09 --- /dev/null +++ b/archivers/py-blosc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730540888 +SHA256 (blosc-1.11.2.tar.gz) = ac5e7c1bfc1c7232b900be94cddb5ffcf9ea49f313c8ae98a7ca0dd87b872bf4 +SIZE (blosc-1.11.2.tar.gz) = 1434010 diff --git a/archivers/py-blosc/files/patch-pyproject.toml b/archivers/py-blosc/files/patch-pyproject.toml new file mode 100644 index 000000000000..2eca37e0872a --- /dev/null +++ b/archivers/py-blosc/files/patch-pyproject.toml @@ -0,0 +1,6 @@ +--- pyproject.toml.orig 2024-06-24 16:59:37 UTC ++++ pyproject.toml +@@ -1,2 +1,2 @@ + [build-system] +-requires = ["setuptools", "scikit-build", "cmake", "ninja", "py-cpuinfo"] ++requires = ["setuptools", "scikit-build", "py-cpuinfo"] diff --git a/archivers/py-blosc/pkg-descr b/archivers/py-blosc/pkg-descr new file mode 100644 index 000000000000..a1eff5261f02 --- /dev/null +++ b/archivers/py-blosc/pkg-descr @@ -0,0 +1,9 @@ +Blosc is a high performance compressor optimized for binary data. It has been +designed to transmit data to the processor cache faster than the traditional, +non-compressed, direct memory fetch approach via a memcpy() OS call. + +Blosc works well for compressing numerical arrays that contains data with +relatively low entropy, like sparse data, time series, grids with regular-spaced +values, etc. + +python-blosc a Python package that wraps Blosc.