Skip to content

Commit

Permalink
comms/py-esptool: Update to 3.2
Browse files Browse the repository at this point in the history
Changelog:

    https://github.com/espressif/esptool/releases/tag/v3.2

MFH:		No (feature release)
  • Loading branch information
loader-bsd committed Nov 20, 2021
1 parent dbf54d6 commit 66c9da4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
12 changes: 3 additions & 9 deletions comms/py-esptool/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down
10 changes: 3 additions & 7 deletions comms/py-esptool/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 66c9da4

Please sign in to comment.