void-packages/srcpkgs/platformio/template

27 lines
1.3 KiB
Bash

# Template file for 'platformio'
pkgname=platformio
version=6.1.13
revision=1
build_style=python3-module
# According to https://github.com/platformio/platformio-core/blob/9c20ab81cb68f1ffb7a8cac22ce95c4c797643ec/Makefile#L13
make_check_target="tests/test_examples.py"
hostmakedepends="python3-setuptools"
depends="python3-aiofiles python3-ajsonrpc python3-anyio python3-bottle
python3-click python3-colorama python3-marshmallow python3-pyelftools
python3-pyserial python3-requests python3-semanticversion python3-setuptools
python3-starlette python3-tabulate python3-uvicorn python3-wsproto
python3-zeroconf"
checkdepends="python3-pytest python3-jsondiff python3-wheel python3-pip
python3-Twisted python3-certifi git python3-zeroconf $depends"
short_desc="Ecosystem for embedded development"
maintainer="Emil Miler <em@0x45.cz>"
license="Apache-2.0"
homepage="https://github.com/platformio/platformio-core"
changelog="https://raw.githubusercontent.com/platformio/platformio-core/develop/HISTORY.rst"
distfiles="https://github.com/platformio/platformio-core/archive/refs/tags/v${version}.tar.gz"
checksum=f3863b0067c54f9bbe4c63bc4d7ffdac0198d181d8bad4b69620be914e74913d
post_install() {
vinstall platformio/assets/system/99-platformio-udev.rules 644 usr/lib/udev/rules.d
}