pkgsrc/print/py-weasyprint/Makefile
adam 64234ad050 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
2021-04-27 05:09:57 +00:00

38 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2021/04/27 05:09:57 adam Exp $
DISTNAME= WeasyPrint-52.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= https://weasyprint.org/
COMMENT= Converts HTML/CSS documents to PDF
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
DEPENDS+= pango>=1.29.3:../../devel/pango
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}-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
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"