Skip to contentSkip to conversation

package/python-tinyhtml5: new package

PATCH New James Hilliard 1 participant 2 messages Nov 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-tinyhtml5: new package

---
 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
package/Config.in +1 -0
index 876b340a8a..15b35fb55d 100644
@@ -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"
package/python-tinyhtml5/Config.in new file +7 -0
new file mode 100644
index 0000000000..3243d143e7
@@ -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
package/python-tinyhtml5/python-tinyhtml5.hash new file +5 -0
new file mode 100644
index 0000000000..55afa09597
@@ -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
package/python-tinyhtml5/python-tinyhtml5.mk new file +14 -0
new file mode 100644
index 0000000000..373ab8aa54
@@ -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))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/python-weasyprint: bump to version 63.0

Replace python-html5lib dependency with python-tinyhtml5.

---
 package/python-weasyprint/Config.in              | 2 +-
 package/python-weasyprint/python-weasyprint.hash | 4 ++--
 package/python-weasyprint/python-weasyprint.mk   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
package/python-weasyprint/Config.in +1 -1
index 65210fb1eb..5ed84e075e 100644
@@ -5,11 +5,11 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime
 	select BR2_PACKAGE_PYTHON_FONTTOOLS # runtime
-	select BR2_PACKAGE_PYTHON_HTML5LIB # runtime
 	select BR2_PACKAGE_PYTHON_PILLOW # runtime
 	select BR2_PACKAGE_PYTHON_PYDYF # runtime
 	select BR2_PACKAGE_PYTHON_PYPHEN # runtime
 	select BR2_PACKAGE_PYTHON_TINYCSS2 # runtime
+	select BR2_PACKAGE_PYTHON_TINYHTML5 # runtime
 	select BR2_PACKAGE_PYTHON_ZOPFLI # runtime
 	help
 	  The Awesome Document Factory.
package/python-weasyprint/python-weasyprint.hash +2 -2
index 01a3488739..3e27405846 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/weasyprint/json
-md5  4d3fd0b160d17d5cb36c2f2c1c231723  weasyprint-62.3.tar.gz
-sha256  8d8680d732f7fa0fcbc587692a5a5cb095c3525627066918d6e203cbf42b7fcd  weasyprint-62.3.tar.gz
+md5  3c9e76bdee0db8aaef391d658cbdcb7c  weasyprint-63.0.tar.gz
+sha256  ec24c64fdcc63e4168b2c24eb89b1ee8a711281a7d7fdb3eed3f54995489c9d1  weasyprint-63.0.tar.gz
 # Locally computed sha256 checksums
 sha256  bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da  LICENSE
package/python-weasyprint/python-weasyprint.mk +2 -2
index 06f41fcfb8..2619351cde 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_WEASYPRINT_VERSION = 62.3
+PYTHON_WEASYPRINT_VERSION = 63.0
 PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz
-PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/fd/22/2d76310cd2ea5bbf03c691a08d48626f49853b7261a51bbdc0f834d746ca
+PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/78/57/213cd566b7e14130d62babd91c5c5c2b94cbdbcdc0c7a0936a236bc88db0
 PYTHON_WEASYPRINT_SETUP_TYPE = flit
 PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
 PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot