git: 66c9da4eb613 - main - comms/py-esptool: Update to 3.2

From: Fukang Chen <loader_at_FreeBSD.org>
Date: Sat, 20 Nov 2021 16:03:30 UTC
The branch main has been updated by loader:

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

commit 66c9da4eb613b5088691ce765b2ebdc69c348727
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2021-11-20 15:33:38 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2021-11-20 16:02:56 +0000

    comms/py-esptool: Update to 3.2
    
    Changelog:
    
        https://github.com/espressif/esptool/releases/tag/v3.2
    
    MFH:            No (feature release)
---
 comms/py-esptool/Makefile | 12 +++---------
 comms/py-esptool/distinfo | 10 +++-------
 2 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile
index ce68fcad9d76..bc696366cd6e 100644
--- a/comms/py-esptool/Makefile
+++ b/comms/py-esptool/Makefile
@@ -1,15 +1,9 @@
 PORTNAME=	esptool
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.1
+DISTVERSION=	3.2
 CATEGORIES=	comms python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
-# Fix running test/test_espefuse_host.py on FreeBSD
-PATCHFILES=	74c55a8ffce4347a11479b07d50ccca33e0c0b8d.patch:-p1
-# The wheel package is only required when installing from pip
-PATCHFILES+=	4b14df383c179d9b9bea48c269869e434de878fe.patch:-p1
-
 MAINTAINER=	loader@FreeBSD.org
 COMMENT=	Utility to communicate with Espressif ESP8266 & ESP32 chips
 
@@ -33,6 +27,7 @@ NO_ARCH=	yes
 # test/test_espefuse_host.py calls the python command
 # through subprocess Popen(), create an alias for it.
 BINARY_ALIAS=		python=${PYTHON_CMD}
+TEST_ENV=		${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 ESPTOOL_BAUDRATE?=	115200
 ESPTOOL_CHIP?=		esp8266
@@ -46,12 +41,11 @@ do-test:
 		test/test_modules.py; \
 		do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${test}; done
 	@cd ${TEST_WRKSRC} && for chip in \
-		esp32 esp32s2 esp32s3beta2 esp32s3beta3 esp32c3; \
+		esp32 esp32s2 esp32s3beta2 esp32s3 esp32c3 esp32h2; \
 		do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} \
 		test/test_espefuse_host.py $${chip}; done
 .if exists(${ESPTOOL_SERIALPORT})
 	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} \
-		PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
 		${PYTHON_CMD} test/test_esptool.py \
 		${ESPTOOL_SERIALPORT} ${ESPTOOL_CHIP} ${ESPTOOL_BAUDRATE}
 .endif
diff --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo
index 39281ef7e9fa..8c0411a14639 100644
--- a/comms/py-esptool/distinfo
+++ b/comms/py-esptool/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1634543623
-SHA256 (espressif-esptool-v3.1_GH0.tar.gz) = 5edc768a63df4d73bdeba534146f6b3e41fbbe3c25f08be627733fc38535a976
-SIZE (espressif-esptool-v3.1_GH0.tar.gz) = 6897273
-SHA256 (74c55a8ffce4347a11479b07d50ccca33e0c0b8d.patch) = fe02a173c314956eea1f8a838659f8782d887754fe7f69ff2e0926b5bc2bfd2f
-SIZE (74c55a8ffce4347a11479b07d50ccca33e0c0b8d.patch) = 2014
-SHA256 (4b14df383c179d9b9bea48c269869e434de878fe.patch) = 7ab9ccd35d44f597c327f446830958558d38bd2d8744e14839a82062a73da217
-SIZE (4b14df383c179d9b9bea48c269869e434de878fe.patch) = 1087
+TIMESTAMP = 1637306726
+SHA256 (espressif-esptool-v3.2_GH0.tar.gz) = f833a78890a833315a6dbaedffb2086e975c493dc0df597c97d7e14c7eadba88
+SIZE (espressif-esptool-v3.2_GH0.tar.gz) = 7155428