From nobody Sat Jan 31 14:20:50 2026 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 4f3FR65Wglz6Q7wG for ; Sat, 31 Jan 2026 14:20:50 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f3FR61zTdz3BvV for ; Sat, 31 Jan 2026 14:20:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769869250; 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=Ul8YHoiTgnjv0wFK2UqNWThFQ4/LaaD7Ytv0bXx4mdo=; b=yIVJlZZ4qiQO9Rf+dYqcW017aceZqeQ1XuaOzEDYPRGxm6XT6fzE+YngUT27PoPwn+Ls2f n1D2aVAmF7oojsScYjH2/u3oTC/iPiDTHYv5hjHigp6j/bIZXzJrh/Y29TpqHjWif2SjLi XIPM4XP3YHGmuh/TrC+5obvUAIvSl6MISqQh5SY0W6PWVrn3Zz0wucVnPOlwKayJ4wE+UE uRuPQOZ71hGJxQ8v9TyQjOjxxFHbsTev73U+f6R1lp4YoKBHFyJzV2tPjWTpMe0EFYX6gH CDHPA4ieBThuy1Vrf+hoe3d6pWd3TP70k+Cu8WT2Z5Z8Dj97Pe8XvmlAXFFjrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769869250; a=rsa-sha256; cv=none; b=CpBcoNkKMV1IlCMMEzs/3gyi3lWZfoF+wpD6+u4nUK7D0EZ46PKoZVXP5wyTRkQjwNnub0 zGW2GMpyLBq0P9LrhCWOBOVzTiLDoGFL6ewLqVE4JXgyzGu2IF6nt0WU01FP7G7ucnDRhJ lI0WWZiDb4256oAaunrdxehorAhtRAnYx4a7waG4d40FTkZM8fRMeKVmqxIxHPxdYvORwD +9uUd7uB7ISwc3bKYAVblOCAOeNcVdzFf7lKwTF4JTiDZoZTwDIAT5w/qc+BZ7BSkmo7A7 ifyG3jQsPKcUdhs1eNaal9KvunWzhu3r/qMsxcQ2rVbAwQxfr4chGK5TH4z3Jw== 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=1769869250; 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=Ul8YHoiTgnjv0wFK2UqNWThFQ4/LaaD7Ytv0bXx4mdo=; b=Ezw1XMRGXIqmsN7qdUFErIw9HcErw48XAQyp/ss6gdakc0usox1k150GcphI8nzDfFHLau WjA8kczRY2HbDU8HmivWsxA7TugBm8ChlfmLzEj59C49I8+GYlM3RXRKc0TNN304G8cmtJ OIJPYw5hp4euljZAaqU105QhG5R8ygo59BgnlaFMY1RKNwV3R7vf/CeBpDJQvj4CAL5jJx DZrOE62ccHvb2U02wNhO3mLdV9tj9fQuLXdIBhuQe1yuTNkgAmzkfwERmdkxtHlJX6H9H+ 3YttbZHmAcuZOv2jFrUScPgIIXSB2NLDwUl0eWILE70KQM87OVzwL1UPhHjJUg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f3FR61ZWNzwmM for ; Sat, 31 Jan 2026 14:20:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 316a9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 31 Jan 2026 14:20:50 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2cdc267de7ac - main - devel/py-isal: Add py-isal 1.8.0 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: 2cdc267de7acf020458c1f8d811f0d2bcfb13324 Auto-Submitted: auto-generated Date: Sat, 31 Jan 2026 14:20:50 +0000 Message-Id: <697e0fc2.316a9.1e686be@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cdc267de7acf020458c1f8d811f0d2bcfb13324 commit 2cdc267de7acf020458c1f8d811f0d2bcfb13324 Author: Po-Chuan Hsieh AuthorDate: 2026-01-31 13:11:30 +0000 Commit: Po-Chuan Hsieh CommitDate: 2026-01-31 14:14:45 +0000 devel/py-isal: Add py-isal 1.8.0 This package provides Python bindings for the ISA-L library. The Intel(R) Intelligent Storage Acceleration Library (ISA-L) implements several key algorithms in assembly language. This includes a variety of functions to provide zlib/gzip-compatible compression. python-isal provides the bindings by offering four modules: - isal_zlib: A drop-in replacement for the zlib module that uses ISA-L to accelerate its performance. - igzip: A drop-in replacement for the gzip module that uses isal_zlib instead of zlib to perform its compression and checksum tasks, which improves performance. - igzip_threaded offers an open function which returns buffered read or write streams that can be used to read and write large files while escaping the GIL using one or multiple threads. This functionality only works for streaming, seeking is not supported. - igzip_lib: Provides compression functions which have full access to the API of ISA-L's compression functions. --- devel/Makefile | 1 + devel/py-isal/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-isal/distinfo | 3 +++ devel/py-isal/files/patch-pyproject.toml | 18 ++++++++++++++++++ devel/py-isal/pkg-descr | 17 +++++++++++++++++ 5 files changed, 67 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 89b8e33a370b..fe9f8916cd7a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5106,6 +5106,7 @@ SUBDIR += py-ipython-pygments-lexers SUBDIR += py-ipython_genutils SUBDIR += py-ipywidgets + SUBDIR += py-isal SUBDIR += py-iso8601 SUBDIR += py-isodate SUBDIR += py-isoduration diff --git a/devel/py-isal/Makefile b/devel/py-isal/Makefile new file mode 100644 index 000000000000..716fccf6a881 --- /dev/null +++ b/devel/py-isal/Makefile @@ -0,0 +1,28 @@ +PORTNAME= isal +PORTVERSION= 1.8.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python bindings for the ISA-L ibrary +WWW= https://python-isal.readthedocs.io/en/stable/ \ + https://github.com/pycompression/python-isal + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libisal.so:devel/isa-l + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +MAKE_ENV= PYTHON_ISAL_LINK_DYNAMIC=1 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/devel/py-isal/distinfo b/devel/py-isal/distinfo new file mode 100644 index 000000000000..e8ba877c5138 --- /dev/null +++ b/devel/py-isal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1768625559 +SHA256 (isal-1.8.0.tar.gz) = 124233e9a31a62030a07aafd48c26689561926f4e10417ed3ea46c211218f2b4 +SIZE (isal-1.8.0.tar.gz) = 4133365 diff --git a/devel/py-isal/files/patch-pyproject.toml b/devel/py-isal/files/patch-pyproject.toml new file mode 100644 index 000000000000..43ef07511259 --- /dev/null +++ b/devel/py-isal/files/patch-pyproject.toml @@ -0,0 +1,18 @@ +--- pyproject.toml.orig 2025-09-10 08:41:47 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=77", "setuptools-scm>=8"] ++requires = ["setuptools>=61", "setuptools-scm>=8"] + build-backend = "setuptools.build_meta" + + [project] +@@ -8,7 +8,7 @@ python bindings for the ISA-L ibrary.""" + description = """ + Faster zlib and gzip compatible compression and decompression by providing \ + python bindings for the ISA-L ibrary.""" +-license="PSF-2.0" ++license={text = "PSF-2.0"} + keywords=["isal", "isa-l", "compression", "deflate", "gzip", "igzip"] + authors = [{name = "Leiden University Medical Center"}, + {email = "r.h.p.vorderman@lumc.nl"}] diff --git a/devel/py-isal/pkg-descr b/devel/py-isal/pkg-descr new file mode 100644 index 000000000000..d7b02cc93c10 --- /dev/null +++ b/devel/py-isal/pkg-descr @@ -0,0 +1,17 @@ +This package provides Python bindings for the ISA-L library. The Intel(R) +Intelligent Storage Acceleration Library (ISA-L) implements several key +algorithms in assembly language. This includes a variety of functions to provide +zlib/gzip-compatible compression. + +python-isal provides the bindings by offering four modules: +- isal_zlib: A drop-in replacement for the zlib module that uses ISA-L to + accelerate its performance. +- igzip: A drop-in replacement for the gzip module that uses isal_zlib instead + of zlib to perform its compression and checksum tasks, which improves + performance. +- igzip_threaded offers an open function which returns buffered read or write + streams that can be used to read and write large files while escaping the GIL + using one or multiple threads. This functionality only works for streaming, + seeking is not supported. +- igzip_lib: Provides compression functions which have full access to the API of + ISA-L's compression functions.