blob: 37fb408924aee828fb94cbff2e70e1b32a54f49a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.12 2016/06/08 17:43:38 wiz Exp $
DISTNAME= pisa-3.0.33
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc print www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pisa/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.htmltopdf.org/
COMMENT= HTML2pdf converter
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-Pdf-[0-9]*:../../print/py-Pdf
DEPENDS+= ${PYPKGPREFIX}-reportlab>=2.2:../../print/py-reportlab
DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-reportlab
# remove CRs: fixes patching on Darwin and stops pkglint from complaining
pre-patch:
.for f in css.py cssDOMElementInterface.py
${TR} -d '\r' < ${WRKSRC}/sx/w3c/${f} > ${WRKSRC}/sx/w3c/${f}.new
${MV} ${WRKSRC}/sx/w3c/${f}.new ${WRKSRC}/sx/w3c/${f}
.endfor
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|