From 010fa12e071dc3249b0b394bdf55db3428df4730 Mon Sep 17 00:00:00 2001 From: kleink Date: Sat, 14 Jan 2017 23:13:49 +0000 Subject: [PATCH] Update py-weasyprint to 0.34. Version 0.34 ------------ Released on 2016-12-21. Bug fixes: * `#398 `_: Honor the presentational_hints option for PDFs. * `#399 `_: Avoid CairoSVG-2.0.0rc* on Python 2. * `#396 `_: Correctly close files open by mkstemp. * `#403 `_: Cast the number of columns into int. * Fix multi-page multi-columns and add related tests. Version 0.33 ------------ Released on 2016-11-28. New features: * `#393 `_: Add tests on MacOS. * `#370 `_: Enable @font-face on MacOS. Bug fixes: * `#389 `_: Always update resume_at when splitting lines. * `#394 `_: Don't build universal wheels. * `#388 `_: Fix logic when finishing block formatting context. Version 0.32 ------------ Released on 2016-11-17. New features: * `#28 `_: Support @font-face on Linux. * Support CSS fonts level 3 almost entirely, including OpenType features. * `#253 `_: Support presentational hints (optional). * Support break-after, break-before and break-inside for pages and columns. * `#384 `_: Major performance boost. Bux fixes: * `#368 `_: Respect white-space for shrink-to-fit. * `#382 `_: Fix the preferred width for column groups. * Handle relative boxes in column-layout boxes. Documentation: * Add more and more documentation about Windows installation. * `#355 `_: Add fonts requirements for tests. Version 0.31 ------------ Released on 2016-08-28. New features: * `#124 `_: Add MIME sniffing for images. * `#60 `_: CSS Multi-column Layout. * `#197 `_: Add hyphens at line breaks activated by a soft hyphen. Bux fixes: * `#132 `_: Fix Python 3 compatibility on Windows. Documentation: * `#329 `_: Add documentation about installation on Windows. Version 0.30 ------------ Released on 2016-07-18. WeasyPrint now depends on html5lib-0.999999999. Bux fixes: * Fix Acid2 * `#325 `_: Cutting lines is broken in page margin boxes. * `#334 `_: Newest html5lib 0.999999999 breaks rendering. Version 0.29 ------------ Released on 2016-06-17. Bug fixes: * `#263 `_: Don't crash with floats with percents in positions. * `#323 `_: Fix CairoSVG 2.0 pre-release dependency in Python 2.x. Version 0.28 ------------ Released on 2016-05-16. Bug fixes: * `#189 `_: ``white-space: nowrap`` still wraps on hyphens * `#305 `_: Fix crashes on some tables * Don't crash when transform matrix isn't invertible * Don't crash when rendering ratio-only SVG images * Fix margins and borders on some tables Version 0.27 ------------ Released on 2016-04-08. New features: * `#295 `_: Support the 'rem' unit. * `#299 `_: Enhance the support of SVG images. Bug fixes: * `#307 `_: Fix the layout of cells larger than their tables. Documentation: * The website is now on GitHub Pages, the documentation is on Read the Docs. * `#297 `_: Rewrite the CSS chapter of the documentation. --- print/py-weasyprint/Makefile | 10 +++++----- print/py-weasyprint/PLIST | 22 +++++++++++++++++++++- print/py-weasyprint/distinfo | 10 +++++----- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index 7836ce2e0fa7f..4ddd419b7adae 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2016/08/28 15:48:34 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2017/01/14 23:13:49 kleink Exp $ -DISTNAME= WeasyPrint-0.26 +DISTNAME= WeasyPrint-0.34 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= print python MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/} @@ -12,11 +12,11 @@ LICENSE= modified-bsd USE_LANGUAGES= # empty -DEPENDS+= ${PYPKGPREFIX}-cairosvg>=0.4.1:../../converters/py-cairosvg +DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20:../../converters/py-cairosvg DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.5:../../graphics/py-cairocffi DEPENDS+= ${PYPKGPREFIX}-lxml>=3.0:../../textproc/py-lxml -DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999:../../textproc/py-html5lib -DEPENDS+= ${PYPKGPREFIX}-tinycss>=0.3:../../textproc/py-tinycss +DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib +DEPENDS+= ${PYPKGPREFIX}-tinycss>=0.4:../../textproc/py-tinycss DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.6:../../textproc/py-cssselect DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen diff --git a/print/py-weasyprint/PLIST b/print/py-weasyprint/PLIST index f8f21ce705d54..602bc6baf7dee 100644 --- a/print/py-weasyprint/PLIST +++ b/print/py-weasyprint/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2015/08/14 17:05:04 kleink Exp $ +@comment $NetBSD: PLIST,v 1.2 2017/01/14 23:13:49 kleink Exp $ bin/weasyprint${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -22,6 +22,10 @@ ${PYSITELIB}/weasyprint/css/__init__.pyo ${PYSITELIB}/weasyprint/css/computed_values.py ${PYSITELIB}/weasyprint/css/computed_values.pyc ${PYSITELIB}/weasyprint/css/computed_values.pyo +${PYSITELIB}/weasyprint/css/descriptors.py +${PYSITELIB}/weasyprint/css/descriptors.pyc +${PYSITELIB}/weasyprint/css/descriptors.pyo +${PYSITELIB}/weasyprint/css/html5_ph.css ${PYSITELIB}/weasyprint/css/html5_ua.css ${PYSITELIB}/weasyprint/css/properties.py ${PYSITELIB}/weasyprint/css/properties.pyc @@ -36,6 +40,9 @@ ${PYSITELIB}/weasyprint/document.pyo ${PYSITELIB}/weasyprint/draw.py ${PYSITELIB}/weasyprint/draw.pyc ${PYSITELIB}/weasyprint/draw.pyo +${PYSITELIB}/weasyprint/fonts.py +${PYSITELIB}/weasyprint/fonts.pyc +${PYSITELIB}/weasyprint/fonts.pyo ${PYSITELIB}/weasyprint/formatting_structure/__init__.py ${PYSITELIB}/weasyprint/formatting_structure/__init__.pyc ${PYSITELIB}/weasyprint/formatting_structure/__init__.pyo @@ -127,6 +134,7 @@ ${PYSITELIB}/weasyprint/tests/resources/sheet2.css ${PYSITELIB}/weasyprint/tests/resources/sub_directory/sheet1.css ${PYSITELIB}/weasyprint/tests/resources/user.css ${PYSITELIB}/weasyprint/tests/resources/utf8-test.css +${PYSITELIB}/weasyprint/tests/resources/weasyprint.otf ${PYSITELIB}/weasyprint/tests/test_api.py ${PYSITELIB}/weasyprint/tests/test_api.pyc ${PYSITELIB}/weasyprint/tests/test_api.pyo @@ -136,21 +144,33 @@ ${PYSITELIB}/weasyprint/tests/test_boxes.pyo ${PYSITELIB}/weasyprint/tests/test_css.py ${PYSITELIB}/weasyprint/tests/test_css.pyc ${PYSITELIB}/weasyprint/tests/test_css.pyo +${PYSITELIB}/weasyprint/tests/test_css_descriptors.py +${PYSITELIB}/weasyprint/tests/test_css_descriptors.pyc +${PYSITELIB}/weasyprint/tests/test_css_descriptors.pyo ${PYSITELIB}/weasyprint/tests/test_css_validation.py ${PYSITELIB}/weasyprint/tests/test_css_validation.pyc ${PYSITELIB}/weasyprint/tests/test_css_validation.pyo ${PYSITELIB}/weasyprint/tests/test_draw.py ${PYSITELIB}/weasyprint/tests/test_draw.pyc ${PYSITELIB}/weasyprint/tests/test_draw.pyo +${PYSITELIB}/weasyprint/tests/test_fonts.py +${PYSITELIB}/weasyprint/tests/test_fonts.pyc +${PYSITELIB}/weasyprint/tests/test_fonts.pyo ${PYSITELIB}/weasyprint/tests/test_layout.py ${PYSITELIB}/weasyprint/tests/test_layout.pyc ${PYSITELIB}/weasyprint/tests/test_layout.pyo ${PYSITELIB}/weasyprint/tests/test_pdf.py ${PYSITELIB}/weasyprint/tests/test_pdf.pyc ${PYSITELIB}/weasyprint/tests/test_pdf.pyo +${PYSITELIB}/weasyprint/tests/test_presentational_hints.py +${PYSITELIB}/weasyprint/tests/test_presentational_hints.pyc +${PYSITELIB}/weasyprint/tests/test_presentational_hints.pyo ${PYSITELIB}/weasyprint/tests/test_stacking.py ${PYSITELIB}/weasyprint/tests/test_stacking.pyc ${PYSITELIB}/weasyprint/tests/test_stacking.pyo +${PYSITELIB}/weasyprint/tests/test_tables.py +${PYSITELIB}/weasyprint/tests/test_tables.pyc +${PYSITELIB}/weasyprint/tests/test_tables.pyo ${PYSITELIB}/weasyprint/tests/test_text.py ${PYSITELIB}/weasyprint/tests/test_text.pyc ${PYSITELIB}/weasyprint/tests/test_text.pyo diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo index f8210377aecc1..6af41b4e31dab 100644 --- a/print/py-weasyprint/distinfo +++ b/print/py-weasyprint/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2016/02/18 17:30:18 kleink Exp $ +$NetBSD: distinfo,v 1.5 2017/01/14 23:13:49 kleink Exp $ -SHA1 (WeasyPrint-0.26.tar.gz) = c500a0910aab12cdcd28f14084eccbe4ae0f5ed8 -RMD160 (WeasyPrint-0.26.tar.gz) = c87decae9626ed7ce14edeb79132e64edfdd0aaf -SHA512 (WeasyPrint-0.26.tar.gz) = 165ff0927cb644abd800fad1f31d2d302cf1a6e8cb2422a149ba41b0f8a6633e6f4d3a11f61c51be63dbb03244716327299feb45bd7737d44df29df5f2b8b0c8 -Size (WeasyPrint-0.26.tar.gz) = 352596 bytes +SHA1 (WeasyPrint-0.34.tar.gz) = cb66bd6f4bffd7294f62623ac080c467fcfcebb8 +RMD160 (WeasyPrint-0.34.tar.gz) = b4beb3e8d93d7b3eb584dedea6dbf75aa53942dd +SHA512 (WeasyPrint-0.34.tar.gz) = 65f1cb4690dc66f0256b0a3d6eeb22a6732013e2cecaf72f8bcf278db94d292fafcdf5bdf8a9fa097844544f13fd25a09391e5ec294e5e7efae6cc30cac99f56 +Size (WeasyPrint-0.34.tar.gz) = 391071 bytes SHA1 (patch-setup.py) = a3470aec4e7f32adb785cb7a731e802aeb7562c4