void-packages/srcpkgs/python-msp430-tools/template

29 lines
835 B
Bash

# Template file for 'python-msp430-tools'
pkgname=python-msp430-tools
version=0.6
revision=1
noarch=yes
wrksrc="${pkgname}"
build_style=python2-module
pycompile_module="msp430"
hostmakedepends="python-setuptools"
depends="python-pyserial"
short_desc="Collection of tools related to the MSP430 embedded processor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://pypi.python.org/pypi/python-msp430-tools"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a18edfcf99fdddd82d9cd64e19a5688d164cd464030ae55c5f6bac471ac48b44
post_extract() {
for f in scripts/*.py; do
mv $f ${f%.py}
done
}
post_install() {
vlicense LICENSE.txt LICENSE
rm ${DESTDIR}/usr/bin/msp430-gdb # clash with msp430-toolchain
rm ${DESTDIR}/usr/bin/msp430-downloader # needs EasyDialogs
}