aboutsummaryrefslogtreecommitdiffstats
path: root/testing/esptool/APKBUILD
blob: 54a0a5c1a18200e41098a579e2877e5a0bb6e602 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=esptool
pkgver=2.8
pkgrel=0
pkgdesc="ESP8266 and ESP32 serial bootloader utility"
url="https://github.com/espressif/esptool"
arch="noarch"
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/espressif/esptool/archive/v$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	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="14528197e760779f3bf50e2a44d477979675dd42451fa405e2ae87502158b21f999fb94561980c9eb0634d2d1fd3729779b78266403de858ed1d32e8d29604cc  esptool-2.8.tar.gz"