summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-xhtml2pdf/Makefile10
-rw-r--r--textproc/py-xhtml2pdf/distinfo6
-rw-r--r--textproc/py-xhtml2pdf/files/patch-pyproject.toml11
3 files changed, 20 insertions, 7 deletions
diff --git a/textproc/py-xhtml2pdf/Makefile b/textproc/py-xhtml2pdf/Makefile
index c5e38c19b1cb..9dd24f95f890 100644
--- a/textproc/py-xhtml2pdf/Makefile
+++ b/textproc/py-xhtml2pdf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xhtml2pdf
-PORTVERSION= 0.2.11
+PORTVERSION= 0.2.13
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,19 +11,21 @@ WWW= https://github.com/xhtml2pdf/xhtml2pdf
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arabic-reshaper>=3.0.0:textproc/py-arabic-reshaper@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}html5lib>=1.0.1:www/py-html5lib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>=1.1:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyhanko>=0.12.1:security/py-pyhanko@${PY_FLAVOR} \
${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.5.53<4:print/py-reportlab@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.6: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}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/textproc/py-xhtml2pdf/distinfo b/textproc/py-xhtml2pdf/distinfo
index 0efe7215b668..297dce3a53f5 100644
--- a/textproc/py-xhtml2pdf/distinfo
+++ b/textproc/py-xhtml2pdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684104556
-SHA256 (xhtml2pdf-0.2.11.tar.gz) = 1b81630a10eba833ddeda16933fd6625471f16b93c352d954f552e5a608e7465
-SIZE (xhtml2pdf-0.2.11.tar.gz) = 108270
+TIMESTAMP = 1699774592
+SHA256 (xhtml2pdf-0.2.13.tar.gz) = ab48cb6482e441a0d117f34ffab605181d2689e56a5e54a24d97f2b9d9a8776b
+SIZE (xhtml2pdf-0.2.13.tar.gz) = 117512
diff --git a/textproc/py-xhtml2pdf/files/patch-pyproject.toml b/textproc/py-xhtml2pdf/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0c09b33b6a79
--- /dev/null
+++ b/textproc/py-xhtml2pdf/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2023-11-09 01:11:37 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",
+ "svglib>=1.2.1",
+ ]
+ dynamic = ["version"]