void-packages/srcpkgs/esptool/template

23 lines
754 B
Bash

# Template file for 'esptool'
pkgname=esptool
version=4.5.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-bitstring python3-cryptography python3-ecdsa python3-pyserial
python3-reedsolo"
checkdepends="python3-pytest ${depends} python3-pyelftools"
short_desc="Espressif SoC serial bootloader utility"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/espressif/esptool"
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
}