# HG changeset patch # User Christophe Lincoln # Date 1399174407 -7200 # Node ID c2c48e06bc0a17de1fc367049ca93e59bb481887 # Parent d6bd3fc6e0bd07c1353eabeeef931a250cfef0ca Rename python-rpi-adafruit package diff -r d6bd3fc6e0bd -r c2c48e06bc0a python-rpi-adafruit-leds/receipt --- a/python-rpi-adafruit-leds/receipt Sun May 04 04:42:11 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-rpi-adafruit-leds" -GITHASH="99a2955eb6ddc81998ade7359ebb505fb70919d0" -VERSION=${GITHASH:0:6} -CATEGORY="system-tools" -SHORT_DESC="Adafruit Industries Python code for the RPi (7segment, 8x8 LED)" -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" - -DEPENDS="python python-smbus ic2-tools slitaz-arm-rpi" - -# 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 -} diff -r d6bd3fc6e0bd -r c2c48e06bc0a python-rpi-adafruit/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-rpi-adafruit/receipt Sun May 04 05:33:27 2014 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="python-rpi-adafruit-leds" +GITHASH="99a2955eb6ddc81998ade7359ebb505fb70919d0" +VERSION=${GITHASH:0:6} +CATEGORY="system-tools" +SHORT_DESC="Adafruit Industries Python code for the RPi (7segment, 8x8 LED)" +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" + +DEPENDS="python python-smbus ic2-tools slitaz-arm-rpi" + +# 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 +}