summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-06-01 21:27:08 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-06-01 21:27:08 +0000
commit4610282645f716cf1bfab1130f9849a6f71b31f2 (patch)
treeef6bd7646a8f9c87f2964689c3052ca759336421
parent2df3dc5a91e440f858d93a1470bdc2b9aa28025e (diff)
downloadpkgsrc-4610282645f716cf1bfab1130f9849a6f71b31f2.tar.gz
py-weasyprint: fix sandboxed builds
While here, reflect current minimum pango dependency, and py-test-runner is a test dependency only (already captured as such separately).
-rw-r--r--print/py-weasyprint/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile
index 29c9b051872..bd87f2bb90f 100644
--- a/print/py-weasyprint/Makefile
+++ b/print/py-weasyprint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2022/05/23 05:22:13 kleink Exp $
+# $NetBSD: Makefile,v 1.37 2022/06/01 21:27:08 gutteridge Exp $
DISTNAME= weasyprint-55.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,8 +11,6 @@ COMMENT= Converts HTML/CSS documents to PDF
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-DEPENDS+= pango>=1.29.3:../../devel/pango
DEPENDS+= ${PYPKGPREFIX}-Pillow>=4.0.0:../../graphics/py-Pillow
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
@@ -26,7 +24,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-USE_LANGUAGES= # none
+USE_LANGUAGES= c
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-fonttools
@@ -37,5 +35,7 @@ post-install:
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+BUILDLINK_API_DEPENDS.pango+= pango>=1.44.0
+.include "../../devel/pango/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"