diff --git a/srcpkgs/esptool/template b/srcpkgs/esptool/template index 2adcc46099b..098a28f026d 100644 --- a/srcpkgs/esptool/template +++ b/srcpkgs/esptool/template @@ -1,15 +1,22 @@ # Template file for 'esptool' pkgname=esptool -version=4.2.1 -revision=2 +version=4.5.1 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-bitstring python3-cryptography python3-ecdsa python3-pyserial python3-reedsolo" -checkdepends="$depends" +checkdepends="python3-pytest ${depends} python3-pyelftools" short_desc="Espressif SoC serial bootloader utility" maintainer="Michal Vasilek " license="GPL-2.0-or-later" homepage="https://github.com/espressif/esptool" -distfiles="${PYPI_SITE}/e/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=b967faed94dd43f547953fde362d3ba5b63dddca0a0ff7982750054702cbc238 +distfiles="https://github.com/espressif/esptool/archive/refs/tags/v${version}.tar.gz" +checksum=759e0c9a5e69d21e13a5fcf53d46cb567cb3a8e4a6cefda334b6d3a3d540b5f4 + +post_extract() { + # needs access to hardware + rm test/test_esptool.py + # needs python3-pkcs11 + rm test/test_espsecure_hsm.py +}