
Receipt for package "python-rpi-adafruit"
# SliTaz package receipt. PACKAGE="python-rpi-adafruit" GITHASH="99a2955eb6ddc81998ade7359ebb505fb70919d0" VERSION=${GITHASH:0:6} CATEGORY="system-tools" SHORT_DESC="Adafruit Industries Python code for the RPi" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" SOURCE="python-adafruit-code" TARBALL="$PACKAGE-$VERSION.tar.zip" WEB_SITE="https://www.adafruit.com/" WGET_URL="https://codeload.github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/zip/$GITHASH" HOST_ARCH="arm" # Leds support for now DEPENDS="python python-smbus i2c-tools slitaz-arm-rpi" # What is the latest version available today? current_version() { wget -O - https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/commits/master 2>/dev/null | \ sed '/commits_list_item/!d;s|.*commits/\(......\).*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { python="$fs/usr/lib/python2.7" mkdir -p ${python} ${fs}/usr/share/adafruit cp -a ${src}/Adafruit_LEDBackpack ${fs}/usr/share/adafruit/LEDBackpack # Can be imported to write custom code cp ${src}/Adafruit_I2C/* ${python} mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_7Segment.py ${python} mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_8x8.py ${python} mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_LEDBackpack.py ${python} rm ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_I2C.py }
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)