From 014bbf9653595f8eb2a9f1e797fb57e919eef9ce Mon Sep 17 00:00:00 2001 From: Peter Steenbergen Date: Wed, 22 Sep 2021 16:00:20 +0200 Subject: [PATCH] Add python wheel package --- buildroot-external/Config.in | 1 + buildroot-external/configs/rpi4_64-gui_defconfig | 1 + buildroot-external/package/python-wheel/Config.in | 8 ++++++++ .../package/python-wheel/python-wheel.hash | 2 ++ .../package/python-wheel/python-wheel.mk | 12 ++++++++++++ 5 files changed, 24 insertions(+) create mode 100644 buildroot-external/package/python-wheel/Config.in create mode 100644 buildroot-external/package/python-wheel/python-wheel.hash create mode 100644 buildroot-external/package/python-wheel/python-wheel.mk diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in index c78c4692..fa1177f1 100644 --- a/buildroot-external/Config.in +++ b/buildroot-external/Config.in @@ -203,6 +203,7 @@ menu "Additional external python modules" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-uritemplate/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-url-normalize/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-vlc/Config.in" + source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wheel/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-api/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-for-humans/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-xmlrunner/Config.in" diff --git a/buildroot-external/configs/rpi4_64-gui_defconfig b/buildroot-external/configs/rpi4_64-gui_defconfig index e84b38ff..de53f24f 100644 --- a/buildroot-external/configs/rpi4_64-gui_defconfig +++ b/buildroot-external/configs/rpi4_64-gui_defconfig @@ -680,6 +680,7 @@ BR2_PACKAGE_PYTHON_TAILHEAD=y BR2_PACKAGE_PYTHON_TZLOCAL=y BR2_PACKAGE_PYTHON_URL_NORMALIZE=y BR2_PACKAGE_PYTHON_VLC=y +BR2_PACKAGE_PYTHON_WHEEL=y BR2_PACKAGE_PYTHON_WIKIPEDIA_FOR_HUMANS=y BR2_PACKAGE_PYTHON_XMLRUNNER=y BR2_PACKAGE_PYTHON_YAGMAIL=y diff --git a/buildroot-external/package/python-wheel/Config.in b/buildroot-external/package/python-wheel/Config.in new file mode 100644 index 00000000..0f91f833 --- /dev/null +++ b/buildroot-external/package/python-wheel/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_WHEEL + bool "python-wheel" + help + This library is the reference implementation + of the Python wheel packaging standard, as + defined in PEP 427. + + https://github.com/pypa/wheel diff --git a/buildroot-external/package/python-wheel/python-wheel.hash b/buildroot-external/package/python-wheel/python-wheel.hash new file mode 100644 index 00000000..3e49bead --- /dev/null +++ b/buildroot-external/package/python-wheel/python-wheel.hash @@ -0,0 +1,2 @@ +# sha256 from https://pypi.org/pypi/ +sha256 e2ef7239991699e3355d54f8e968a21bb940a1dbf34a4d226741e64462516fad wheel-0.37.0.tar.gz diff --git a/buildroot-external/package/python-wheel/python-wheel.mk b/buildroot-external/package/python-wheel/python-wheel.mk new file mode 100644 index 00000000..9c41d2f2 --- /dev/null +++ b/buildroot-external/package/python-wheel/python-wheel.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# python-wheel +# +################################################################################ + +PYTHON_WHEEL_VERSION = 0.37.0 +PYTHON_WHEEL_SOURCE = wheel-$(PYTHON_WHEEL_VERSION).tar.gz +PYTHON_WHEEL_SITE = https://files.pythonhosted.org/packages/4e/be/8139f127b4db2f79c8b117c80af56a3078cc4824b5b94250c7f81a70e03b +PYTHON_WHEEL_SETUP_TYPE = setuptools + +$(eval $(python-package))