Commit a5a193d5 authored by Leo's avatar Leo

testing/esptool: upgrade to 2.7

parent 6b8381c9
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=esptool
pkgver=2.4.1
pkgrel=1
pkgver=2.7
pkgrel=0
pkgdesc="ESP8266 and ESP32 serial bootloader utility"
url="https://github.com/themadinventor/esptool"
url="https://github.com/espressif/esptool"
arch="noarch"
license="GPL-2.0"
depends="python3 py3-serial"
makedepends="python3-dev py-setuptools"
license="GPL-2.0-or-later"
depends="python3 py3-serial py3-ecdsa py3-setuptools py3-pyaes"
options="!check" # tests require older version of pycodestyle
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/themadinventor/${pkgname}/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
source="$pkgname-$pkgver.tar.gz::https://github.com/espressif/esptool/archive/v$pkgver.tar.gz"
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr \
--root="$pkgdir"\
python3 setup.py install --prefix=/usr --root="$pkgdir"
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 CONTRIBUTING.md README.md \
"$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="1e58593bd7bc55f067e628c6d826d9b434c6149fa3f82e627d96d13c4cc28ba070f3aeb85b801cf302c53125fb2a71b8e9a8af1de0171a6e224758e2662d3541 esptool-2.4.1.tar.gz"
sha512sums="3a80c969b3716983ebff683b643acc0272497afd513d6bc60894874fe2ee6ee22f0f6930324a8f14f735a7e5ea10377d7311a2cf05faff46d06f05eaaf417e1c esptool-2.7.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment