diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile index 997c100eccb9..425238727c98 100644 --- a/comms/py-esptool/Makefile +++ b/comms/py-esptool/Makefile @@ -1,53 +1,53 @@ PORTNAME= esptool DISTVERSIONPREFIX= v -DISTVERSION= 3.3 +DISTVERSION= 4.1 CATEGORIES= comms python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= loader@FreeBSD.org COMMENT= Utility to communicate with Espressif ESP8266 & ESP32 chips LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.16.0:security/py-ecdsa@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bitstring>=3.1.6:devel/py-bitstring@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reedsolo>=1.5.3,<=1.5.4:devel/py-reedsolo@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils GH_ACCOUNT= espressif 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 ESPTOOL_SERIALPORT?= /dev/ttyU0 do-test: @cd ${TEST_WRKSRC} && for test in \ test/test_imagegen.py \ test/test_espsecure.py \ test/test_merge_bin.py \ test/test_modules.py; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${test}; done @cd ${TEST_WRKSRC} && for chip in \ esp32 esp32c2 esp32c3 esp32s2 esp32s3 esp32s3beta2 esp32h2beta1; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} \ test/test_espefuse_host.py $${chip}; done .if exists(${ESPTOOL_SERIALPORT}) @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} \ ${PYTHON_CMD} test/test_esptool.py \ ${ESPTOOL_SERIALPORT} ${ESPTOOL_CHIP} ${ESPTOOL_BAUDRATE} .endif .include diff --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo index d753ddf9ccb5..5cd05b59045b 100644 --- a/comms/py-esptool/distinfo +++ b/comms/py-esptool/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648106321 -SHA256 (espressif-esptool-v3.3_GH0.tar.gz) = 963373977ef3293b6cb504f2f2dbc1f539e361fdd77ab2b9da1c13625e8f5ec1 -SIZE (espressif-esptool-v3.3_GH0.tar.gz) = 7259717 +TIMESTAMP = 1658967730 +SHA256 (espressif-esptool-v4.1_GH0.tar.gz) = c856606191272a41c14b21798ede31c0d0224f8788e1be12062f1beb671403a3 +SIZE (espressif-esptool-v4.1_GH0.tar.gz) = 7275429