diff options
author | adam <adam@pkgsrc.org> | 2021-11-19 21:53:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-11-19 21:53:29 +0000 |
commit | 4f8d6691e66a94f3bf90934e36ac162fc00c1776 (patch) | |
tree | 8043911cfe093a506b2894ab771c8a05af4e0507 /print | |
parent | f0d2f68304308a6c6a359bf855f2c128ffce3a2f (diff) | |
download | pkgsrc-4f8d6691e66a94f3bf90934e36ac162fc00c1776.tar.gz |
py-weasyprint: updated to 53.4
Version 53.4
------------
Bug fixes:
* Fix background on pages with a bleed property
* Use SVG width/height as inner size when no viewBox is given
* Only enable letter- and word-spacing when needed
* Don’t display inputs with "hidden" type
* Allow quotes in url() syntax for SVG,
* Use better approximations for font ascent and descent values in SVG
* Fix images embedded from multiple pages
* Use a better hash for fonts to avoid collisions
* Set SVG ratio when width and height are 0
Version 53.3
------------
Bug fixes:
* Fix crashes and malformed PDF files
* Handle cx and cy in SVG rotations
* Fix marker-start being drawn on mid vertices
Version 53.2
------------
New features:
* Re-add the ``make_bookmark_tree()`` method
Bug fixes:
* Fix package deployed on PyPI
Version 53.1
------------
Bug fixes:
* Don’t crash when leaders are in floats
* Embed images once
* Fix crash with SVG intrinsic ratio
Documentation:
* Include ``weasyprint.tools`` removal in documentation
Version 53.0
------------
This version also includes the changes from unstable b1 and b2 versions listed
below.
Dependencies:
* Pango 1.44.0+ is now needed.
* pydyf 0.0.3+ is now needed.
* fontTools 4.0.0+ is now needed.
* html5lib 1.0.1+ is now needed.
API changes:
* ``FontConfiguration`` is now in the ``weasyprint.text.fonts`` module.
* ``--format`` and ``--resolution`` options have been deprecated, PDF is the
only output format supported.
* ``--optimize-images`` option has been deprecated and replaced by
``--optimize-size``, allowing ``images``, ``fonts``, ``all`` and ``none``
values.
* ``weasyprint.tools`` have been removed.
Performance:
* Improve image management
New features:
* Support basic "clipPath" in SVG
Bug fixes:
* Render use path in SVG
* Fix fill color on use path in SVG
* Handle stroke-opacity and fill-opacity
* Fix crash with borders whose widths are in em
* Fix crash on draw_pattern
* Handle stacking contexts put in contexts by previous generations
* Catch font subsetting errors
* Fix how x and y attributes are handled in SVG
* Don’t crash when use tags reference non-existing element
* Handle font collections
* Handle x and y attributes in use tags
Documentation:
* Add documentation for installation
Diffstat (limited to 'print')
-rw-r--r-- | print/py-weasyprint/Makefile | 22 | ||||
-rw-r--r-- | print/py-weasyprint/PLIST | 223 | ||||
-rw-r--r-- | print/py-weasyprint/distinfo | 9 | ||||
-rw-r--r-- | print/py-weasyprint/patches/patch-setup.py | 15 |
4 files changed, 72 insertions, 197 deletions
diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index 672cf1f990b..1a6bdf857b6 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.30 2021/04/27 05:09:57 adam Exp $ +# $NetBSD: Makefile,v 1.31 2021/11/19 21:53:29 adam Exp $ -DISTNAME= WeasyPrint-52.5 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} +DISTNAME= weasyprint-53.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= print python -MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/} +MASTER_SITES= ${MASTER_SITE_PYPI:=w/weasyprint/} MAINTAINER= kleink@NetBSD.org HOMEPAGE= https://weasyprint.org/ @@ -13,26 +13,28 @@ LICENSE= modified-bsd 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}-cairosvg>=2.4.0:../../converters/py-cairosvg -DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.9.0:../../graphics/py-cairocffi DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2 -DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib +DEPENDS+= ${PYPKGPREFIX}-fonttools>=4.0.0:../../fonts/py-fonttools +DEPENDS+= ${PYPKGPREFIX}-html5lib>=1.0.1:../../textproc/py-html5lib +DEPENDS+= ${PYPKGPREFIX}-pydyf>=0.0.3:../../print/py-pydyf DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.9.1:../../textproc/py-pyphen -DEPENDS+= ${PYPKGPREFIX}-setuptools>=39.2.0:../../devel/py-setuptools DEPENDS+= ${PYPKGPREFIX}-tinycss2>=1.0.0:../../textproc/py-tinycss2 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 -PYTHON_VERSIONS_INCOMPATIBLE= 27 - USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE} +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/py-weasyprint/PLIST b/print/py-weasyprint/PLIST index 85ec250176d..5dff539c777 100644 --- a/print/py-weasyprint/PLIST +++ b/print/py-weasyprint/PLIST @@ -1,13 +1,11 @@ -@comment $NetBSD: PLIST,v 1.7 2021/04/27 05:09:57 adam Exp $ +@comment $NetBSD: PLIST,v 1.8 2021/11/19 21:53:29 adam Exp $ bin/weasyprint-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt -${PYSITELIB}/${EGG_INFODIR}/not-zip-safe ${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/weasyprint/VERSION ${PYSITELIB}/weasyprint/__init__.py ${PYSITELIB}/weasyprint/__init__.pyc ${PYSITELIB}/weasyprint/__init__.pyo @@ -56,9 +54,6 @@ ${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/boxes.py ${PYSITELIB}/weasyprint/formatting_structure/boxes.pyc ${PYSITELIB}/weasyprint/formatting_structure/boxes.pyo @@ -116,186 +111,48 @@ ${PYSITELIB}/weasyprint/layout/tables.pyo ${PYSITELIB}/weasyprint/logger.py ${PYSITELIB}/weasyprint/logger.pyc ${PYSITELIB}/weasyprint/logger.pyo -${PYSITELIB}/weasyprint/pdf.py -${PYSITELIB}/weasyprint/pdf.pyc -${PYSITELIB}/weasyprint/pdf.pyo ${PYSITELIB}/weasyprint/stacking.py ${PYSITELIB}/weasyprint/stacking.pyc ${PYSITELIB}/weasyprint/stacking.pyo -${PYSITELIB}/weasyprint/tests/__init__.py -${PYSITELIB}/weasyprint/tests/__init__.pyc -${PYSITELIB}/weasyprint/tests/__init__.pyo -${PYSITELIB}/weasyprint/tests/resources/AHEM____.TTF -${PYSITELIB}/weasyprint/tests/resources/acid2-reference.html -${PYSITELIB}/weasyprint/tests/resources/acid2-test.html -${PYSITELIB}/weasyprint/tests/resources/blue.jpg -${PYSITELIB}/weasyprint/tests/resources/doc1.html -${PYSITELIB}/weasyprint/tests/resources/doc1_UTF-16BE.html -${PYSITELIB}/weasyprint/tests/resources/icon.png -${PYSITELIB}/weasyprint/tests/resources/latin1-test.css -${PYSITELIB}/weasyprint/tests/resources/logo_small.png -${PYSITELIB}/weasyprint/tests/resources/mini_ua.css -${PYSITELIB}/weasyprint/tests/resources/pattern.gif -${PYSITELIB}/weasyprint/tests/resources/pattern.palette.png -${PYSITELIB}/weasyprint/tests/resources/pattern.png -${PYSITELIB}/weasyprint/tests/resources/pattern.svg -${PYSITELIB}/weasyprint/tests/resources/really-a-png.svg -${PYSITELIB}/weasyprint/tests/resources/really-a-svg.png -${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_acid2.py -${PYSITELIB}/weasyprint/tests/test_acid2.pyc -${PYSITELIB}/weasyprint/tests/test_acid2.pyo -${PYSITELIB}/weasyprint/tests/test_api.py -${PYSITELIB}/weasyprint/tests/test_api.pyc -${PYSITELIB}/weasyprint/tests/test_api.pyo -${PYSITELIB}/weasyprint/tests/test_boxes.py -${PYSITELIB}/weasyprint/tests/test_boxes.pyc -${PYSITELIB}/weasyprint/tests/test_boxes.pyo -${PYSITELIB}/weasyprint/tests/test_counters.py -${PYSITELIB}/weasyprint/tests/test_counters.pyc -${PYSITELIB}/weasyprint/tests/test_counters.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/__init__.py -${PYSITELIB}/weasyprint/tests/test_draw/__init__.pyc -${PYSITELIB}/weasyprint/tests/test_draw/__init__.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_background.py -${PYSITELIB}/weasyprint/tests/test_draw/test_background.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_background.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_before_after.py -${PYSITELIB}/weasyprint/tests/test_draw/test_before_after.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_before_after.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_box.py -${PYSITELIB}/weasyprint/tests/test_draw/test_box.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_box.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_column.py -${PYSITELIB}/weasyprint/tests/test_draw/test_column.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_column.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_current_color.py -${PYSITELIB}/weasyprint/tests/test_draw/test_current_color.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_current_color.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_float.py -${PYSITELIB}/weasyprint/tests/test_draw/test_float.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_float.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_gradient.py -${PYSITELIB}/weasyprint/tests/test_draw/test_gradient.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_gradient.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_image.py -${PYSITELIB}/weasyprint/tests/test_draw/test_image.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_image.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_list.py -${PYSITELIB}/weasyprint/tests/test_draw/test_list.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_list.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_opacity.py -${PYSITELIB}/weasyprint/tests/test_draw/test_opacity.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_opacity.pyo -${PYSITELIB}/weasyprint/tests/test_draw/test_overflow.py -${PYSITELIB}/weasyprint/tests/test_draw/test_overflow.pyc -${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 -${PYSITELIB}/weasyprint/tests/test_draw/test_visibility.py -${PYSITELIB}/weasyprint/tests/test_draw/test_visibility.pyc -${PYSITELIB}/weasyprint/tests/test_draw/test_visibility.pyo -${PYSITELIB}/weasyprint/tests/test_float.py -${PYSITELIB}/weasyprint/tests/test_float.pyc -${PYSITELIB}/weasyprint/tests/test_float.pyo -${PYSITELIB}/weasyprint/tests/test_fonts.py -${PYSITELIB}/weasyprint/tests/test_fonts.pyc -${PYSITELIB}/weasyprint/tests/test_fonts.pyo -${PYSITELIB}/weasyprint/tests/test_layout/__init__.py -${PYSITELIB}/weasyprint/tests/test_layout/__init__.pyc -${PYSITELIB}/weasyprint/tests/test_layout/__init__.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_block.py -${PYSITELIB}/weasyprint/tests/test_layout/test_block.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_block.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_column.py -${PYSITELIB}/weasyprint/tests/test_layout/test_column.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_column.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_flex.py -${PYSITELIB}/weasyprint/tests/test_layout/test_flex.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_flex.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_image.py -${PYSITELIB}/weasyprint/tests/test_layout/test_image.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_image.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_inline.py -${PYSITELIB}/weasyprint/tests/test_layout/test_inline.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_inline.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_inline_block.py -${PYSITELIB}/weasyprint/tests/test_layout/test_inline_block.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_inline_block.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_list.py -${PYSITELIB}/weasyprint/tests/test_layout/test_list.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_list.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_page.py -${PYSITELIB}/weasyprint/tests/test_layout/test_page.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_page.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_position.py -${PYSITELIB}/weasyprint/tests/test_layout/test_position.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_position.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_shrink_to_fit.py -${PYSITELIB}/weasyprint/tests/test_layout/test_shrink_to_fit.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_shrink_to_fit.pyo -${PYSITELIB}/weasyprint/tests/test_layout/test_table.py -${PYSITELIB}/weasyprint/tests/test_layout/test_table.pyc -${PYSITELIB}/weasyprint/tests/test_layout/test_table.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_target.py -${PYSITELIB}/weasyprint/tests/test_target.pyc -${PYSITELIB}/weasyprint/tests/test_target.pyo -${PYSITELIB}/weasyprint/tests/test_text.py -${PYSITELIB}/weasyprint/tests/test_text.pyc -${PYSITELIB}/weasyprint/tests/test_text.pyo -${PYSITELIB}/weasyprint/tests/test_tools.py -${PYSITELIB}/weasyprint/tests/test_tools.pyc -${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 -${PYSITELIB}/weasyprint/text.py -${PYSITELIB}/weasyprint/text.pyc -${PYSITELIB}/weasyprint/text.pyo -${PYSITELIB}/weasyprint/tools/__init__.py -${PYSITELIB}/weasyprint/tools/__init__.pyc -${PYSITELIB}/weasyprint/tools/__init__.pyo -${PYSITELIB}/weasyprint/tools/navigator.py -${PYSITELIB}/weasyprint/tools/navigator.pyc -${PYSITELIB}/weasyprint/tools/navigator.pyo -${PYSITELIB}/weasyprint/tools/renderer.py -${PYSITELIB}/weasyprint/tools/renderer.pyc -${PYSITELIB}/weasyprint/tools/renderer.pyo +${PYSITELIB}/weasyprint/svg/__init__.py +${PYSITELIB}/weasyprint/svg/__init__.pyc +${PYSITELIB}/weasyprint/svg/__init__.pyo +${PYSITELIB}/weasyprint/svg/bounding_box.py +${PYSITELIB}/weasyprint/svg/bounding_box.pyc +${PYSITELIB}/weasyprint/svg/bounding_box.pyo +${PYSITELIB}/weasyprint/svg/css.py +${PYSITELIB}/weasyprint/svg/css.pyc +${PYSITELIB}/weasyprint/svg/css.pyo +${PYSITELIB}/weasyprint/svg/defs.py +${PYSITELIB}/weasyprint/svg/defs.pyc +${PYSITELIB}/weasyprint/svg/defs.pyo +${PYSITELIB}/weasyprint/svg/images.py +${PYSITELIB}/weasyprint/svg/images.pyc +${PYSITELIB}/weasyprint/svg/images.pyo +${PYSITELIB}/weasyprint/svg/path.py +${PYSITELIB}/weasyprint/svg/path.pyc +${PYSITELIB}/weasyprint/svg/path.pyo +${PYSITELIB}/weasyprint/svg/shapes.py +${PYSITELIB}/weasyprint/svg/shapes.pyc +${PYSITELIB}/weasyprint/svg/shapes.pyo +${PYSITELIB}/weasyprint/svg/text.py +${PYSITELIB}/weasyprint/svg/text.pyc +${PYSITELIB}/weasyprint/svg/text.pyo +${PYSITELIB}/weasyprint/svg/utils.py +${PYSITELIB}/weasyprint/svg/utils.pyc +${PYSITELIB}/weasyprint/svg/utils.pyo +${PYSITELIB}/weasyprint/text/constants.py +${PYSITELIB}/weasyprint/text/constants.pyc +${PYSITELIB}/weasyprint/text/constants.pyo +${PYSITELIB}/weasyprint/text/ffi.py +${PYSITELIB}/weasyprint/text/ffi.pyc +${PYSITELIB}/weasyprint/text/ffi.pyo +${PYSITELIB}/weasyprint/text/fonts.py +${PYSITELIB}/weasyprint/text/fonts.pyc +${PYSITELIB}/weasyprint/text/fonts.pyo +${PYSITELIB}/weasyprint/text/line_break.py +${PYSITELIB}/weasyprint/text/line_break.pyc +${PYSITELIB}/weasyprint/text/line_break.pyo ${PYSITELIB}/weasyprint/urls.py ${PYSITELIB}/weasyprint/urls.pyc ${PYSITELIB}/weasyprint/urls.pyo diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo index 25eed96c79f..b407ec7c70f 100644 --- a/print/py-weasyprint/distinfo +++ b/print/py-weasyprint/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.23 2021/10/26 11:12:16 nia Exp $ +$NetBSD: distinfo,v 1.24 2021/11/19 21:53:29 adam Exp $ -BLAKE2s (WeasyPrint-52.5.tar.gz) = 6262e062ba1b7ff126cb853273381a5112d5e3d374fc492f49f59d5b7c5d84cf -SHA512 (WeasyPrint-52.5.tar.gz) = 0ce86db000adef95fabfb335c069ad2a602ed98056219cedde905c550b04b10b0881d72fbdd38a48fae4e263825f5fbd8a70ce13932083afb8930eacc5817fb5 -Size (WeasyPrint-52.5.tar.gz) = 325050 bytes +BLAKE2s (weasyprint-53.4.tar.gz) = 9c1c79fd71d4ff02fad6e0c24a8a3ebc3d2149c7f5a22957bb9255a0bbdeff7c +SHA512 (weasyprint-53.4.tar.gz) = 7fcdedbecfa13434217b08491db62b9afd3e716d4ac6378490a04120c407ab1b20883227c32a77c9bd8c8dd7324fb505920264db3c9105d712fa4d7dcf3a1578 +Size (weasyprint-53.4.tar.gz) = 388163 bytes +SHA1 (patch-setup.py) = 73c03a0dc5ed823bb94a4a5fb22f7b82c5d8426b diff --git a/print/py-weasyprint/patches/patch-setup.py b/print/py-weasyprint/patches/patch-setup.py new file mode 100644 index 00000000000..952810677f8 --- /dev/null +++ b/print/py-weasyprint/patches/patch-setup.py @@ -0,0 +1,15 @@ +$NetBSD: patch-setup.py,v 1.5 2021/11/19 21:53:29 adam Exp $ + +Use setuptools. + +--- setup.py.orig 2021-11-19 14:22:46.000000000 +0000 ++++ setup.py +@@ -1,7 +1,7 @@ + #!/usr/bin/env python + # setup.py generated by flit for tools that don't yet use PEP 517 + +-from distutils.core import setup ++from setuptools import setup + + packages = \ + ['weasyprint', |