git: ace8a984dc72 - main - comms/py-esptool: Downgrade to 4.12.0 and unbreak

From: Craig Leres <leres_at_FreeBSD.org>
Date: Fri, 25 Sep 2026 19:36:27 UTC
The branch main has been updated by leres:

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

commit ace8a984dc72c1003dcb32dd46bde94aadc932ba
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2026-09-25 19:35:29 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2026-09-25 19:35:29 +0000

    comms/py-esptool: Downgrade to 4.12.0 and unbreak
    
        https://github.com/espressif/esptool/releases/tag/v4.12.0
    
    5.4.0 depends on esp_pylib which we don't have so it was a mistake
    to upgrade to it.
    
    PR:             298839
    Reported by:    avg
---
 comms/py-esptool/Makefile | 3 ++-
 comms/py-esptool/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile
index b62c6050a900..05b156f1ffa4 100644
--- a/comms/py-esptool/Makefile
+++ b/comms/py-esptool/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	esptool
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.4.0
+DISTVERSION=	4.12.0
+PORTEPOCH=	1
 CATEGORIES=	comms python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo
index e061220c384f..87668068d913 100644
--- a/comms/py-esptool/distinfo
+++ b/comms/py-esptool/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1789164701
-SHA256 (espressif-esptool-v5.4.0_GH0.tar.gz) = 0ff7bdc531d1f10caeffa90ff74383f80bf952b74db73171d66cd445ff40aa5f
-SIZE (espressif-esptool-v5.4.0_GH0.tar.gz) = 6168116
+TIMESTAMP = 1790356702
+SHA256 (espressif-esptool-v4.12.0_GH0.tar.gz) = 0d099edae2d76edfeaed1b3c6699c278e168809e30845311431a0a812888ca83
+SIZE (espressif-esptool-v4.12.0_GH0.tar.gz) = 6013292