update buildroot to 2017.02.11
This commit is contained in:
6
bsp/buildroot-2017.02.11/package/python-serial/Config.in
Normal file
6
bsp/buildroot-2017.02.11/package/python-serial/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_SERIAL
|
||||
bool "python-serial"
|
||||
help
|
||||
python-serial is a Python library to access serial ports.
|
||||
|
||||
https://github.com/pyserial/pyserial
|
||||
@@ -0,0 +1,3 @@
|
||||
# md5 from http://pypi.python.org/pypi?:action=show_md5&digest=e849af7f8b7ec75cbc7a53da67c51a51, sha256 locally computed
|
||||
md5 e849af7f8b7ec75cbc7a53da67c51a51 pyserial-3.1.tar.gz
|
||||
sha256 c8ffdcbd8bfd308842409e558848c32aa3499a1bfe95a591e4210072b9520f1e pyserial-3.1.tar.gz
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-serial
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_SERIAL_VERSION = 3.1
|
||||
PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
|
||||
PYTHON_SERIAL_SITE = https://pypi.python.org/packages/ce/9c/694ce79a9d4a164e109aeba1a40fba23336f3b7554978553e22a5d41d54d
|
||||
PYTHON_SERIAL_LICENSE = Python Software Foundation License
|
||||
PYTHON_SERIAL_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_SERIAL_SETUP_TYPE = setuptools
|
||||
|
||||
# aio.py is an experimental module, that is compatible only with
|
||||
# Python 3, so remove it for Python 2 environment or it will
|
||||
# cause compilation errors
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
define PYTHON_SERIAL_REMOVE_AIO_PY
|
||||
rm $(@D)/serial/aio.py
|
||||
endef
|
||||
PYTHON_SERIAL_POST_EXTRACT_HOOKS = PYTHON_SERIAL_REMOVE_AIO_PY
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user