git: 188a018b680e - main - graphics/py-rawpy: Update to 0.27.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 May 2026 23:03:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=188a018b680e6dc5be15d45a3dec88fc19a058aa
commit 188a018b680e6dc5be15d45a3dec88fc19a058aa
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-09 22:44:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-09 22:57:52 +0000
graphics/py-rawpy: Update to 0.27.0
- Update WWW
Changes: https://github.com/letmaik/rawpy/releases
---
graphics/py-rawpy/Makefile | 10 +++++-----
graphics/py-rawpy/distinfo | 6 +++---
graphics/py-rawpy/files/patch-pyproject.toml | 22 ++++++++++++++++++++++
3 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/graphics/py-rawpy/Makefile b/graphics/py-rawpy/Makefile
index 02fe46628f69..8c8f62b7bfbf 100644
--- a/graphics/py-rawpy/Makefile
+++ b/graphics/py-rawpy/Makefile
@@ -1,19 +1,19 @@
PORTNAME= rawpy
-PORTVERSION= 0.26.1
-PORTREVISION= 2
+PORTVERSION= 0.27.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= RAW image processing for Python, a wrapper for libraw
-WWW= https://github.com/letmaik/rawpy
+WWW= https://letmaik.github.io/rawpy/ \
+ https://github.com/letmaik/rawpy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libraw.so:graphics/libraw
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR}
diff --git a/graphics/py-rawpy/distinfo b/graphics/py-rawpy/distinfo
index d95802752e02..d52263392ad7 100644
--- a/graphics/py-rawpy/distinfo
+++ b/graphics/py-rawpy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771421692
-SHA256 (letmaik-rawpy-v0.26.1_GH0.tar.gz) = 9ed0023e6d52a0160813c502f54130f78e0cc3e50ea7e43edb90fe7e10f4a747
-SIZE (letmaik-rawpy-v0.26.1_GH0.tar.gz) = 75995385
+TIMESTAMP = 1778345040
+SHA256 (letmaik-rawpy-v0.27.0_GH0.tar.gz) = b358436281cb462e612f0fb363530de1ccaa1447fe53de3df3552be53aeccd0d
+SIZE (letmaik-rawpy-v0.27.0_GH0.tar.gz) = 76016541
diff --git a/graphics/py-rawpy/files/patch-pyproject.toml b/graphics/py-rawpy/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b44bf0059ee9
--- /dev/null
+++ b/graphics/py-rawpy/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+--- pyproject.toml.orig 2026-05-03 21:10:20 UTC
++++ pyproject.toml
+@@ -1,9 +1,8 @@ requires = [
+ [build-system]
+ requires = [
+- "setuptools>=69.0.0",
++ "setuptools>=61",
+ "wheel",
+ "Cython>=0.29.32",
+- "cmake",
+ # Build against NumPy 2.x headers. Extensions compiled with NumPy 2.0+
+ # are backward-compatible with NumPy >= 1.19 at runtime.
+ "numpy>=2.0.0",
+@@ -18,7 +17,7 @@ authors = [
+ authors = [
+ {name = "Maik Riechert"}
+ ]
+-license = "MIT"
++license = {text = "MIT"}
+ classifiers = [
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",