mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
python-bluepy: add new package
This commit is contained in:
parent
106e701806
commit
67d5fc46a7
@ -830,6 +830,7 @@ menu "External python modules"
|
||||
source "package/python-bcrypt/Config.in"
|
||||
source "package/python-beautifulsoup4/Config.in"
|
||||
source "package/python-bitstring/Config.in"
|
||||
source "package/python-bluepy/Config.in"
|
||||
source "package/python-bottle/Config.in"
|
||||
source "package/python-cached-property/Config.in"
|
||||
source "package/python-can/Config.in"
|
||||
|
8
package/python-bluepy/Config.in
Normal file
8
package/python-bluepy/Config.in
Normal file
@ -0,0 +1,8 @@
|
||||
\config BR2_PACKAGE_PYTHON_BLUEPY
|
||||
bool "python-bluepy"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_BLUEZ5_UTILS
|
||||
help
|
||||
Python interface to Bluetooth LE on Linux
|
||||
|
||||
https://github.com/IanHarvey/bluepy
|
1
package/python-bluepy/python-bluepy.hash
Normal file
1
package/python-bluepy/python-bluepy.hash
Normal file
@ -0,0 +1 @@
|
||||
sha256 2a71edafe103565fb990256ff3624c1653036a837dfc90e1e32b839f83971cec bluepy-1.3.0.tar.gz
|
26
package/python-bluepy/python-bluepy.mk
Normal file
26
package/python-bluepy/python-bluepy.mk
Normal file
@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-bluepy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_BLUEPY_VERSION = 1.3.0
|
||||
PYTHON_BLUEPY_SOURCE = bluepy-$(PYTHON_BLUEPY_VERSION).tar.gz
|
||||
PYTHON_BLUEPY_SITE = https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e
|
||||
PYTHON_BLUEPY_SETUP_TYPE = setuptools
|
||||
PYTHON_BLUEPY_LICENSE = GPL-2.0+
|
||||
PYTHON_BLUEPY_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_BLUEPY_ENV = CC=$(TARGET_CROSS)gcc
|
||||
|
||||
define PYTHON_BLUEPY_REMOVE_CRAP
|
||||
$(RM) $(TARGET_DIR)/usr/bin/blescan
|
||||
$(RM) $(TARGET_DIR)/usr/bin/thingy52
|
||||
$(RM) $(TARGET_DIR)/usr/bin/sensortag
|
||||
$(RM) $(TARGET_DIR)/usr/lib/python*/site-packages/bluepy/bluez-src.tgz
|
||||
$(RM) $(TARGET_DIR)/usr/lib/python*/site-packages/bluepy/*.{h,c}
|
||||
$(RM) $(TARGET_DIR)/usr/lib/python*/site-packages/bluepy/Makefile
|
||||
endef
|
||||
|
||||
PYTHON_BLUEPY_POST_INSTALL_TARGET_HOOKS += PYTHON_BLUEPY_REMOVE_CRAP
|
||||
|
||||
$(eval $(python-package))
|
Loading…
x
Reference in New Issue
Block a user