From nobody Wed Nov 23 16:50:04 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NHRv05wdMz4hnvN; Wed, 23 Nov 2022 16:50:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NHRv05QPsz3MyL; Wed, 23 Nov 2022 16:50:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669222204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yBWgSfK9CRcP1cGWtYEZtcLPQ+nWLW+6ncEtSN/Ao2Y=; b=fu07QS27PwSMlTkpBU3Ea/LHgHYtWVGSLQ3bfyOY6Hx/KyQmX//yTkGB/BToMkQKTLIFHG psUBUEKUGpvdSstJplivNs/sYxQP29UhuTTZ0qBZ4vSf75XwD0YqNAuFfchQIYXv7kUPjC wme2Z/LRR9wIwyrztM8RbfpGxrbc5JAgOfjDLIOzromAAO8L1NdU0nTiGpTkqE+GNVGDL8 /H+ysFcC0ycEfm1tXozEAczUrznY5OqPedNHmWUAtGnvCe/cchXN7nwsVoWsDiftOosW+Z syqVo1fywWERh+SKjWSrhD2hgvvrXFumIQ8YOST7QeQzwZuoz1SVbMzTSMiUGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669222204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yBWgSfK9CRcP1cGWtYEZtcLPQ+nWLW+6ncEtSN/Ao2Y=; b=cvaZ16ccCK74vsmt+Pke3/8NC7d8H2wi34CrXYN1QmkIJYlIfflLFWKF8sR1RzdDHgNV4k 6g4Dnxe3mTFt2lUIGNSt0s0xr3vBlMzE7Ak3T7EMvvdqrbWICNsG+/exRSknO0NfK5qyp0 ktOvIRHCAUhbUFUPY3WqT69eLyxS29OBk7Tj3e8hk4DG2+eXXBiazXDZkpfkNLfCKmJay3 z8S1oJx80xVh1cmBaEug4bLWwLXxn9KXZBal0pU9mVNiQBJww6s7Zd8Sp84ajBLpPBEb60 U3nZfexKun4TZ3Fx0mNiorw20Tgk51E7w1xrqakFLfL29baXhX0CoFYk7eV0rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669222204; a=rsa-sha256; cv=none; b=yLHNurL1aygib+XlAaPAVd8OIcYMowIW7Pb7yezJVZLGnZFj3/N95AxVGBv7cOeQPdWRKz B+f3OZ+mGTu48OpLO+nWP86D/aj0PPk2SKs/Ap6jsNgLElDkEOqaDBxTG5GNJEU7wXoWOq bDHOSAxOItWy76tvkk58J/bCkf2fvmsZvTiMTw4s8jMWSev3igAXkVGxs7j3YPR5NndaVe i+Yi48wEHPnRt7jVO9IYlKwI9pNk7QqTE9bsaIsB6GCSZ19D3VoWLtaTpxWSgD1gPic9BJ 389hzV0bDt+GzVM2iKhXb/HliZ1vLegAMqZJ+HZz9w3NNuPCwt1Fq8k567aWwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NHRv04NH7zTRr; Wed, 23 Nov 2022 16:50:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ANGo4DE014518; Wed, 23 Nov 2022 16:50:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ANGo4Mb014515; Wed, 23 Nov 2022 16:50:04 GMT (envelope-from git) Date: Wed, 23 Nov 2022 16:50:04 GMT Message-Id: <202211231650.2ANGo4Mb014515@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fukang Chen Subject: git: 690df01ab547 - main - comms/py-esptool: Update to 4.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: loader X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 690df01ab547f44ee853964ba1daf0e7015de545 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by loader: URL: https://cgit.FreeBSD.org/ports/commit/?id=690df01ab547f44ee853964ba1daf0e7015de545 commit 690df01ab547f44ee853964ba1daf0e7015de545 Author: Fukang Chen AuthorDate: 2022-11-23 16:19:42 +0000 Commit: Fukang Chen CommitDate: 2022-11-23 16:38:35 +0000 comms/py-esptool: Update to 4.4 - Update to 4.4 - Upstream tests switched from unittest to pytest Changelog: https://github.com/espressif/esptool/releases/tag/v4.4 --- comms/py-esptool/Makefile | 23 +++++++++++++---------- comms/py-esptool/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile index d6063857361f..f563dc8bc2bd 100644 --- a/comms/py-esptool/Makefile +++ b/comms/py-esptool/Makefile @@ -1,6 +1,6 @@ PORTNAME= esptool DISTVERSIONPREFIX= v -DISTVERSION= 4.2.1 +DISTVERSION= 4.4 CATEGORIES= comms python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,14 +13,14 @@ 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}bitstring>=3.1.6,<4: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} + ${PYTHON_PKGNAMEPREFIX}reedsolo>=1.5.3,<1.5.5:devel/py-reedsolo@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} USES= python:3.7+ USE_GITHUB= yes -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest GH_ACCOUNT= espressif NO_ARCH= yes @@ -39,16 +39,19 @@ do-test: 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} $${test}; done + do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest $${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 + esp32 esp32c2 esp32c3 esp32s2 esp32s3 esp32s3beta2 esp32h2beta1 esp32c6; \ + 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} test/test_esptool.py \ - ${ESPTOOL_SERIALPORT} ${ESPTOOL_CHIP} ${ESPTOOL_BAUDRATE} + ${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 5798260d5507..f32f8e6ac318 100644 --- a/comms/py-esptool/distinfo +++ b/comms/py-esptool/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1660207649 -SHA256 (espressif-esptool-v4.2.1_GH0.tar.gz) = cb2405dca03fd68394644e22479e03f85629656e8f14f8345b50fc758d61f7b3 -SIZE (espressif-esptool-v4.2.1_GH0.tar.gz) = 7271498 +TIMESTAMP = 1669170432 +SHA256 (espressif-esptool-v4.4_GH0.tar.gz) = 2d9eacbeda2f711cbd2d5a83d704a9068e42f649bef9ece05fad4a5ed30c7715 +SIZE (espressif-esptool-v4.4_GH0.tar.gz) = 7213588