25 lines
1.1 KiB
Bash
25 lines
1.1 KiB
Bash
# Template file for 'platformio'
|
|
pkgname=platformio
|
|
version=5.1.0
|
|
revision=1
|
|
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=3579411f44f490282be3eba552a672bd8afe8d7198faefca25a3c5e0d19d34b7
|
|
|
|
post_install() {
|
|
vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d
|
|
}
|