adafruit-libraries: drop addon and depends

Those python packages have been deprecated ages ago since they were never
ported to Python 3. Time to say good bye and as no one reported they were
broken very likely no one used them so no need to add a dummy "broken" addon.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2023-10-20 23:59:57 +02:00
parent ab35590114
commit e65a0060e7
21 changed files with 0 additions and 274 deletions

View File

@ -1,13 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_ADS1x15"
PKG_VERSION="a963cc0ee83e2ba6d671b02df5febf7250f626aa"
PKG_SHA256="2f81a9a6b7b7f46b79faa5b01df0c25fa5f16af80842d74e35b5fbf01ab0c619"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_ADXL345"
PKG_VERSION="dca3d90b5477a304fa130f5cc90ea59e3968ce6f"
PKG_SHA256="22ec0fc6679cc3e9b5f0aff5cfeef34cbbf13e59aecfb829c2f0dc2d90b5fb8b"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_BMP"
PKG_VERSION="e8521e969afae3321d9789353d7e92ea9a5e9a56"
PKG_SHA256="e5e140c34e312f6a00c62b1bd47ebe3f1857009b1c202c18c7b092ebb2e1eb9c"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_CharLCD"
PKG_VERSION="bc75cad284766240424f29dc8e7b84d0caceb72e"
PKG_SHA256="eae4b446162feb533a469a9dacf6e750250f925561c9f7983a11d340e1dd98d4"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,32 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_DHT"
PKG_VERSION="18846deec6a96572b3f2c4a9edfb5bac55b46f5b"
PKG_SHA256="9125f8f42b4874db257a45184b866e8b424aa67230d2ffbc734b53686da7817f"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi."
PKG_TOOLCHAIN="manual"
pre_make_target() {
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
export LDSHARED="${CC} -shared"
}
make_target() {
case "${PROJECT}:${DEVICE}" in
"RPi:RPi")
PKG_RPI_VERSION="--force-pi"
;;
"RPi:RPi2")
PKG_RPI_VERSION="--force-pi2"
;;
*)
PKG_RPI_VERSION=""
esac
python3 setup.py build ${PKG_RPI_VERSION} --cross-compile
}

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_GPIO"
PKG_VERSION="c543d1df9c0a71bafb9f0a1f9dceecd79a920e74"
PKG_SHA256="d3cb74fd033ebe5aea1786a584d64ef5eb8082ef2bf0a568b01691612cd04e88"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi ."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_LED_Backpack"
PKG_VERSION="e34b9548e86e63747563a94f02b65b2980fdefff"
PKG_SHA256="244d2625cdaebdc68e299fedde276efa5c9f7c143681c4ee056fb8350a4f7167"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python library for controlling LED backpack displays."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_LSM303"
PKG_VERSION="37d288844515d7bb62a2329982eb033e92dceceb"
PKG_SHA256="609591f2add15e849d3bba320417c705a50a3ed077632baf20c12c8b740d5331"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_MCP3008"
PKG_VERSION="e721d26e650c99b0f6d3efd4ec30444e1adf5ccd"
PKG_SHA256="f5e4c847a87716c16f0209df95c281b5071549644a79a143a77b212f25c464dc"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_MCP4725"
PKG_VERSION="4d028bbcf58b011a8f14c5d95057b7e1dcc1064e"
PKG_SHA256="6ebbd1f76807b01dc2b723064e52b0c82fc45388265b8ec867e0a42a46a6e926"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_PCA9685"
PKG_VERSION="f86db2ca5de379748afd71e379ce2155f47d21e7"
PKG_SHA256="46e11dcfbfaab5756ddeb6ab31740cf8c7419ec1d32be2519f19882e7d86e426"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_PureIO"
PKG_VERSION="6f4976d91c52d70b67b28bba75a429b5328a52c1"
PKG_SHA256="891a4d077fe6610de6aa4b0dc5b9933a6c7db3492072df60c0383662f28c2ae9"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_SI1145"
PKG_VERSION="18c400643b39dbf29ab7ff8e74ab0c5c36ef5cf1"
PKG_SHA256="0238b2c01cfbb2890ae78468d2fc19c815748fc94860a4eb92b649d074476264"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/THP-JOE/Python_SI1145"
PKG_URL="https://github.com/THP-JOE/Python_SI1145/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python library for accessing the SI1145 temperature sensor on a Raspberry Pi"
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_SSD1306"
PKG_VERSION="8819e2d203df49f2843059d981b7347d9881c82b"
PKG_SHA256="ed1163dee2fe6c0c2065a429e1d93cff7397a309071ff83714c84566739680a2"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_TCS34725"
PKG_VERSION="6306f90b4601237a852acef89eeecc1261ce38b3"
PKG_SHA256="f2c3218551da55d7fdbe2499a6ffa3a0b8ed1709e4402c6b0e0f37b17d4aa81f"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_VCNL40xx"
PKG_VERSION="5c72575b7390fbedfae0b5fb2a881ca9efe9ca22"
PKG_SHA256="78346836965562720248138203a4af9dc6aa18815bda2a5b7842e3b9af9d1ea8"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_WS2801"
PKG_VERSION="d0c190715ffef1b00e5ffa2d7b7560e7f8ed4263"
PKG_SHA256="6219edb5c1d767ff950f5020bacdfb5ba608b4995eb14d6073fdec2f17f584cb"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi."
PKG_TOOLCHAIN="manual"

View File

@ -1 +0,0 @@
initial release

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,41 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="adafruit-libraries"
PKG_VERSION=""
PKG_REV="0"
PKG_ARCH="any"
PKG_ADDON_PROJECTS="RPi ARM"
PKG_LICENSE="MIT"
PKG_SITE=""
PKG_URL=""
PKG_DEPENDS_TARGET="Adafruit_Python_ADS1x15 Adafruit_Python_ADXL345 Adafruit_Python_BMP Adafruit_Python_CharLCD Adafruit_Python_DHT Adafruit_Python_GPIO Adafruit_Python_LED_Backpack Adafruit_Python_LSM303 Adafruit_Python_MCP3008 Adafruit_Python_MCP4725 Adafruit_Python_PCA9685 Adafruit_Python_PureIO Adafruit_Python_SI1145 Adafruit_Python_SSD1306 Adafruit_Python_TCS34725 Adafruit_Python_VCNL40xx Adafruit_Python_WS2801"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of libraries from Adafruit"
PKG_LONGDESC="This is a bundle of various Adafruit Python libraries. Included are: ADS1x15, ADXL345, BMP, CharLCD, DHT, GPIO, LED_Backpack, LSM303, MCP3008, MCP4725, PCA9685, PureIO, SI1145, SSD1306, TCS34725, VCNL40xx, WS2801"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Adafruit Libraries"
PKG_ADDON_TYPE="xbmc.python.module"
PKG_ADDON_REQUIRES="virtual.rpi-tools:8.0.102"
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
cp -PR $(get_build_dir Adafruit_Python_ADS1x15)/Adafruit_ADS1x15 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_ADXL345)/Adafruit_ADXL345 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_BMP)/Adafruit_BMP ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_CharLCD)/Adafruit_CharLCD ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_DHT)/build/lib/Adafruit_DHT ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_GPIO)/Adafruit_GPIO ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_LED_Backpack)/Adafruit_LED_Backpack ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_LSM303)/Adafruit_LSM303 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_MCP3008)/Adafruit_MCP3008 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_MCP4725)/Adafruit_MCP4725 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_PCA9685)/Adafruit_PCA9685 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_PureIO)/Adafruit_PureIO ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_SI1145)/SI1145 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_SSD1306)/Adafruit_SSD1306 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_TCS34725)/Adafruit_TCS34725 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_VCNL40xx)/Adafruit_VCNL40xx ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
cp -PR $(get_build_dir Adafruit_Python_WS2801)/Adafruit_WS2801 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
}

View File

@ -1,7 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
import xbmcgui
dialog = xbmcgui.Dialog()
dialog.ok('', 'This is a python-library-only addon')