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 0.42



details:   https://anonhg.NetBSD.org/pkgsrc/rev/862b4d6229fc
branches:  trunk
changeset: 373572:862b4d6229fc
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 05 11:35:06 2018 +0000

description:
py-weasyprint: updated to 0.42

Version 0.42
New features:
* Support relative file URIs when using CLI.

Bug fixes:
* Fix slow performance for pre-formatted boxes with a lot of children.
* Don't crash when rendering some tables.
* Fix rendering of floats in inlines.
* Split lines carefully.
* Fix root when frozen with Pyinstaller.
* Handle SVGs containing images embedded as data URIs.
* Fix border-radius rendering problem with some PDF readers.
* Fix pipenv support.
* Smartly handle replaced boxes with percentage width in auto-width parents.
* Don't ignore CSS @page rules that are imported by an @import rule.

diffstat:

 print/py-weasyprint/Makefile               |  18 ++++++++++++------
 print/py-weasyprint/PLIST                  |   8 +++++++-
 print/py-weasyprint/distinfo               |  12 ++++++------
 print/py-weasyprint/patches/patch-setup.py |   8 ++++----
 4 files changed, 29 insertions(+), 17 deletions(-)

diffs (104 lines):

diff -r 6f0ff2543f30 -r 862b4d6229fc print/py-weasyprint/Makefile
--- a/print/py-weasyprint/Makefile      Fri Jan 05 08:23:21 2018 +0000
+++ b/print/py-weasyprint/Makefile      Fri Jan 05 11:35:06 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2017/10/09 12:30:22 kleink Exp $
+# $NetBSD: Makefile,v 1.11 2018/01/05 11:35:06 adam Exp $
 
-DISTNAME=      WeasyPrint-0.41
+DISTNAME=      WeasyPrint-0.42
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    print python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/WeasyPrint/}
@@ -10,16 +10,22 @@
 COMMENT=       Converts HTML/CSS documents to PDF
 LICENSE=       modified-bsd
 
-USE_LANGUAGES= # empty
-
 DEPENDS+=      pango-[0-9]*:../../devel/pango
 DEPENDS+=      ${PYPKGPREFIX}-cairosvg>=1.0.20:../../converters/py-cairosvg
 DEPENDS+=      ${PYPKGPREFIX}-cairocffi>=0.5:../../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}-pdfrw>=0.4:../../textproc/py-pdfrw
+DEPENDS+=      ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
 DEPENDS+=      ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py-tinycss2
-DEPENDS+=      ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
-DEPENDS+=      ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6f0ff2543f30 -r 862b4d6229fc print/py-weasyprint/PLIST
--- a/print/py-weasyprint/PLIST Fri Jan 05 08:23:21 2018 +0000
+++ b/print/py-weasyprint/PLIST Fri Jan 05 11:35:06 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/01/14 23:13:49 kleink Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/05 11:35:06 adam Exp $
 bin/weasyprint${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -141,6 +141,9 @@
 ${PYSITELIB}/weasyprint/tests/test_boxes.py
 ${PYSITELIB}/weasyprint/tests/test_boxes.pyc
 ${PYSITELIB}/weasyprint/tests/test_boxes.pyo
+${PYSITELIB}/weasyprint/tests/test_columns.py
+${PYSITELIB}/weasyprint/tests/test_columns.pyc
+${PYSITELIB}/weasyprint/tests/test_columns.pyo
 ${PYSITELIB}/weasyprint/tests/test_css.py
 ${PYSITELIB}/weasyprint/tests/test_css.pyc
 ${PYSITELIB}/weasyprint/tests/test_css.pyo
@@ -153,6 +156,9 @@
 ${PYSITELIB}/weasyprint/tests/test_draw.py
 ${PYSITELIB}/weasyprint/tests/test_draw.pyc
 ${PYSITELIB}/weasyprint/tests/test_draw.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
diff -r 6f0ff2543f30 -r 862b4d6229fc print/py-weasyprint/distinfo
--- a/print/py-weasyprint/distinfo      Fri Jan 05 08:23:21 2018 +0000
+++ b/print/py-weasyprint/distinfo      Fri Jan 05 11:35:06 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/10/09 12:30:22 kleink Exp $
+$NetBSD: distinfo,v 1.10 2018/01/05 11:35:06 adam Exp $
 
-SHA1 (WeasyPrint-0.41.tar.gz) = d4d63cbcd8017c0fccc71fcc10b5d13d2f8adc14
-RMD160 (WeasyPrint-0.41.tar.gz) = a67ea5db20d1b8316ab7661c9cb33b1b8b6f7a8f
-SHA512 (WeasyPrint-0.41.tar.gz) = 44b2d9e0a186c5767cd01d6e66495241d088908467e0fa28cee114a9c480bfcb4ef393236e9304653603f3917c73c452c05a38286932e0a271946860120d9a1f
-Size (WeasyPrint-0.41.tar.gz) = 393866 bytes
-SHA1 (patch-setup.py) = edeb4b77c8cf7fbd2ada7be10023158df9d96026
+SHA1 (WeasyPrint-0.42.tar.gz) = a4ae513d152d181137bd6f84c278379cd49b0337
+RMD160 (WeasyPrint-0.42.tar.gz) = 045c985fc16e41d2da084c61b09f3494d9e3916e
+SHA512 (WeasyPrint-0.42.tar.gz) = e99475ea88e31a904f8409ca238a9ec793794212f44456d30fef67e91779ec8c17ea3c7304a780d92012de572db88b99e066902271a65fdae9b35d19531a1346
+Size (WeasyPrint-0.42.tar.gz) = 397395 bytes
+SHA1 (patch-setup.py) = a7657e79ac611f3122a81d7f2c6c195e52ba9399
diff -r 6f0ff2543f30 -r 862b4d6229fc print/py-weasyprint/patches/patch-setup.py
--- a/print/py-weasyprint/patches/patch-setup.py        Fri Jan 05 08:23:21 2018 +0000
+++ b/print/py-weasyprint/patches/patch-setup.py        Fri Jan 05 11:35:06 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.2 2017/08/01 15:36:26 kleink Exp $
+$NetBSD: patch-setup.py,v 1.3 2018/01/05 11:35:06 adam Exp $
 
 Adjust script path to allow multiple Python version installs.
 
---- setup.py.orig      2017-06-22 16:31:14.000000000 +0000
+--- setup.py.orig      2017-12-22 23:26:45.000000000 +0000
 +++ setup.py
-@@ -87,7 +87,7 @@ setup(
-         "pytest-runner", "pytest-cov", "pytest-flake8", "pytest-isort"]},
+@@ -83,7 +83,7 @@ setup(
+         ':python_version >= "3.0"': ['CairoSVG >= 1.0.20']},
      entry_points={
          'console_scripts': [
 -            'weasyprint = weasyprint.__main__:main',



Home | Main Index | Thread Index | Old Index