From 9512b41295d9b1e2b491e858dea5b13c74a40372 Mon Sep 17 00:00:00 2001 From: wiedi Date: Wed, 9 Oct 2019 12:33:31 +0000 Subject: [PATCH] py-weasyprint: update to 50 Version 50 ---------- Released on 2019-09-19. New features: * `#209 `_: Make ``break-*`` properties work inside tables * `#661 `_: Make blocks with ``overflow: auto`` grow to include floating children Bug fixes: * `#945 `_: Don't break pages between a list item and its marker * `#727 `_: Avoid tables lost between pages * `#831 `_: Ignore auto margins on flex containers * `#923 `_: Fix a couple of crashes when splitting a line twice * `#896 `_: Fix skip stack order when using a reverse flex direction Contributors: - grewn0uille - Guillaume Ayoub Version 49 ---------- Released on 2019-09-11. Performance: * Speed and memory use have been largely improved. New features: * `#700 `_: Handle ``::marker`` pseudo-selector * `135dc06c `_: Handle ``recto`` and ``verso`` parameters for page breaks * `#907 `_: Provide a clean way to build layout contexts Bug fixes: * `#937 `_: Fix rendering of tables with empty lines and rowspans * `#897 `_: Don't crash when small columns are wrapped in absolute blocks * `#913 `_: Fix a test about gradient colors * `#924 `_: Fix title for document with attachments * `#917 `_: Fix tests with Pango 1.44 * `#919 `_: Fix padding and margin management for column flex boxes * `#901 `_: Fix width of replaced boxes with no intrinsic width * `#906 `_: Don't respect table cell width when content doesn't fit * `#927 `_: Don't use deprecated ``logger.warn`` anymore * `a8662794 `_: Fix margin collapsing between caption and table wrapper * `87d9e84f `_: Avoid infinite loops when rendering columns * `789b80e6 `_: Only use in flow children to set columns height * `615e298a `_: Don't include floating elements each time we try to render a column * `48d8632e `_: Avoid not in flow children to compute column height * `e7c452ce `_: Fix collapsing margins for columns * `fb0887cf `_: Fix crash when using currentColor in gradients * `f66df067 `_: Don't crash when using ex units in word-spacing in letter-spacing * `c790ff20 `_: Don't crash when properties needing base URL use var functions * `d63eac31 `_: Don't crash with object-fit: non images with no intrinsic size Documentation: * `#900 `_: Add documentation about semantic versioning * `#692 `_: Add a snippet about PDF magnification * `#899 `_: Add .NET wrapper link * `#893 `_: Fixed wrong nested list comprehension example * `#902 `_: Add ``state`` to the ``make_bookmark_tree`` documentation * `#921 `_: Fix typos in the documentation * `#328 `_: Add CSS sample for forms Contributors: - grewn0uille - Guillaume Ayoub - Raphael Gaschignard - Stani - Szmen - Thomas Dexter - Tontyna Version 48 ---------- Released on 2019-07-08. Dependencies: * CairoSVG 2.4.0+ is now needed New features: * `#891 `_: Handle ``text-overflow`` * `#878 `_: Handle ``column-span`` * `#855 `_: Handle all the ``text-decoration`` features * `#238 `_: Don't repeat background images when it's not needed * `#875 `_: Handle ``object-fit`` and ``object-position`` * `#870 `_: Handle ``bookmark-state`` Bug fixes: * `#686 `_: Fix column balance when children are not inline * `#885 `_: Actually use the content box to resolve flex items percentages * `#867 `_: Fix rendering of KaTeX output, including (1) set row baseline of tables when no cells are baseline-aligned, (2) set baseline for inline tables, (3) don't align lines larger than their parents, (4) force CairoSVG to respect image size defined by CSS. * `#873 `_: Set a minimum height for empty list elements with outside marker * `#811 `_: Don't use translations to align flex items * `#851 `_, `#860 `_: Don't cut pages when content overflows a very little bit * `#862 `_: Don't crash when using UTC dates in metadata Documentation: * `#854 `_: Add a "Tips & Tricks" section Contributors: - Gabriel Corona - Guillaume Ayoub - Manuel Barkhau - Nathan de Maestri - grewn0uille - theopeek Version 47 ---------- Released on 2019-04-12. New features: * `#843 `_: Handle CSS variables * `#846 `_: Handle ``:nth()`` page selector * `#847 `_: Allow users to use a custom SSL context for HTTP requests Bug fixes: * `#797 `_: Fix underlined justified text * `#836 `_: Fix crash when flex items are replaced boxes * `#835 `_: Fix ``margin-break: auto`` Version 46 ---------- Released on 2019-03-20. New features: * `#771 `_: Handle ``box-decoration-break`` * `#115 `_: Handle ``margin-break`` * `#821 `_: Continuous integration includes tests on Windows Bug fixes: * `#765 `_, `#754 `_, `#800 `_: Fix many crashes related to the flex layout * `#783 `_: Fix a couple of crashes with strange texts * `#827 `_: Named strings and counters are case-sensitive * `#823 `_: Shrink min/max-height/width according to box-sizing * `#728 `_, `#171 `_: Don't crash when fixed boxes are nested * `#610 `_, `#828 `_: Don't crash when preformatted text lines end with a space * `#808 `_, `#387 `_: Fix position of some images * `#813 `_: Don't crash when long preformatted text lines end with ``\n`` Documentation: * `#815 `_: Add documentation about custom ``url_fetcher`` --- print/py-weasyprint/Makefile | 4 ++-- print/py-weasyprint/PLIST | 14 ++++++++++---- print/py-weasyprint/distinfo | 10 +++++----- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index 31501882870d..b8477364c05b 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.23 2019/04/26 13:14:11 maya Exp $ +# $NetBSD: Makefile,v 1.24 2019/10/09 12:33:31 wiedi Exp $ -DISTNAME= WeasyPrint-45 +DISTNAME= WeasyPrint-50 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= print python MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/} diff --git a/print/py-weasyprint/PLIST b/print/py-weasyprint/PLIST index 04c0c598d4ea..ed44772c09b1 100644 --- a/print/py-weasyprint/PLIST +++ b/print/py-weasyprint/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2018/11/14 18:17:26 kleink Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/10/09 12:33:31 wiedi Exp $ bin/weasyprint${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -22,6 +22,9 @@ ${PYSITELIB}/weasyprint/css/computed_values.pyc ${PYSITELIB}/weasyprint/css/computed_values.pyo ${PYSITELIB}/weasyprint/css/html5_ph.css ${PYSITELIB}/weasyprint/css/html5_ua.css +${PYSITELIB}/weasyprint/css/media_queries.py +${PYSITELIB}/weasyprint/css/media_queries.pyc +${PYSITELIB}/weasyprint/css/media_queries.pyo ${PYSITELIB}/weasyprint/css/properties.py ${PYSITELIB}/weasyprint/css/properties.pyc ${PYSITELIB}/weasyprint/css/properties.pyo @@ -95,9 +98,6 @@ ${PYSITELIB}/weasyprint/layout/float.pyo ${PYSITELIB}/weasyprint/layout/inlines.py ${PYSITELIB}/weasyprint/layout/inlines.pyc ${PYSITELIB}/weasyprint/layout/inlines.pyo -${PYSITELIB}/weasyprint/layout/markers.py -${PYSITELIB}/weasyprint/layout/markers.pyc -${PYSITELIB}/weasyprint/layout/markers.pyo ${PYSITELIB}/weasyprint/layout/min_max.py ${PYSITELIB}/weasyprint/layout/min_max.pyc ${PYSITELIB}/weasyprint/layout/min_max.pyo @@ -203,6 +203,9 @@ ${PYSITELIB}/weasyprint/tests/test_draw/test_overflow.pyo ${PYSITELIB}/weasyprint/tests/test_draw/test_table.py ${PYSITELIB}/weasyprint/tests/test_draw/test_table.pyc ${PYSITELIB}/weasyprint/tests/test_draw/test_table.pyo +${PYSITELIB}/weasyprint/tests/test_draw/test_text.py +${PYSITELIB}/weasyprint/tests/test_draw/test_text.pyc +${PYSITELIB}/weasyprint/tests/test_draw/test_text.pyo ${PYSITELIB}/weasyprint/tests/test_draw/test_transform.py ${PYSITELIB}/weasyprint/tests/test_draw/test_transform.pyc ${PYSITELIB}/weasyprint/tests/test_draw/test_transform.pyo @@ -272,6 +275,9 @@ ${PYSITELIB}/weasyprint/tests/test_tools.pyo ${PYSITELIB}/weasyprint/tests/test_unicode.py ${PYSITELIB}/weasyprint/tests/test_unicode.pyc ${PYSITELIB}/weasyprint/tests/test_unicode.pyo +${PYSITELIB}/weasyprint/tests/test_variables.py +${PYSITELIB}/weasyprint/tests/test_variables.pyc +${PYSITELIB}/weasyprint/tests/test_variables.pyo ${PYSITELIB}/weasyprint/tests/testing_utils.py ${PYSITELIB}/weasyprint/tests/testing_utils.pyc ${PYSITELIB}/weasyprint/tests/testing_utils.pyo diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo index bf5b0c159c3a..a869fc12b1be 100644 --- a/print/py-weasyprint/distinfo +++ b/print/py-weasyprint/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.18 2019/02/21 07:54:14 kleink Exp $ +$NetBSD: distinfo,v 1.19 2019/10/09 12:33:31 wiedi Exp $ -SHA1 (WeasyPrint-45.tar.gz) = 52117d35db38d49db02d7d267ce82a8e0dd3819b -RMD160 (WeasyPrint-45.tar.gz) = 2ee9d66c936ceba7171883dcc32ae93502810ff5 -SHA512 (WeasyPrint-45.tar.gz) = 43060df3fdba9cc6c11d5fdba2604847ce2a880e5f5e9f85d9b218101297a9e12c67d14aeb921164e183fd2a4bbf98e4e64961339c4467f66fb5f705fb08298a -Size (WeasyPrint-45.tar.gz) = 295935 bytes +SHA1 (WeasyPrint-50.tar.gz) = 55bdb90551a1d8dfa40cb8ee7504cb74646f553b +RMD160 (WeasyPrint-50.tar.gz) = 02bcff4f6edfad55718be7339d896190edaf3b17 +SHA512 (WeasyPrint-50.tar.gz) = b637e97eb26318f7a12e1fecaa1c4683fcc0f6dc61c7d207c71437f322f51a17edab788f4595aa2923691e1bdde18d622073b453f08ee6eef49f9e97a55cc6af +Size (WeasyPrint-50.tar.gz) = 305975 bytes SHA1 (patch-setup.cfg) = cf3936b41f7ff4674d67af81ac82a5fa02b6d39e