git: c9fdb96eb86e - main - graphics/py-agx-emulsion: New port: Spectral simulation of analog photography processes

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 21 Sep 2025 09:55:31 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9fdb96eb86e37aeb04a499ffda132bd919092a0

commit c9fdb96eb86e37aeb04a499ffda132bd919092a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-21 09:54:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-21 09:55:21 +0000

    graphics/py-agx-emulsion: New port: Spectral simulation of analog photography processes
---
 graphics/Makefile                  |  1 +
 graphics/py-agx-emulsion/Makefile  | 38 ++++++++++++++++++++++++++++++++++++++
 graphics/py-agx-emulsion/distinfo  |  3 +++
 graphics/py-agx-emulsion/pkg-descr |  3 +++
 4 files changed, 45 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 7a3b1eb528e3..e542d3375053 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -892,6 +892,7 @@
     SUBDIR += py-PyOpenGL
     SUBDIR += py-PyOpenGL-accelerate
     SUBDIR += py-actdiag
+    SUBDIR += py-agx-emulsion
     SUBDIR += py-albucore
     SUBDIR += py-albumentations
     SUBDIR += py-altair
diff --git a/graphics/py-agx-emulsion/Makefile b/graphics/py-agx-emulsion/Makefile
new file mode 100644
index 000000000000..482b917da860
--- /dev/null
+++ b/graphics/py-agx-emulsion/Makefile
@@ -0,0 +1,38 @@
+PORTNAME=	agx-emulsion
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0-alpha
+DISTVERSIONSUFFIX=	-84-g0e0baf2
+CATEGORIES=	graphics
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Spectral simulation of analog photography processes
+WWW=		https://github.com/andreavolpato/agx-emulsion
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openimageio>0:graphics/py-openimageio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colour-science>=0.4.6:graphics/py-colour-science@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dotmap>=1.3.30:devel/py-dotmap@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lmfit>=1.3.2:math/py-lmfit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}magicgui>=0.10.0:x11-toolkits/py-magicgui@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}napari>=0.5.5:misc/py-napari@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numba>=0.61.0:devel/py-numba@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=2.1.3:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.4.0:math/py-opt-einsum@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyfftw>=0.15.0:math/py-pyFFTW@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.14.1:science/py-scipy@${PY_FLAVOR}
+
+USES=		pyqt:5 python
+USE_PYTHON=	distutils concurrent autoplist
+USE_PYQT=	pyqt5
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	andreavolpato
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-agx-emulsion/distinfo b/graphics/py-agx-emulsion/distinfo
new file mode 100644
index 000000000000..f981124db3f8
--- /dev/null
+++ b/graphics/py-agx-emulsion/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748800955
+SHA256 (andreavolpato-agx-emulsion-v0.1.0-alpha-84-g0e0baf2_GH0.tar.gz) = 793a5341af93674f1d9ff210c129aa880c57eb1d24f6978bfe228cea862e5d72
+SIZE (andreavolpato-agx-emulsion-v0.1.0-alpha-84-g0e0baf2_GH0.tar.gz) = 24448040
diff --git a/graphics/py-agx-emulsion/pkg-descr b/graphics/py-agx-emulsion/pkg-descr
new file mode 100644
index 000000000000..8dabdfa49baf
--- /dev/null
+++ b/graphics/py-agx-emulsion/pkg-descr
@@ -0,0 +1,3 @@
+agx-emulsion experiments with the simulation of color film photography
+processes.  The simulation emulates a negative emulsion starting from
+published data for film stocks.