blob: 94a76923e08bf590eb43b15a076bcd2bcebefefd (
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
28
29
30
31
32
33
34
|
# Maintainer: Petr Kracik <petrkr@petrkr.net>
pkgname=mpremote
pkgver=1.28.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'
'python-platformdirs'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-hatchling'
'python-hatch-vcs'
'python-hatch-requirements-txt'
)
source=("https://files.pythonhosted.org/packages/source/m/mpremote/mpremote-${pkgver}.tar.gz")
sha256sums=('fdb5626be83dff4e53c0184f8950814cb519b524dba7f1f8b1668aa477257a31')
build() {
cd $pkgname-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|