diff --git a/DEVELOPERS b/DEVELOPERS index e7e4a59e94..26b25edd98 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -666,6 +666,7 @@ F: board/beelink/gs1/ F: configs/beelink_gs1_defconfig N: Colin Foster +F: package/python-tftpy/ F: package/rauc-hawkbit-updater/ N: Corentin Guillevic diff --git a/package/Config.in b/package/Config.in index 3ce78a2461..7e2fccc8b1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1337,6 +1337,7 @@ menu "External python modules" source "package/python-termcolor/Config.in" source "package/python-terminaltables/Config.in" source "package/python-texttable/Config.in" + source "package/python-tftpy/Config.in" source "package/python-thrift/Config.in" source "package/python-tinycss2/Config.in" source "package/python-tinyrpc/Config.in" diff --git a/package/python-tftpy/Config.in b/package/python-tftpy/Config.in new file mode 100644 index 0000000000..ef21ac58de --- /dev/null +++ b/package/python-tftpy/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_TFTPY + bool "python-tftpy" + help + tftpy is a pure Python implementation of the + Trivial FTP protocol. + + https://github.com/msoulier/tftpy diff --git a/package/python-tftpy/python-tftpy.hash b/package/python-tftpy/python-tftpy.hash new file mode 100644 index 0000000000..1fae4fdeef --- /dev/null +++ b/package/python-tftpy/python-tftpy.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 2bfbf6377f6e3b6ba647f0ac614e9cbc225d1cc35b52991860ba6ea1ec58ef9d python-tftpy-0.8.2.tar.gz +sha256 4616f0c71e62ce2e0f6cdd3aef6d3c285f8730c9304b88a9f3ce3f14c2e6f756 LICENSE diff --git a/package/python-tftpy/python-tftpy.mk b/package/python-tftpy/python-tftpy.mk new file mode 100644 index 0000000000..829bd08b96 --- /dev/null +++ b/package/python-tftpy/python-tftpy.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-tftpy +# +################################################################################ + +PYTHON_TFTPY_VERSION = 0.8.2 +PYTHON_TFTPY_SITE = $(call github,msoulier,tftpy,$(PYTHON_TFTPY_VERSION)) +PYTHON_TFTPY_LICENSE = MIT +PYTHON_TFTPY_LICENSE_FILES = LICENSE.txt +PYTHON_TFTPY_SETUP_TYPE = setuptools + +$(eval $(python-package))