mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
python-serial: update
we no longer need to remove aio.py since asyncio has been moved to python-serial-asyncio Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
01d7686c90
commit
b7cc0e9f46
@@ -4,21 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_SERIAL_VERSION = 3.1
|
||||
PYTHON_SERIAL_VERSION = 3.4
|
||||
PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
|
||||
PYTHON_SERIAL_SITE = https://pypi.python.org/packages/ce/9c/694ce79a9d4a164e109aeba1a40fba23336f3b7554978553e22a5d41d54d
|
||||
PYTHON_SERIAL_SITE = https://files.pythonhosted.org/packages/cc/74/11b04703ec416717b247d789103277269d567db575d2fd88f25d9767fe3d
|
||||
PYTHON_SERIAL_LICENSE = BSD-3-Clause
|
||||
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