Wed Jun 22 01:26:36 2022 UTC ()
Unrestrict Python version as reportlab is no longer restricted


(joerg)
diff -r1.3 -r1.4 pkgsrc/print/py-xhtml2pdf/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/print/py-xhtml2pdf/Makefile (expand / switch to unified diff)

--- pkgsrc/print/py-xhtml2pdf/Makefile 2022/01/05 15:41:19 1.3
+++ pkgsrc/print/py-xhtml2pdf/Makefile 2022/06/22 01:26:35 1.4
@@ -1,35 +1,32 @@ @@ -1,35 +1,32 @@
1# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:19 wiz Exp $ 1# $NetBSD: Makefile,v 1.4 2022/06/22 01:26:35 joerg Exp $
2 2
3DISTNAME= xhtml2pdf-0.2.5 3DISTNAME= xhtml2pdf-0.2.5
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= print python 6CATEGORIES= print python
7MASTER_SITES= ${MASTER_SITE_PYPI:=x/xhtml2pdf/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/xhtml2pdf/xhtml2pdf 10HOMEPAGE= https://github.com/xhtml2pdf/xhtml2pdf
11COMMENT= PDF generator using HTML and CSS 11COMMENT= PDF generator using HTML and CSS
12LICENSE= apache-2.0 12LICENSE= apache-2.0
13 13
14DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2 14DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
15DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow 15DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
16DEPENDS+= ${PYPKGPREFIX}-arabic-reshaper>=2.1.0:../../converters/py-arabic-reshaper 16DEPENDS+= ${PYPKGPREFIX}-arabic-reshaper>=2.1.0:../../converters/py-arabic-reshaper
17DEPENDS+= ${PYPKGPREFIX}-bidi>=0.4.2:../../converters/py-bidi 17DEPENDS+= ${PYPKGPREFIX}-bidi>=0.4.2:../../converters/py-bidi
18DEPENDS+= ${PYPKGPREFIX}-html5lib>=1.0:../../textproc/py-html5lib 18DEPENDS+= ${PYPKGPREFIX}-html5lib>=1.0:../../textproc/py-html5lib
19DEPENDS+= ${PYPKGPREFIX}-reportlab>=3.3.0:../../print/py-reportlab 19DEPENDS+= ${PYPKGPREFIX}-reportlab>=3.3.0:../../print/py-reportlab
20DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 20DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
21 21
22USE_LANGUAGES= # none 22USE_LANGUAGES= # none
23 
24PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyphen 
25 
26USE_PKG_RESOURCES= yes 23USE_PKG_RESOURCES= yes
27 24
28post-install: 25post-install:
29.for bin in pisa xhtml2pdf 26.for bin in pisa xhtml2pdf
30 cd ${DESTDIR}${PREFIX}/bin && \ 27 cd ${DESTDIR}${PREFIX}/bin && \
31 ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} 28 ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
32.endfor 29.endfor
33 30
34.include "../../lang/python/egg.mk" 31.include "../../lang/python/egg.mk"
35.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"