package/python-weasyprint: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2021-11-27 04:37:35 -07:00 committed by Thomas Petazzoni
parent ee80fbcc79
commit b33e39e3ea
5 changed files with 38 additions and 0 deletions

View File

@ -1272,6 +1272,7 @@ F: package/python-snappy/
F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-tinycss2/
F: package/python-weasyprint/
F: package/python-yarl/
F: package/python-zopfli/

View File

@ -1271,6 +1271,7 @@ menu "External python modules"
source "package/python-visitor/Config.in"
source "package/python-watchdog/Config.in"
source "package/python-wcwidth/Config.in"
source "package/python-weasyprint/Config.in"
source "package/python-web2py/Config.in"
source "package/python-webencodings/Config.in"
source "package/python-webob/Config.in"

View File

@ -0,0 +1,17 @@
config BR2_PACKAGE_PYTHON_WEASYPRINT
bool "python-weasyprint"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_BROTLI # runtime
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_ZOPFLI # runtime
help
The Awesome Document Factory.
https://www.courtbouillon.org/weasyprint

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/weasyprint/json
md5 a90fd2d5a581a0e218943af3a8b64a31 weasyprint-53.4.tar.gz
sha256 10ccb17d55c73096bdf1edd3efe58cb855b07e4c307d9bad4ebc9a3f13ff4580 weasyprint-53.4.tar.gz
# Locally computed sha256 checksums
sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-weasyprint
#
################################################################################
PYTHON_WEASYPRINT_VERSION = 53.4
PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz
PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/72/25/336e274fde0e48cf9979d44667411fbcfa55d323fd7672068807b6de2f89
PYTHON_WEASYPRINT_SETUP_TYPE = distutils
PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause
PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE
$(eval $(python-package))