git: 29356bcfbf1f - main - graphics/py-liffile: Add py-liffile 2026.4.11

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 28 Jun 2026 14:23:42 UTC
The branch main has been updated by sunpoet:

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

commit 29356bcfbf1f1a5fd9ebbc23cef657f390341de6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-28 14:10:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-28 14:18:45 +0000

    graphics/py-liffile: Add py-liffile 2026.4.11
    
    Liffile is a Python library to read image and metadata from Leica image files:
    LIF (Leica Image File), LOF (Leica Object File), XLIF (XML Image File), XLCF
    (XML Collection File), XLEF (XML Experiment File), and LIFEXT (Leica Image File
    Extension). These files are written by LAS X software to store collections of
    images and metadata from microscopy experiments.
---
 graphics/Makefile             |  1 +
 graphics/py-liffile/Makefile  | 25 +++++++++++++++++++++++++
 graphics/py-liffile/distinfo  |  3 +++
 graphics/py-liffile/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index aba026d4f517..d5ba30404d67 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -975,6 +975,7 @@
     SUBDIR += py-kornia-rs
     SUBDIR += py-leather
     SUBDIR += py-lerc
+    SUBDIR += py-liffile
     SUBDIR += py-mapclassify
     SUBDIR += py-mayavi
     SUBDIR += py-mcomix
diff --git a/graphics/py-liffile/Makefile b/graphics/py-liffile/Makefile
new file mode 100644
index 000000000000..ae5c605922e0
--- /dev/null
+++ b/graphics/py-liffile/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	liffile
+PORTVERSION=	2026.4.11
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Read Leica image files (LIF, LOF, XLIF, XLCF, XLEF, and LIFEXT)
+WWW=		https://www.cgohlke.com/docs/liffile/ \
+		https://github.com/cgohlke/liffile
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+
+USES=		python:3.12+
+USE_PYTHON=	autoplist concurrent cython pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-liffile/distinfo b/graphics/py-liffile/distinfo
new file mode 100644
index 000000000000..94261bd6554f
--- /dev/null
+++ b/graphics/py-liffile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782510002
+SHA256 (liffile-2026.4.11.tar.gz) = bf1056390e0aaf0b172a284cf977d834ba0e21aed18ceeb9be3ba42f8caa8d25
+SIZE (liffile-2026.4.11.tar.gz) = 55599
diff --git a/graphics/py-liffile/pkg-descr b/graphics/py-liffile/pkg-descr
new file mode 100644
index 000000000000..ea40ce145e5b
--- /dev/null
+++ b/graphics/py-liffile/pkg-descr
@@ -0,0 +1,5 @@
+Liffile is a Python library to read image and metadata from Leica image files:
+LIF (Leica Image File), LOF (Leica Object File), XLIF (XML Image File), XLCF
+(XML Collection File), XLEF (XML Experiment File), and LIFEXT (Leica Image File
+Extension). These files are written by LAS X software to store collections of
+images and metadata from microscopy experiments.