pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/py-weasyprint For Python 2.7 use, depend on a ve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/697f71583a30
branches: trunk
changeset: 378019:697f71583a30
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Mar 26 00:35:34 2018 +0000
description:
For Python 2.7 use, depend on a version of CairoSVG that is supported.
Bump revision. Convert various test dependencies to exactly that.
diffstat:
print/py-weasyprint/Makefile | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r af86a4a1bef0 -r 697f71583a30 print/py-weasyprint/Makefile
--- a/print/py-weasyprint/Makefile Mon Mar 26 00:34:20 2018 +0000
+++ b/print/py-weasyprint/Makefile Mon Mar 26 00:35:34 2018 +0000
@@ -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 @@
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}-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