diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile index a67d81e16cf1..3d5d45c42872 100644 --- a/comms/py-esptool/Makefile +++ b/comms/py-esptool/Makefile @@ -1,57 +1,60 @@ PORTNAME= esptool DISTVERSIONPREFIX= v -DISTVERSION= 4.5 -PORTREVISION= 1 +DISTVERSION= 4.7.0 CATEGORIES= comms python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= loader@FreeBSD.org COMMENT= Utility to communicate with Espressif ESP8266 & ESP32 chips WWW= https://github.com/espressif/esptool 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,<4:devel/py-bitstring@${PY_FLAVOR}\ - ${PYTHON_PKGNAMEPREFIX}reedsolo>=1.5.3,<=1.6.0:devel/py-reedsolo@${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}reedsolo>=1.5.3,<1.8:devel/py-reedsolo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>0:devel/py-intelhex@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} USES= python USE_GITHUB= yes USE_PYTHON= autoplist concurrent cryptography distutils pytest 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} +TEST_ENV+= CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 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_image_info.py \ test/test_modules.py; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest $${test}; done @cd ${TEST_WRKSRC} && for chip in \ - esp32 esp32c2 esp32c3 esp32s2 esp32s3 esp32s3beta2 esp32h2beta1 esp32c6; \ + esp32 esp32c2 esp32c3 esp32s2 esp32s3 esp32s3beta2 esp32h2beta1 esp32c6 \ + esp32h2 esp32p4; \ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest \ test/test_espefuse.py --chip $${chip}; done .if exists(${ESPTOOL_SERIALPORT}) @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} \ ${PYTHON_CMD} -m pytest test/test_esptool.py \ --port ${ESPTOOL_SERIALPORT} \ --chip ${ESPTOOL_CHIP} \ --baud ${ESPTOOL_BAUDRATE} .endif .include diff --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo index c1e6a17566c5..404dd086d67b 100644 --- a/comms/py-esptool/distinfo +++ b/comms/py-esptool/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676534351 -SHA256 (espressif-esptool-v4.5_GH0.tar.gz) = 593cf6f5c7b330a1dac0b708f77e3021d00c379bde3f4125ddd7fc65a3c31853 -SIZE (espressif-esptool-v4.5_GH0.tar.gz) = 7263652 +TIMESTAMP = 1713664469 +SHA256 (espressif-esptool-v4.7.0_GH0.tar.gz) = da68c175e4ae3fd9d87469b7ef1b8429cd84a8f8a2d22c96273640d329e68c1d +SIZE (espressif-esptool-v4.7.0_GH0.tar.gz) = 7045501