blob: 833880862736d352298b34e9129c15ad4cc51efd (
plain)
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
|
# Maintainer: Petr Kracik <petrkr@petrkr.net>
pkgname=mpremote
pkgver=1.23.0
pkgrel=1
pkgdesc="This CLI tool provides an integrated set of utilities to remotely interact with and automate a MicroPython device over a serial connection"
arch=('any')
url="https://docs.micropython.org/en/latest/reference/mpremote.html"
license=('MIT')
depends=(
'python-pyserial'
)
makedepends=(
'python-pip'
'python-installer'
)
build() {
cd "${srcdir}"
# Clean up old builds (if any)
rm -f *.whl
/usr/bin/pip3 download --no-deps $pkgname==$pkgver
}
package() {
/usr/bin/python3 -m installer --destdir="$pkgdir" ${srcdir}/*.whl
}
|