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: joerg
Date: Mon Mar 26 00:35:34 UTC 2018
Modified Files:
pkgsrc/print/py-weasyprint: Makefile
Log Message:
For Python 2.7 use, depend on a version of CairoSVG that is supported.
Bump revision. Convert various test dependencies to exactly that.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 pkgsrc/print/py-weasyprint/Makefile:1.14
--- pkgsrc/print/py-weasyprint/Makefile:1.13 Mon Feb 12 08:10:41 2018
+++ pkgsrc/print/py-weasyprint/Makefile Mon Mar 26 00:35:34 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2018/02/12 08:10:41 adam Exp $
+# $NetBSD: Makefile,v 1.14 2018/03/26 00:35:34 joerg Exp $
DISTNAME= WeasyPrint-0.42.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
@@ -10,8 +11,14 @@ HOMEPAGE= http://weasyprint.org/
COMMENT= Converts HTML/CSS documents to PDF
LICENSE= modified-bsd
+.include "../../lang/python/egg.mk"
+
DEPENDS+= pango-[0-9]*:../../devel/pango
+.if ${_PYTHON_VERSION} > 30
DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20:../../converters/py-cairosvg
+.else
+DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20<2:../../converters/py27-cairosvg
+.endif
DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.5:../../graphics/py-cairocffi
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
@@ -19,13 +26,11 @@ DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999
DEPENDS+= ${PYPKGPREFIX}-pdfrw>=0.4:../../textproc/py-pdfrw
DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py-tinycss2
-# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+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
-.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index