void-packages/srcpkgs/platformio/template

25 lines
1.1 KiB
Bash

# Template file for 'platformio'
pkgname=platformio
version=5.2.5
revision=2
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-bottle python3-click python3-colorama python3-marshmallow
python3-pyelftools python3-pyserial python3-requests
python3-semanticversion python3-setuptools python3-tabulate"
checkdepends="python3-pytest python3-jsondiff python3-wheel python3-pip
python3-Twisted python3-certifi git python3-zeroconf $depends"
short_desc="Ecosystem for embedded development"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/platformio/platformio-core"
changelog="https://raw.githubusercontent.com/platformio/platformio-core/develop/HISTORY.rst"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=26cc5b61d113250519257c156ae693ab8f6aea891283b28f1c4c67ffc81fb574
post_install() {
vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d
}