diff options
author | adam <adam@pkgsrc.org> | 2021-04-27 05:09:57 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-04-27 05:09:57 +0000 |
commit | 203a54ef804ccacc546f46bef4cd8799579cfe1d (patch) | |
tree | 3fff6cca4c141dd37e14d55e383c9b246dfce395 /print | |
parent | 59204539589c0a24d94f43517d9eef177e298e29 (diff) | |
download | pkgsrc-203a54ef804ccacc546f46bef4cd8799579cfe1d.tar.gz |
py-weasyprint: updated to 52.5
Version 52.5
Bug fixes:
* Fix text breaking exception
* Fix @font-face rules with Pango 1.48.3+
Version 52.4
Bug fixes:
* Don’t try to draw SVG files with no size
* Avoid crash on last word detection
* Remove last word before ellipses when hyphenated
Version 52.3
Bug fixes:
* Fix imports with url() and quotes
New features:
* Add support of line-clamp, with financial support from expert Germany
Version 52.2
Bug fixes:
* Fix URL handling with tinycss2
* Include missing test data
* Top margins removed from children when tables are displayed on multiple pages
* Correctly draw borders on the last line of split tables
* Add a nice gif to please gdk-pixbuf 2.42.0
Version 52.1
Bug fixes:
* Fix URL handling with tinycss2
Version 52
Dependencies:
Python 3.6+ is now needed, Python 3.5 is not supported anymore
WeasyPrint now depends on Pillow
Diffstat (limited to 'print')
-rw-r--r-- | print/py-weasyprint/Makefile | 13 | ||||
-rw-r--r-- | print/py-weasyprint/PLIST | 17 | ||||
-rw-r--r-- | print/py-weasyprint/distinfo | 10 |
3 files changed, 21 insertions, 19 deletions
diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index fbad6927fdb..672cf1f990b 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.29 2020/08/31 23:07:04 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2021/04/27 05:09:57 adam Exp $ -DISTNAME= WeasyPrint-51 +DISTNAME= WeasyPrint-52.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= print python MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/} @@ -12,13 +12,15 @@ LICENSE= modified-bsd BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner DEPENDS+= pango>=1.29.3:../../devel/pango -DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20:../../converters/py-cairosvg +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}-pyphen>=0.9.1:../../textproc/py-pyphen -DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py-tinycss2 +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 @@ -26,8 +28,6 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner PYTHON_VERSIONS_INCOMPATIBLE= 27 -PYTHON_VERSIONED_DEPENDENCIES+= setuptools - USE_LANGUAGES= # none post-install: @@ -35,5 +35,4 @@ post-install: ${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/py-weasyprint/PLIST b/print/py-weasyprint/PLIST index e3016abebb4..85ec250176d 100644 --- a/print/py-weasyprint/PLIST +++ b/print/py-weasyprint/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2020/04/23 18:30:30 adam Exp $ +@comment $NetBSD: PLIST,v 1.7 2021/04/27 05:09:57 adam Exp $ bin/weasyprint-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -20,6 +20,9 @@ ${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/counters.py +${PYSITELIB}/weasyprint/css/counters.pyc +${PYSITELIB}/weasyprint/css/counters.pyo ${PYSITELIB}/weasyprint/css/html5_ph.css ${PYSITELIB}/weasyprint/css/html5_ua.css ${PYSITELIB}/weasyprint/css/media_queries.py @@ -56,18 +59,12 @@ ${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 ${PYSITELIB}/weasyprint/formatting_structure/boxes.py ${PYSITELIB}/weasyprint/formatting_structure/boxes.pyc ${PYSITELIB}/weasyprint/formatting_structure/boxes.pyo ${PYSITELIB}/weasyprint/formatting_structure/build.py ${PYSITELIB}/weasyprint/formatting_structure/build.pyc ${PYSITELIB}/weasyprint/formatting_structure/build.pyo -${PYSITELIB}/weasyprint/formatting_structure/counters.py -${PYSITELIB}/weasyprint/formatting_structure/counters.pyc -${PYSITELIB}/weasyprint/formatting_structure/counters.pyo ${PYSITELIB}/weasyprint/html.py ${PYSITELIB}/weasyprint/html.pyc ${PYSITELIB}/weasyprint/html.pyo @@ -158,6 +155,9 @@ ${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 @@ -185,6 +185,9 @@ ${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 diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo index c589327dba4..2f61df54bda 100644 --- a/print/py-weasyprint/distinfo +++ b/print/py-weasyprint/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.20 2020/04/23 18:30:30 adam Exp $ +$NetBSD: distinfo,v 1.21 2021/04/27 05:09:57 adam Exp $ -SHA1 (WeasyPrint-51.tar.gz) = 3e12b36cbe86e868d7066cfdac401accb6736b52 -RMD160 (WeasyPrint-51.tar.gz) = a0a929dd367b6e1387c82e9c56edbbc6fd4be99e -SHA512 (WeasyPrint-51.tar.gz) = 631038bece7ac0c15c6a668a7d06137e4bccc049eb80484a153ca9c4a996256de8647428b21ed1d0c1607af3893c747a1956a3d3f012b30105ba4f8613a96fcd -Size (WeasyPrint-51.tar.gz) = 308411 bytes +SHA1 (WeasyPrint-52.5.tar.gz) = d0bd703a7ba0ab881d0887410a518840f7cab607 +RMD160 (WeasyPrint-52.5.tar.gz) = 36214c26292007ef46e6e1e6ea546518f3f08e79 +SHA512 (WeasyPrint-52.5.tar.gz) = 0ce86db000adef95fabfb335c069ad2a602ed98056219cedde905c550b04b10b0881d72fbdd38a48fae4e263825f5fbd8a70ce13932083afb8930eacc5817fb5 +Size (WeasyPrint-52.5.tar.gz) = 325050 bytes |