pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/py-weasyprint



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Wed Jun  1 21:27:08 UTC 2022

Modified Files:
        pkgsrc/print/py-weasyprint: Makefile

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/print/py-weasyprint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/py-weasyprint/Makefile
diff -u pkgsrc/print/py-weasyprint/Makefile:1.36 pkgsrc/print/py-weasyprint/Makefile:1.37
--- pkgsrc/print/py-weasyprint/Makefile:1.36    Mon May 23 05:22:13 2022
+++ pkgsrc/print/py-weasyprint/Makefile Wed Jun  1 21:27:08 2022
@@ -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 
 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-flake
 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"



Home | Main Index | Thread Index | Old Index