From 02e859b8d30fd98e366180f9ab2465ca141b0597 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Fri, 1 Nov 2024 16:14:22 -0600 Subject: [PATCH] package/python-tinyhtml5: new package Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- package/Config.in | 1 + package/python-tinyhtml5/Config.in | 7 +++++++ package/python-tinyhtml5/python-tinyhtml5.hash | 5 +++++ package/python-tinyhtml5/python-tinyhtml5.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-tinyhtml5/Config.in create mode 100644 package/python-tinyhtml5/python-tinyhtml5.hash create mode 100644 package/python-tinyhtml5/python-tinyhtml5.mk diff --git a/package/Config.in b/package/Config.in index 876b340a8a..15b35fb55d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1425,6 +1425,7 @@ menu "External python modules" source "package/python-tftpy/Config.in" source "package/python-thrift/Config.in" source "package/python-tinycss2/Config.in" + source "package/python-tinyhtml5/Config.in" source "package/python-tinyrpc/Config.in" source "package/python-tomako/Config.in" source "package/python-toml/Config.in" diff --git a/package/python-tinyhtml5/Config.in b/package/python-tinyhtml5/Config.in new file mode 100644 index 0000000000..3243d143e7 --- /dev/null +++ b/package/python-tinyhtml5/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_TINYHTML5 + bool "python-tinyhtml5" + select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime + help + HTML parser based on the WHATWG HTML specification. + + https://github.com/CourtBouillon/tinyhtml5 diff --git a/package/python-tinyhtml5/python-tinyhtml5.hash b/package/python-tinyhtml5/python-tinyhtml5.hash new file mode 100644 index 0000000000..55afa09597 --- /dev/null +++ b/package/python-tinyhtml5/python-tinyhtml5.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tinyhtml5/json +md5 c5fa2991d6d1ea65e923279c435b816e tinyhtml5-2.0.0.tar.gz +sha256 086f998833da24c300c414d9fe81d9b368fd04cb9d2596a008421cbc705fcfcc tinyhtml5-2.0.0.tar.gz +# Locally computed sha256 checksums +sha256 16a39991619e92f18680932da2a9199fdf7d95df3ecaedc52ea06218aabafd6f LICENSE diff --git a/package/python-tinyhtml5/python-tinyhtml5.mk b/package/python-tinyhtml5/python-tinyhtml5.mk new file mode 100644 index 0000000000..373ab8aa54 --- /dev/null +++ b/package/python-tinyhtml5/python-tinyhtml5.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-tinyhtml5 +# +################################################################################ + +PYTHON_TINYHTML5_VERSION = 2.0.0 +PYTHON_TINYHTML5_SOURCE = tinyhtml5-$(PYTHON_TINYHTML5_VERSION).tar.gz +PYTHON_TINYHTML5_SITE = https://files.pythonhosted.org/packages/fd/03/6111ed99e9bf7dfa1c30baeef0e0fb7e0bd387bd07f8e5b270776fe1de3f +PYTHON_TINYHTML5_SETUP_TYPE = flit +PYTHON_TINYHTML5_LICENSE = MIT +PYTHON_TINYHTML5_LICENSE_FILES = LICENSE + +$(eval $(python-package))