pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/py-weasyprint



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan  5 11:35:07 UTC 2018

Modified Files:
        pkgsrc/print/py-weasyprint: Makefile PLIST distinfo
        pkgsrc/print/py-weasyprint/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/print/py-weasyprint/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/py-weasyprint/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/print/py-weasyprint/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/py-weasyprint/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/py-weasyprint/Makefile
diff -u pkgsrc/print/py-weasyprint/Makefile:1.10 pkgsrc/print/py-weasyprint/Makefile:1.11
--- pkgsrc/print/py-weasyprint/Makefile:1.10    Mon Oct  9 12:30:22 2017
+++ pkgsrc/print/py-weasyprint/Makefile Fri Jan  5 11:35:06 2018
@@ -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 @@ HOMEPAGE=   http://weasyprint.org/
 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}-tinycss2>=0.5:../../textproc/py-tinycss2
-DEPENDS+=      ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
 DEPENDS+=      ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
+DEPENDS+=      ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py-tinycss2
+# 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"

Index: pkgsrc/print/py-weasyprint/PLIST
diff -u pkgsrc/print/py-weasyprint/PLIST:1.2 pkgsrc/print/py-weasyprint/PLIST:1.3
--- pkgsrc/print/py-weasyprint/PLIST:1.2        Sat Jan 14 23:13:49 2017
+++ pkgsrc/print/py-weasyprint/PLIST    Fri Jan  5 11:35:06 2018
@@ -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_api.p
 ${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_css_v
 ${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

Index: pkgsrc/print/py-weasyprint/distinfo
diff -u pkgsrc/print/py-weasyprint/distinfo:1.9 pkgsrc/print/py-weasyprint/distinfo:1.10
--- pkgsrc/print/py-weasyprint/distinfo:1.9     Mon Oct  9 12:30:22 2017
+++ pkgsrc/print/py-weasyprint/distinfo Fri Jan  5 11:35:06 2018
@@ -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

Index: pkgsrc/print/py-weasyprint/patches/patch-setup.py
diff -u pkgsrc/print/py-weasyprint/patches/patch-setup.py:1.2 pkgsrc/print/py-weasyprint/patches/patch-setup.py:1.3
--- pkgsrc/print/py-weasyprint/patches/patch-setup.py:1.2       Tue Aug  1 15:36:26 2017
+++ pkgsrc/print/py-weasyprint/patches/patch-setup.py   Fri Jan  5 11:35:06 2018
@@ -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