From 978df0707c2981eed73a1d74de8d1ff03b44689a Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 4 Feb 2012 04:41:56 +0000 Subject: * No need to buildlink with py-imaging, simple DEPENDS is sufficient. * No need to buildlink with obsolated py-xml, add py-expat to DEPENDS instead. * add test target for self-tests. * distutils pkg, switch to use python/distutils.mk Bump PKGREVISION. --- print/py-reportlab/Makefile | 12 +++++++----- print/py-reportlab/PLIST | 3 ++- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'print') diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 8aa3a253e5c..aa6d6e22b56 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2011/11/01 06:02:27 sbd Exp $ +# $NetBSD: Makefile,v 1.43 2012/02/04 04:41:56 obache Exp $ DISTNAME= reportlab-2.5 DISTFILES= ${DEFAULT_DISTFILES} pfbfer.zip @@ -13,15 +13,17 @@ HOMEPAGE= http://www.reportlab.com/ COMMENT= Powerful PDF-generating toolkit for Python LICENSE= modified-bsd +DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat +DEPENDS+= ${PYPKGPREFIX}-imaging-[0-9]*:../../graphics/py-imaging + PKG_DESTDIR_SUPPORT= user-destdir EXTRACT_DIR.pfbfer.zip= ${WRKSRC}/src/reportlab/fonts -PYDISTUTILSPKG= yes +do-test: + ${RUN}cd ${WRKSRC};${PYTHONBIN} setup.py tests .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/libart/buildlink3.mk" -.include "../../graphics/py-imaging/buildlink3.mk" -.include "../../lang/python/extension.mk" -.include "../../textproc/py-xml/buildlink3.mk" +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/py-reportlab/PLIST b/print/py-reportlab/PLIST index 741e8dd1ed4..fea99cff74e 100644 --- a/print/py-reportlab/PLIST +++ b/print/py-reportlab/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.11 2011/04/15 08:29:19 adam Exp $ +@comment $NetBSD: PLIST,v 1.12 2012/02/04 04:41:56 obache Exp $ ${PYSITELIB}/_renderPM.so ${PYSITELIB}/_rl_accel.so ${PYSITELIB}/pyHnj.so +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/reportlab/__init__.py ${PYSITELIB}/reportlab/__init__.pyc ${PYSITELIB}/reportlab/__init__.pyo -- cgit v1.2.3