From nobody Sun Sep 08 18:45:13 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 4X1zRb0S5nz5VTgK; Sun, 08 Sep 2024 18:45:15 +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 4X1zRZ3bLFz3wkk; Sun, 8 Sep 2024 18:45:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725821114; 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=iMAssFWk31nOEMpHg4veSAxbXbKRXw5amxmMqoiFsJs=; b=BTB0SEGwfRh4qJYWAN5q0M5G9Pk5k4n1yjurqmeV0BDk9yvm/8tTKuQMSXlV0etQs3leDc Rf6CYOrtOubGhj4/g3E4s3TGaLl7qNC0Y1nezq0xJJ49y2Sdk59icqx5+u1u/xxLKfPPIV vjQA4SPJXlBUjKqb1koWR4Pd1vvUpSWu4asYvkCkBC7CU+TKDR5sg/IT60l7aj3Ojq3ckL XlW4F2oVJEoANHVSGLPbRdSQ88xlPGCvaakKDYF6NWuXNRmqM8C4QngYbcrUU+5FI6yAea 60NzZk4OEI9sCHPp88DaGcBhHzv3kCQZkvaAX16JuEdEMZx95APrBHP3D5buvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725821114; a=rsa-sha256; cv=none; b=I2fwaRR/yQvgmz3djafcBVKeebStpdvO1HDaSs8Psp6S8k1q1+6NObh7ItWsNd1tZyo5tI pzwLQ/Sj752KUBkDstTAsnj5nBWRV9KUP9Rna3bOYsG7QAbhRUWVTDngcxCWx+DGMwIFJ5 1HwG4RhS3A76Cjf3HYLWFlRuWKemQlu1p7THkh+XLGoQ3IIHcAp1ziZEIIU9cvZ91L00Vy inR5sAzTPwt/KF9vPHl8xsCA/x3bhYc3XIdBmCoP25i0QbjNGiVii10uAGEB9ICiB5TMkm OE4kveZxZm86RU1pJV1zpOw6XiHeexBY6Wuji5jjb/WcsQtLrNCy0reMta4iKA== 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=1725821114; 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=iMAssFWk31nOEMpHg4veSAxbXbKRXw5amxmMqoiFsJs=; b=xtGbegtZqra+UyJ9anbgFIw5zFO1eQ3X2cGKfHHI9bX8gZhrJIO4nWew0lL4G50V8hiTcs y3FWhM80YkKUI8xZoxLFB14aGD9qmfIJ9RWplloi7huGUd3XUBvNmEFFwMVCdGESuwliT5 sOTmPiX/2gq4x4cUu4rTIl/31qY8OLxOFdO2E5t85bizyGNloahp5QRi1k3APJh1N0lE3x zWhmvrwyeZIbou/Q7tBYknUMS5WZwXtKRYJnx2Acl/0OA9gt8XqjB03otKlFMN7MRhINew UbgMOcYVdyoHR5BikviRLb765ajFZhhzRWDRGcNDtVmn/uMR/SGoOBEnYbJdaQ== 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 4X1zRY64lGzWvD; Sun, 8 Sep 2024 18:45:13 +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 488IjDP0040340; Sun, 8 Sep 2024 18:45:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 488IjD3K040337; Sun, 8 Sep 2024 18:45:13 GMT (envelope-from git) Date: Sun, 8 Sep 2024 18:45:13 GMT Message-Id: <202409081845.488IjD3K040337@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: 0360e8e0d4de - main - graphics/py-imageio: Add RAWPY option 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: 0360e8e0d4deec9c6d425200e43e4a2b47950bd3 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0360e8e0d4deec9c6d425200e43e4a2b47950bd3 commit 0360e8e0d4deec9c6d425200e43e4a2b47950bd3 Author: Po-Chuan Hsieh AuthorDate: 2024-09-08 18:19:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-08 18:37:41 +0000 graphics/py-imageio: Add RAWPY option --- graphics/py-imageio/Makefile | 5 ++++- graphics/py-imageio/files/patch-setup.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/graphics/py-imageio/Makefile b/graphics/py-imageio/Makefile index 15a90eb7334a..d84ff14cefcd 100644 --- a/graphics/py-imageio/Makefile +++ b/graphics/py-imageio/Makefile @@ -33,12 +33,13 @@ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -OPTIONS_DEFINE= FFMPEG FITS PILLOW_HEIF PYAV TIFFFILE +OPTIONS_DEFINE= FFMPEG FITS PILLOW_HEIF PYAV RAWPY TIFFFILE OPTIONS_DEFAULT=FFMPEG FFMPEG_DESC= Read/Write video using FFmpeg FITS_DESC= Read FITS files PILLOW_HEIF_DESC= Read HEIF files PYAV_DESC= Read/Write video and image files +RAWPY_DESC= Read/Write images via rawpy TIFFFILE_DESC= Read/Write TIFF files FFMPEG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \ @@ -46,6 +47,8 @@ FFMPEG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0:graphics/py-imageio FITS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=0,2:astro/py-astropy@${PY_FLAVOR} PILLOW_HEIF_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pillow-heif>=0:graphics/py-pillow-heif@${PY_FLAVOR} PYAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}av>=0:multimedia/py-av@${PY_FLAVOR} +RAWPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rawpy>=0:graphics/py-rawpy@${PY_FLAVOR} TIFFFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR} .include diff --git a/graphics/py-imageio/files/patch-setup.py b/graphics/py-imageio/files/patch-setup.py new file mode 100644 index 000000000000..795ebaad2833 --- /dev/null +++ b/graphics/py-imageio/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-08-13 04:41:56 UTC ++++ setup.py +@@ -117,7 +117,7 @@ extras_require = { + # TODO: move this to cpython_only_plugins when python 3.8 support is dropped + "rawpy": [ + "rawpy", +- "numpy>2", ++ "numpy", + ], # rawpy doesn't support python 3.8 (due to numpy > 2 requirement) + "pillow-heif": ["pillow-heif"], # pillow-heif doesn#t support py3.8 on MacOS ARM + }