git: 743639cefff4 - main - print/py-weasyprint: 51 -> 58.0

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Sat, 25 Feb 2023 12:55:31 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=743639cefff4c6df270d95c60c5f36dff429d004

commit 743639cefff4c6df270d95c60c5f36dff429d004
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2023-02-25 12:52:15 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2023-02-25 12:52:15 +0000

    print/py-weasyprint: 51 -> 58.0
    
    - Substantial changes of used libraries.
    - change maintainer
    
    PR:             269378,
    Reported by:    p5B2EA84B3@t-online.de
    Approved by:    darcy@druid.net (old maintainer)
    Changes:        https://doc.courtbouillon.org/weasyprint/stable/changelog.html
---
 print/py-weasyprint/Makefile | 17 ++++++++++-------
 print/py-weasyprint/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile
index e83c02e2ce79..ec0197abc96c 100644
--- a/print/py-weasyprint/Makefile
+++ b/print/py-weasyprint/Makefile
@@ -1,28 +1,31 @@
 PORTNAME=	weasyprint
-PORTVERSION=	51
+PORTVERSION=	58.0
 CATEGORIES=	print python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	WeasyPrint-${PORTVERSION}
 
-MAINTAINER=	darcy@druid.net
+MAINTAINER=	pi@FreeBSD.org
 COMMENT=	Converts HTML/CSS documents to PDF
 WWW=		https://weasyprint.org/
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0.1:devel/py-pytest-runner@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.15.4:graphics/py-cairo@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0.1:devel/py-pytest-runner@${PY_FLAVOR}	\
+		${PYTHON_PKGNAMEPREFIX}flit>=3.8:devel/py-flit@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cairo>=1.15.4:graphics/py-cairo@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cairocffi>=0.9.0:graphics/py-cairocffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cairosvg>=2.4.0:graphics/py-cairosvg@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cssselect2>=0.1:textproc/py-cssselect2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fonttools>=4.38:print/py-fonttools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}html5lib>=0.999999999:www/py-html5lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydyf>=0.5.0:print/py-pydyf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyphen>=0.9.1:textproc/py-pyphen@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tinycss2>=1.0.0:textproc/py-tinycss2@${PY_FLAVOR}
 
-USES=		gnome python:3.6+
-USE_PYTHON=	distutils autoplist
+USES=		gnome python:3.8+
+USE_PYTHON=	autoplist pep517
 USE_GNOME=	gdkpixbuf2 pango
 
 NO_ARCH=	yes
diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo
index 2e8dada48b06..b7ce52e40e51 100644
--- a/print/py-weasyprint/distinfo
+++ b/print/py-weasyprint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578675116
-SHA256 (WeasyPrint-51.tar.gz) = b3e971973a4f03c1430e6b838b75b5b57630415fcae8666d2be1347630ff6d6a
-SIZE (WeasyPrint-51.tar.gz) = 308411
+TIMESTAMP = 1677329390
+SHA256 (weasyprint-58.0.tar.gz) = 70f482cad8e53c2c3eae9cf86af412eb93405b16ac8781b519ea3326d475bd6f
+SIZE (weasyprint-58.0.tar.gz) = 433708