void-packages/srcpkgs/platformio/template

26 lines
1.1 KiB
Bash

# Template file for 'platformio'
pkgname=platformio
version=5.1.1
revision=2
wrksrc="platformio-core-${version}"
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 $depends"
short_desc="Ecosystem for embedded development"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
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=f312c4cb535dc52c96b754cb54df3fee8001ab960894c7f2f9edd0e50d416aed
post_install() {
vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d
}