void-packages/srcpkgs/platformio/template

24 lines
905 B
Bash

# Template file for 'platformio'
pkgname=platformio
version=4.2.1
revision=1
archs=noarch
wrksrc="platformio-core-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-bottle python3-click python3-colorama python3-marshmallow
python3-pyelftools python3-pyserial python3-requests
python3-semanticversion python3-setuptools python3-tabulate"
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=9b405e4ab29232673f28a4302edabaeef15fb963b00aae6b37f6e6b4068bd26c
post_install() {
vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d
rm -rf ${DESTDIR}/${py3_sitelib}/scripts
}