Skip to content
Snippets Groups Projects
Unverified Commit b1de3517 authored by Torsten Keßler's avatar Torsten Keßler
Browse files

upgpkg: 4.7.0-2

* Fix missing dependency python-intelhex as reported in #1
* Update to PEP 517 packaging
* SPDX license identifier

Closes #1
parent e07fe05f
No related branches found
Tags 3.8.1-1
No related merge requests found
pkgbase = esptool
pkgdesc = A cute Python utility to communicate with the ROM bootloader in Espressif ESP8266
pkgver = 4.7.0
pkgrel = 1
pkgrel = 2
url = https://github.com/espressif/esptool
arch = any
license = GPL2
license = GPL-2.0-only
makedepends = git
makedepends = python-setuptools
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python
depends = python-pyserial
depends = python-ecdsa
depends = python-bitstring
depends = python-reedsolo
depends = python-cryptography
depends = python-pyyaml
depends = python-intelhex
optdepends = python-python-pkcs11: Support for HSM devices
source = esptool-4.7.0.tar.gz::https://github.com/espressif/esptool/archive/v4.7.0.tar.gz
sha512sums = dda2af5d9b2f8a4ec5706eaf58021e95094c152380c732074809c370a5d1bfaeb424cb27f69a3b980dec83ae9c4c9ee1eddfeb0a7990c3b1f1494160a2d369cc
......
......@@ -5,22 +5,23 @@
pkgname=esptool
pkgver=4.7.0
pkgrel=1
pkgrel=2
pkgdesc="A cute Python utility to communicate with the ROM bootloader in Espressif ESP8266"
arch=('any')
url="https://github.com/espressif/esptool"
license=('GPL2')
makedepends=('git' 'python-setuptools')
depends=('python-pyserial' 'python-ecdsa' 'python-bitstring' 'python-reedsolo' 'python-cryptography' 'python-pyyaml')
license=('GPL-2.0-only')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
depends=('python' 'python-pyserial' 'python-ecdsa' 'python-bitstring' 'python-reedsolo' 'python-cryptography' 'python-pyyaml' 'python-intelhex')
optdepends=('python-python-pkcs11: Support for HSM devices')
source=($pkgname-$pkgver.tar.gz::https://github.com/espressif/esptool/archive/v${pkgver}.tar.gz)
sha512sums=('dda2af5d9b2f8a4ec5706eaf58021e95094c152380c732074809c370a5d1bfaeb424cb27f69a3b980dec83ae9c4c9ee1eddfeb0a7990c3b1f1494160a2d369cc')
build() {
cd "${pkgname}-${pkgver}"
python3 setup.py build
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
python -m installer --destdir="$pkgdir" dist/*.whl
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment