smlinux/extra/adafruit-io/adafruit-io.SMBuild

29 lines
747 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=adafruit-io
version=2.7.0
build=1sml
homepage="https://pypi.org/project/typing/"
download="https://files.pythonhosted.org/packages/44/d0/7b8e112dfb593f2622dc43edbbea5a1007062ad2d75f330dec135faf6b98/adafruit-io-2.7.0.tar.gz"
desc="Python Adafruit module"
requires="python3 python-setuptools"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
python setup.py install --root=$pkg
cp LICENSE* $pkgdocs/
mkfinalpkg
}
sha512sums="
75f9561def65c31836dd336ffc8cdc4a0effe90a90b98d32c059667570618e8f46f5183bc2a8e8091e5c031cf9b2cbf590f6484b0f9ab4915bbc979051e99f80 adafruit-io-2.7.0.tar.lz
"