summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-02-04 04:41:56 +0000
committerobache <obache@pkgsrc.org>2012-02-04 04:41:56 +0000
commit978df0707c2981eed73a1d74de8d1ff03b44689a (patch)
tree8318fa786e4a4adcb300f7882ad452300ad5e847 /print
parent717905580797c640693a9470ff8a08fc95ea5e93 (diff)
downloadpkgsrc-978df0707c2981eed73a1d74de8d1ff03b44689a.tar.gz
* 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.
Diffstat (limited to 'print')
-rw-r--r--print/py-reportlab/Makefile12
-rw-r--r--print/py-reportlab/PLIST3
2 files changed, 9 insertions, 6 deletions
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