Skip to content

Commit

Permalink
py-weasyprint: Update to 45.
Browse files Browse the repository at this point in the history
Version 45
----------

Released on 2019-02-20.

WeasyPrint now has a `code of conduct
<https://github.com/Kozea/WeasyPrint/blob/master/CODE_OF_CONDUCT.rst>`_.

A new website has been launched, with beautiful and useful graphs about speed
and memory use across versions: check `WeasyPerf
<https://kozea.github.io/WeasyPerf/index.html>`_.

Dependencies:

* Python 3.5+ is now needed, Python 3.4 is not supported anymore

Bug fixes:

* `798 <https://github.com/Kozea/WeasyPrint/pull/798>`_:
  Prevent endless loop and index out of range in pagination
* `767 <https://github.com/Kozea/WeasyPrint/issues/767>`_:
  Add a ``--quiet`` CLI parameter
* `784 <https://github.com/Kozea/WeasyPrint/pull/784>`_:
  Fix library loading on Alpine
* `791 <https://github.com/Kozea/WeasyPrint/pull/791>`_:
  Use path2url in tests for Windows
* `789 <https://github.com/Kozea/WeasyPrint/pull/789>`_:
  Add LICENSE file to distributed sources
* `788 <https://github.com/Kozea/WeasyPrint/pull/788>`_:
  Fix pending references
* `780 <https://github.com/Kozea/WeasyPrint/issues/780>`_:
  Don't draw patterns for empty page backgrounds
* `774 <https://github.com/Kozea/WeasyPrint/issues/774>`_:
  Don't crash when links include quotes
* `637 <https://github.com/Kozea/WeasyPrint/issues/637>`_:
  Fix a problem with justified text
* `763 <https://github.com/Kozea/WeasyPrint/pull/763>`_:
  Launch tests with Python 3.7
* `704 <https://github.com/Kozea/WeasyPrint/issues/704>`_:
  Fix a corner case with tables
* `804 <https://github.com/Kozea/WeasyPrint/pull/804>`_:
  Don't logger handlers defined before importing WeasyPrint
* `109 <https://github.com/Kozea/WeasyPrint/issues/109>`_,
  `748 <https://github.com/Kozea/WeasyPrint/issues/748>`_:
  Don't include punctuation for hyphenation
* `770 <https://github.com/Kozea/WeasyPrint/issues/770>`_:
  Don't crash when people use uppercase words from old-fashioned Microsoft
  fonts in tables, especially when there's an 5th column
* Use a `separate logger
  <https://weasyprint.readthedocs.io/en/latest/tutorial.htmllogging>`_ to
  report the rendering process
* Add a ``--debug`` CLI parameter and set debug level for unknown prefixed CSS
  properties
* Define minimal versions of Python and setuptools in setup.cfg

Documentation

* `796 <https://github.com/Kozea/WeasyPrint/pull/796>`_:
  Fix a small typo in the tutorial
* `792 <https://github.com/Kozea/WeasyPrint/pull/792>`_:
  Document no alignement character support
* `773 <https://github.com/Kozea/WeasyPrint/pull/773>`_:
  Fix phrasing in Hacking section
* `402 <https://github.com/Kozea/WeasyPrint/issues/402>`_:
  Add a paragraph about fontconfig error
* `764 <https://github.com/Kozea/WeasyPrint/pull/764>`_:
  Fix list of dependencies for Alpine
* Fix API documentation of HTML and CSS classes
  • Loading branch information
kleink committed Feb 21, 2019
1 parent 7a2cc5b commit c91162c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 25 deletions.
7 changes: 3 additions & 4 deletions print/py-weasyprint/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.21 2019/02/12 12:45:36 kleink Exp $
# $NetBSD: Makefile,v 1.22 2019/02/21 07:54:14 kleink Exp $

DISTNAME= WeasyPrint-44
DISTNAME= WeasyPrint-45
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
PKGREVISION= 2
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}

Expand All @@ -24,7 +23,7 @@ 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
PYTHON_VERSIONS_INCOMPATIBLE= 27 34

USE_LANGUAGES= # none

Expand Down
12 changes: 6 additions & 6 deletions print/py-weasyprint/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.17 2019/02/12 12:42:16 kleink Exp $
$NetBSD: distinfo,v 1.18 2019/02/21 07:54:14 kleink Exp $

SHA1 (WeasyPrint-44.tar.gz) = 787016a96c1c86754b833cb8d518227195ad5f5a
RMD160 (WeasyPrint-44.tar.gz) = 7e91d5ad5cfbf8b8d180f50fa8b86409163cbf2f
SHA512 (WeasyPrint-44.tar.gz) = f6e99f45aba99e4d37f508e0c58422e676256481d855daaee9290b62a8fa06e6254e76af221a40524084338f348dcab2f2e916d2261455288b5782a4ea47d72a
Size (WeasyPrint-44.tar.gz) = 315841 bytes
SHA1 (patch-setup.cfg) = 7612a8e1562434823d102ffcf92933ae2ebd0950
SHA1 (WeasyPrint-45.tar.gz) = 52117d35db38d49db02d7d267ce82a8e0dd3819b
RMD160 (WeasyPrint-45.tar.gz) = 2ee9d66c936ceba7171883dcc32ae93502810ff5
SHA512 (WeasyPrint-45.tar.gz) = 43060df3fdba9cc6c11d5fdba2604847ce2a880e5f5e9f85d9b218101297a9e12c67d14aeb921164e183fd2a4bbf98e4e64961339c4467f66fb5f705fb08298a
Size (WeasyPrint-45.tar.gz) = 295935 bytes
SHA1 (patch-setup.cfg) = cf3936b41f7ff4674d67af81ac82a5fa02b6d39e
19 changes: 4 additions & 15 deletions print/py-weasyprint/patches/patch-setup.cfg
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
$NetBSD: patch-setup.cfg,v 1.3 2019/02/12 12:42:16 kleink Exp $
$NetBSD: patch-setup.cfg,v 1.4 2019/02/21 07:54:14 kleink Exp $

Adjust license/license_file for setuptools >= 40.7.0.
Adjust script path to allow multiple Python version installs.

--- setup.cfg.orig 2018-12-29 16:24:11.000000000 +0000
--- setup.cfg.orig 2019-02-20 16:36:18.000000000 +0000
+++ setup.cfg
@@ -2,7 +2,8 @@
name = WeasyPrint
url = https://weasyprint.org/
version = file: weasyprint/VERSION
-license = file: LICENSE
+license = BSD
+license_file = LICENSE
description = The Gorgeous Document Factory
long_description = file: README.rst, NEWS.rst
long_description_content_type = text/x-rst
@@ -50,7 +51,7 @@ tests_require =
pytest-isort
@@ -57,7 +57,7 @@ tests_require =
python_requires = >= 3.5

[options.entry_points]
-console-scripts = weasyprint = weasyprint.__main__:main
Expand Down

0 comments on commit c91162c

Please sign in to comment.