A host variant of python-tftpy will be needed for Snagboot, so enable it, and add a very simple test for the host package. We considered adding a test that actually starts a TFTP server with tftpy and then downloads from that server with the client-side of tftpy, but allocating an available UDP port reliably is tricky, so we kept the test case very simple for now. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Colin Foster <colin.foster@in-advantage.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
15 lines
444 B
Makefile
15 lines
444 B
Makefile
################################################################################
|
|
#
|
|
# python-tftpy
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_TFTPY_VERSION = 0.8.5
|
|
PYTHON_TFTPY_SITE = $(call github,msoulier,tftpy,$(PYTHON_TFTPY_VERSION))
|
|
PYTHON_TFTPY_LICENSE = MIT
|
|
PYTHON_TFTPY_LICENSE_FILES = LICENSE
|
|
PYTHON_TFTPY_SETUP_TYPE = setuptools
|
|
|
|
$(eval $(python-package))
|
|
$(eval $(host-python-package))
|