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