diff --git a/srcpkgs/platformio/template b/srcpkgs/platformio/template new file mode 100644 index 00000000000..235c60d6beb --- /dev/null +++ b/srcpkgs/platformio/template @@ -0,0 +1,23 @@ +# Template file for 'platformio' +pkgname=platformio +version=4.2.0 +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 " +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=ae60d49ab6ac4c07d46196c30119339ae16f0e3c792c51376fdd12faa6204b48 + +post_install() { + vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d + rm -rf ${DESTDIR}/${py3_sitelib}/scripts +}