blob: 85602097b925e33dc3bb6e424c1cfab3e5ea3c0d (
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
35
36
37
38
39
40
41
|
pkgname=python-meshtastic
pkgver=2.7.6
pkgrel=1
pkgdesc='The Python CLI and API for talking to Meshtastic devices'
arch=(any)
url='https://github.com/meshtastic/python'
license=(GPL-3.0-only)
depends=(
python
python-bleak
python-packaging
python-protobuf
python-pypubsub
python-pyserial
python-requests
python-tabulate
)
optdepends=(
python-argcomplete
python-pandas
python-pyqrcode
python-wcwidth
)
makedepends=(
python-build
python-installer
python-poetry-core
)
source=("https://github.com/meshtastic/python/archive/refs/tags/$pkgver.tar.gz")
b2sums=('53b8d0ee1bcebb0cf8a86d58ab9c74533a99ded21aeaa2e941dea00340ea196c5b623db631a2b9520ffdc96c1e8692a94b24e682598f215bf7e5e6427a7c28c6')
build() {
cd "python-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "python-$pkgver"
python -m installer -d "$pkgdir" dist/*.whl
}
|