aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 14:46:17 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 15:08:05 +0000
commit72c16021655b037d4958a32961a730eedf78f307 (patch)
treed4614bc7f0205167ff707c34ea5754e61cce79cf
parentfeddc9366fb384e9fdbd93340681a0f152e7b5cf (diff)
downloadports-72c16021655b037d4958a32961a730eedf78f307.tar.gz
ports-72c16021655b037d4958a32961a730eedf78f307.zip
textproc/py-xhtml2pdf: Update to 0.2.15
-rw-r--r--textproc/py-xhtml2pdf/Makefile7
-rw-r--r--textproc/py-xhtml2pdf/distinfo6
-rw-r--r--textproc/py-xhtml2pdf/files/patch-pyproject.toml6
3 files changed, 10 insertions, 9 deletions
diff --git a/textproc/py-xhtml2pdf/Makefile b/textproc/py-xhtml2pdf/Makefile
index 9dd24f95f890..8ef663df01a5 100644
--- a/textproc/py-xhtml2pdf/Makefile
+++ b/textproc/py-xhtml2pdf/Makefile
@@ -1,12 +1,13 @@
PORTNAME= xhtml2pdf
-PORTVERSION= 0.2.13
+PORTVERSION= 0.2.15
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PDF generator using HTML and CSS
-WWW= https://github.com/xhtml2pdf/xhtml2pdf
+WWW= https://xhtml2pdf.readthedocs.io/en/latest/ \
+ https://github.com/xhtml2pdf/xhtml2pdf
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
@@ -20,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arabic-reshaper>=3.0.0:textproc/py-arabic-re
${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.19.5:security/py-pyhanko-certvalidator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypdf>=3.1.0:print/py-pypdf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-bidi>=0.4.2:textproc/py-python-bidi@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}reportlab>=3.6:print/py-reportlab@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}reportlab>=4.0.4:print/py-reportlab@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}svglib>=1.2.1:converters/py-svglib@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR}
diff --git a/textproc/py-xhtml2pdf/distinfo b/textproc/py-xhtml2pdf/distinfo
index 297dce3a53f5..133c707ea9fa 100644
--- a/textproc/py-xhtml2pdf/distinfo
+++ b/textproc/py-xhtml2pdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699774592
-SHA256 (xhtml2pdf-0.2.13.tar.gz) = ab48cb6482e441a0d117f34ffab605181d2689e56a5e54a24d97f2b9d9a8776b
-SIZE (xhtml2pdf-0.2.13.tar.gz) = 117512
+TIMESTAMP = 1708449486
+SHA256 (xhtml2pdf-0.2.15.tar.gz) = cc9c68551677f831d836e7fc94196fa777d3c4d500754aa4dc5c02d45c0e19d1
+SIZE (xhtml2pdf-0.2.15.tar.gz) = 138749
diff --git a/textproc/py-xhtml2pdf/files/patch-pyproject.toml b/textproc/py-xhtml2pdf/files/patch-pyproject.toml
index 0c09b33b6a79..cb4c5b259ce3 100644
--- a/textproc/py-xhtml2pdf/files/patch-pyproject.toml
+++ b/textproc/py-xhtml2pdf/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig 2023-11-09 01:11:37 UTC
+--- pyproject.toml.orig 2024-02-08 23:06:24 UTC
+++ pyproject.toml
@@ -54,7 +54,7 @@ dependencies = [
"pyhanko-certvalidator>=0.19.5",
"pypdf>=3.1.0",
"python-bidi>=0.4.2",
-- "reportlab[pycairo]>=4.0.4",
-+ "reportlab[pycairo]>=3.6",
+- "reportlab>=4.0.4,<4.1",
++ "reportlab>=4.0.4",
"svglib>=1.2.1",
]
dynamic = ["version"]