From nobody Wed Jul 24 21:18:11 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 4WTn1H4KYlz5QyxP; Wed, 24 Jul 2024 21:18:11 +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 4WTn1H3qSxz4fG4; Wed, 24 Jul 2024 21:18:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721855891; 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=3qaLT1Vwvm4EVp/RfI+AnWiS67ImiIhPolkq4bTmlKU=; b=nAkCaF2AUyCEZG6/cI33Ys+RHwdDYmFqXC31eYToWjNnHkMxbkSOzzMLdJg5zF0FaBZ7iH foQ6T3gQ+wFpGyIi4ZXM0C65OVt8WcwiofKUvH/Gm2feuKQC9q71y4WwNd72Zt8xt/lY3H ONMpIOMKlOg+X8Ckx70eSwWK5LQmr1V7nbK2sWGCyuUatFWxL+NCkBzAmw8QNkqnj5VGKl MTVrlSkJ8kj8bbS7AImRLt+TRalbRukUgly3m9Tkm7dH660UHMnV0QXuIoq+R2Jt2OTUx0 DY79SELaqydK5wA9kSjIyAetdz6e0Bt5e/JSObfCr0Q7MyFv3tG+nPAdjzmOLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721855891; a=rsa-sha256; cv=none; b=w1Y/n1dLJgCJrd7thA9exk7uFe77jkunmUBzKkcp5wBVNjmrdIyR3Ij7RLBpOgeinrv9Hk FdnKXdq/E2zxnYuSt3cVExyw62Rz9Tx1Ga9tqJaBCIL/7vLp8YXZ0o8EenGCsbzO6TFlwr sX0QAgGTqLUdlHQ/daP7zIQPGu90hcbDLqs5IPCdtco3/nzVwtMvkc77jb15QzN52msMRq H9OppVto4vy1oYdfASTBptKzpsJUGf3GMV8nBAs6kOHK+SP4hVaUVdrV5HgG9HINKWh/8A KEYjNuc0ZMPeiKwbJ2CTkn7xkN73UphW1YeX28pr9CG0d6rd3ZIKz8SlspJ3TA== 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=1721855891; 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=3qaLT1Vwvm4EVp/RfI+AnWiS67ImiIhPolkq4bTmlKU=; b=LVCVyWZCTfuDo4E6JLsXGKN2YTH7aYw6DNFk0s2tZXB4nSQU6y9yiHoWaJLmvAcABCDNo7 a7erm48whydeXns9W5eSb/tMdHSN5wtsjbDi4vSdri2gaXFEuEV50wa96TJXoMxhTJCKIF BZxzQU3C1abu2/QpNQt+ewXkr7o8G/rdynP3nlXpYuDgZ6jGcWXsZmoeAT0APQ2mUdTlzx /u8gd89w1bsxbPzbRvKBEeGwm9mFXYnZR6z/eND0J1sOrMjalwCiG++Fl2FyP9+J3HJO9T 4C9zQDenu0GwzVh9Y00Qo6F7QrTMUkpOdE7cavPQu6JmoeKMacYPVz9CA2Ks1w== 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 4WTn1H3QfRzSC7; Wed, 24 Jul 2024 21:18:11 +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 46OLIB31064487; Wed, 24 Jul 2024 21:18:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46OLIB2H064484; Wed, 24 Jul 2024 21:18:11 GMT (envelope-from git) Date: Wed, 24 Jul 2024 21:18:11 GMT Message-Id: <202407242118.46OLIB2H064484@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: 042ae37fbe5f - main - graphics/py-imagecodecs: Add py-imagecodecs 2024.6.1 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: 042ae37fbe5ff37b0978edf3289a5dc7dee19c79 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=042ae37fbe5ff37b0978edf3289a5dc7dee19c79 commit 042ae37fbe5ff37b0978edf3289a5dc7dee19c79 Author: Po-Chuan Hsieh AuthorDate: 2024-07-24 21:15:32 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-24 21:15:32 +0000 graphics/py-imagecodecs: Add py-imagecodecs 2024.6.1 Imagecodecs is a Python library that provides block-oriented, in-memory buffer transformation, compression, and decompression functions for use in Tifffile, Czifile, Zarr, kerchunk, and other scientific image input/output packages. --- graphics/Makefile | 1 + graphics/py-imagecodecs/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ graphics/py-imagecodecs/distinfo | 3 +++ graphics/py-imagecodecs/pkg-descr | 3 +++ 4 files changed, 46 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 4fa1f123b2fa..9f03289c5a8a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -913,6 +913,7 @@ SUBDIR += py-haishoku SUBDIR += py-hiplot SUBDIR += py-hsluv + SUBDIR += py-imagecodecs SUBDIR += py-imageio SUBDIR += py-imageio-ffmpeg SUBDIR += py-imagesize diff --git a/graphics/py-imagecodecs/Makefile b/graphics/py-imagecodecs/Makefile new file mode 100644 index 000000000000..5070269f21fc --- /dev/null +++ b/graphics/py-imagecodecs/Makefile @@ -0,0 +1,39 @@ +PORTNAME= imagecodecs +PORTVERSION= 2024.6.1 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Image transformation, compression, and decompression codecs +WWW= https://github.com/cgohlke/imagecodecs + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0:lang/cython3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libdeflate.so:archivers/libdeflate \ + libjbig.so:graphics/jbigkit\ + libjpegxr.so:graphics/libjxr \ + liblcms2.so:graphics/lcms2 \ + libLerc.so:graphics/lerc \ + liblz4.so:archivers/liblz4 \ + libopenjp2.so:graphics/openjpeg \ + libpng16.so:graphics/png \ + libtiff.so:graphics/tiff \ + libwebp.so:graphics/webp \ + libzstd.so:archivers/zstd +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} + +USES= jpeg localbase python:3.9+ +USE_PYTHON= autoplist concurrent pep517 + +CPPFLAGS+= -I${LOCALBASE}/include/jxrlib -I${LOCALBASE}/include/openjpeg-2.5 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/graphics/py-imagecodecs/distinfo b/graphics/py-imagecodecs/distinfo new file mode 100644 index 000000000000..c3faa6d05d91 --- /dev/null +++ b/graphics/py-imagecodecs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721822992 +SHA256 (imagecodecs-2024.6.1.tar.gz) = 0f3e94b7f51e2f78287b7ffae82cd850b1007639148894538274fa50bd179886 +SIZE (imagecodecs-2024.6.1.tar.gz) = 9459867 diff --git a/graphics/py-imagecodecs/pkg-descr b/graphics/py-imagecodecs/pkg-descr new file mode 100644 index 000000000000..ac29e778274b --- /dev/null +++ b/graphics/py-imagecodecs/pkg-descr @@ -0,0 +1,3 @@ +Imagecodecs is a Python library that provides block-oriented, in-memory buffer +transformation, compression, and decompression functions for use in Tifffile, +Czifile, Zarr, kerchunk, and other scientific image input/output packages.