blob: c8ffe96372f0c6d77639b3a8fc17388c41418456 (
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.26 2021/04/29 13:10:41 joerg Exp $
DISTNAME= pisa-3.0.33
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 3
CATEGORIES= print textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pisa/}
OWNER= joerg@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/pisa/
COMMENT= HTML2pdf converter (obsolete, use print/py-weasyprint instead)
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-Pdf-[0-9]*:../../print/py-Pdf
DEPENDS+= ${PYPKGPREFIX}-reportlab>=2.2:../../print/py27-reportlab
DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
PYTHON_VERSIONS_ACCEPTED= 27 # not ported as of 3.0.33
# remove CRs: fixes patching on Darwin and stops pkglint from complaining
pre-patch:
cd ${WRKSRC} && for f in sx/*/*.py; do \
${TR} -d '\r' < $$f > $${f}.new && ${MV} $${f}.new $$f; \
done
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|