pkgsrc/print/py-weasyprint/Makefile
kleink 21e4798a48 Import Weasyprint-0.24 as print/py-weasyprint.
WeasyPrint is a visual rendering engine for HTML and CSS that can
export to PDF. It aims to support web standards for printing.
WeasyPrint is free software made available under a BSD license.

It is based on various libraries but not on a full rendering engine
like WebKit or Gecko. The CSS layout engine is written in Python,
designed for pagination, and meant to be easy to hack on.
2015-08-14 17:05:04 +00:00

26 lines
926 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/08/14 17:05:04 kleink Exp $
DISTNAME= WeasyPrint-0.24
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://weasyprint.org/
COMMENT= Converts HTML/CSS documents to PDF
LICENSE= modified-bsd
USE_LANGUAGES= # empty
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
DEPENDS+= ${PYPKGPREFIX}-cairosvg>=0.4.1:../../converters/py-cairosvg
DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.5:../../graphics/py-cairocffi
DEPENDS+= ${PYPKGPREFIX}-lxml>=3.0:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-tinycss>=0.3:../../textproc/py-tinycss
DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.6:../../textproc/py-cssselect
DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"