git: 6b8876f9f845 - main - graphics/py-lerc: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:27:43 UTC
The branch main has been updated by sunpoet:

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

commit 6b8876f9f845b2de3788c7b57693aac359af5084
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:57:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:09 +0000

    graphics/py-lerc: Remove obsoleted port
    
    Use graphics/py-pylerc instead.
---
 MOVED                                 |  1 +
 graphics/Makefile                     |  1 -
 graphics/py-lerc/Makefile             | 29 -----------------------------
 graphics/py-lerc/distinfo             |  3 ---
 graphics/py-lerc/files/patch-setup.py | 13 -------------
 graphics/py-lerc/pkg-descr            |  6 ------
 6 files changed, 1 insertion(+), 52 deletions(-)

diff --git a/MOVED b/MOVED
index 288df3e83e12..7408816e0448 100644
--- a/MOVED
+++ b/MOVED
@@ -5633,3 +5633,4 @@ devel/py-cattrs23|devel/py-cattrs|2026-09-29|Remove obsoleted port. Use devel/py
 devel/py-cel-python02|devel/py-cel-python|2026-09-29|Remove obsoleted port. Use devel/py-cel-python instead
 devel/py-pep621|devel/py-pyproject-metadata|2026-09-29|Remove obsoleted port. Use devel/py-pyproject-metadata instead
 devel/py-rx|devel/py-reactivex|2026-09-29|Remove obsoleted port. Use devel/py-reactivex instead
+graphics/py-lerc|graphics/py-pylerc|2026-09-29|Remove obsoleted port. Use graphics/py-pylerc instead
diff --git a/graphics/Makefile b/graphics/Makefile
index 6622dff26c2f..6d4c12c5cc5d 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -979,7 +979,6 @@
     SUBDIR += py-kornia
     SUBDIR += py-kornia-rs
     SUBDIR += py-leather
-    SUBDIR += py-lerc
     SUBDIR += py-liffile
     SUBDIR += py-mapclassify
     SUBDIR += py-mayavi
diff --git a/graphics/py-lerc/Makefile b/graphics/py-lerc/Makefile
deleted file mode 100644
index ba4c40d7b05e..000000000000
--- a/graphics/py-lerc/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-PORTNAME=	lerc
-PORTVERSION=	4.0.1
-PORTREVISION=	1
-CATEGORIES=	graphics python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Python binding for LERC (Limited Error Raster Compression)
-WWW=		https://esri.github.io/lerc/ \
-		https://github.com/Esri/lerc/tree/master/OtherLanguages/Python
-
-LICENSE=	APACHE20
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-LIB_DEPENDS=	libLerc.so:graphics/lerc
-
-USES=		dos2unix python
-USE_PYTHON=	autoplist concurrent pep517
-
-post-patch:
-	@${RM} ${WRKSRC}/lerc/libLerc.so.4
-
-# lib/libLerc.* are not available until configure phase
-post-configure:
-	@${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/lerc/
-
-.include <bsd.port.mk>
diff --git a/graphics/py-lerc/distinfo b/graphics/py-lerc/distinfo
deleted file mode 100644
index 369e05263a5b..000000000000
--- a/graphics/py-lerc/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1684104494
-SHA256 (lerc-4.0.1.tar.gz) = dc4c243db0cd1d5c9df612f69bd75b880679aa0b575b347c491f1ec5bc891e41
-SIZE (lerc-4.0.1.tar.gz) = 736469
diff --git a/graphics/py-lerc/files/patch-setup.py b/graphics/py-lerc/files/patch-setup.py
deleted file mode 100644
index 3f9a1926b396..000000000000
--- a/graphics/py-lerc/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
---- setup.py.orig	2022-07-15 18:25:29 UTC
-+++ setup.py
-@@ -16,8 +16,8 @@ except Exception:
- 
- # Using MANIFEST.in doesn't respect relative paths above the package root.
- # Instead, inspect the location and copy in the binaries if newer.
--BINARY_TYPES = ["*.dll", "*.lib", "*.so*", "*.dylib"]
--PLATFORMS = ["Linux", "MacOS", "windows"]
-+BINARY_TYPES = ["*.so*"]
-+PLATFORMS = ["FreeBSD"]
- for platform in PLATFORMS:
-     platform_dir = join("..", "..", "bin", platform)
-     for ext in BINARY_TYPES:
diff --git a/graphics/py-lerc/pkg-descr b/graphics/py-lerc/pkg-descr
deleted file mode 100644
index 84714b172f42..000000000000
--- a/graphics/py-lerc/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-LERC is an open-source image or raster format which supports rapid encoding and
-decoding for any pixel type (not just RGB or Byte). Users set the maximum
-compression error per pixel while encoding, so the precision of the original
-input image is preserved (within user defined error bounds).
-
-This port is the Python binding for LERC (Limited Error Raster Compression).