pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/py-weasyprint py-weasyprint: updated to 52.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d771c04377a4
branches:  trunk
changeset: 451448:d771c04377a4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 27 05:09:57 2021 +0000

description:
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:

 print/py-weasyprint/Makefile |  13 ++++++-------
 print/py-weasyprint/PLIST    |  17 ++++++++++-------
 print/py-weasyprint/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 19 deletions(-)

diffs (118 lines):

diff -r 2a4b239c1290 -r d771c04377a4 print/py-weasyprint/Makefile
--- a/print/py-weasyprint/Makefile      Tue Apr 27 05:03:45 2021 +0000
+++ b/print/py-weasyprint/Makefile      Tue Apr 27 05:09:57 2021 +0000
@@ -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 @@
 
 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 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools
-
 USE_LANGUAGES= # none
 
 post-install:
@@ -35,5 +35,4 @@
        ${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2a4b239c1290 -r d771c04377a4 print/py-weasyprint/PLIST
--- a/print/py-weasyprint/PLIST Tue Apr 27 05:03:45 2021 +0000
+++ b/print/py-weasyprint/PLIST Tue Apr 27 05:09:57 2021 +0000
@@ -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/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/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_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_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 -r 2a4b239c1290 -r d771c04377a4 print/py-weasyprint/distinfo
--- a/print/py-weasyprint/distinfo      Tue Apr 27 05:03:45 2021 +0000
+++ b/print/py-weasyprint/distinfo      Tue Apr 27 05:09:57 2021 +0000
@@ -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


Home | Main Index | Thread Index | Old Index