diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig index 668619f18f..91d2ff8653 100644 --- a/configs/raspberrypi2_defconfig +++ b/configs/raspberrypi2_defconfig @@ -80,6 +80,7 @@ BR2_PACKAGE_RPI_USERLAND=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_PYTHON_HASHLIB=y BR2_PACKAGE_PYTHON_JINJA2=y +BR2_PACKAGE_PYTHON_PANTILTHAT=y BR2_PACKAGE_PYTHON_PICAMERA=y BR2_PACKAGE_PYTHON_PILLOW=y BR2_PACKAGE_PYTHON_PYCURL=y diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig index 7af60d7e41..70f195d1fe 100644 --- a/configs/raspberrypi3_defconfig +++ b/configs/raspberrypi3_defconfig @@ -80,6 +80,7 @@ BR2_PACKAGE_RPI_USERLAND=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_PYTHON_HASHLIB=y BR2_PACKAGE_PYTHON_JINJA2=y +BR2_PACKAGE_PYTHON_PANTILTHAT=y BR2_PACKAGE_PYTHON_PICAMERA=y BR2_PACKAGE_PYTHON_PILLOW=y BR2_PACKAGE_PYTHON_PYCURL=y diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig index d9e6534edf..921a41b9fb 100644 --- a/configs/raspberrypi4_defconfig +++ b/configs/raspberrypi4_defconfig @@ -81,6 +81,7 @@ BR2_PACKAGE_RPI_USERLAND=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_PYTHON_HASHLIB=y BR2_PACKAGE_PYTHON_JINJA2=y +BR2_PACKAGE_PYTHON_PANTILTHAT=y BR2_PACKAGE_PYTHON_PICAMERA=y BR2_PACKAGE_PYTHON_PILLOW=y BR2_PACKAGE_PYTHON_PYCURL=y diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig index 83b3b8479a..a31aabfea8 100644 --- a/configs/raspberrypi_defconfig +++ b/configs/raspberrypi_defconfig @@ -87,6 +87,7 @@ BR2_PACKAGE_RPI_USERLAND=y BR2_PACKAGE_USB_MODESWITCH_DATA=y BR2_PACKAGE_PYTHON_HASHLIB=y BR2_PACKAGE_PYTHON_JINJA2=y +BR2_PACKAGE_PYTHON_PANTILTHAT=y BR2_PACKAGE_PYTHON_PICAMERA=y BR2_PACKAGE_PYTHON_PILLOW=y BR2_PACKAGE_PYTHON_PYCURL=y diff --git a/package/Config.in b/package/Config.in index 633d8803f1..2bbd3b0559 100644 --- a/package/Config.in +++ b/package/Config.in @@ -953,6 +953,7 @@ menu "External python modules" source "package/python-oauthlib/Config.in" source "package/python-paho-mqtt/Config.in" source "package/python-pam/Config.in" + source "package/python-pantilthat/Config.in" source "package/python-paramiko/Config.in" source "package/python-passlib/Config.in" source "package/python-pathlib2/Config.in" diff --git a/package/python-pantilthat/Config.in b/package/python-pantilthat/Config.in new file mode 100644 index 0000000000..679562e1be --- /dev/null +++ b/package/python-pantilthat/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PANTILTHAT + bool "python-pantilthat" + select BR2_PACKAGE_PYTHON_SPIDEV + select BR2_PACKAGE_PYTHON_RPI_GPIO + help + Python library for driving Pimoroni PanTiltHAT! + + https://github.com/pimoroni/pantilt-hat diff --git a/package/python-pantilthat/python-pantilthat.hash b/package/python-pantilthat/python-pantilthat.hash new file mode 100644 index 0000000000..5c8b8b4f72 --- /dev/null +++ b/package/python-pantilthat/python-pantilthat.hash @@ -0,0 +1,3 @@ +# md5, sha256 from https://pypi.org/pypi/pantilthat/json +md5 ae1ec7f99db10a81572ba702161763dd pantilthat-0.0.7.tar.gz +sha256 812afa45d0220f6ef28a36b87a01ef816c5bd1c545f1783bd9aaf47056e4e696 pantilthat-0.0.7.tar.gz diff --git a/package/python-pantilthat/python-pantilthat.mk b/package/python-pantilthat/python-pantilthat.mk new file mode 100644 index 0000000000..0365cf4c59 --- /dev/null +++ b/package/python-pantilthat/python-pantilthat.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-pantilthat +# +################################################################################ + +PYTHON_PANTILTHAT_VERSION = 0.0.7 +PYTHON_PANTILTHAT_SOURCE = pantilthat-$(PYTHON_PANTILTHAT_VERSION).tar.gz +PYTHON_PANTILTHAT_SITE = https://files.pythonhosted.org/packages/c7/e1/3d5403cf568b5232ca04d8c90e82af4486f1a2f34e1ce82babab40820b0e +PYTHON_PANTILTHAT_SETUP_TYPE = setuptools +PYTHON_PANTILTHAT_LICENSE = MIT + +$(eval $(python-package))