diff options
author | obache <obache> | 2012-02-04 04:41:56 +0000 |
---|---|---|
committer | obache <obache> | 2012-02-04 04:41:56 +0000 |
commit | 85ad9dd3bc26dfd554fdda532f318e531d7b5160 (patch) | |
tree | 8318fa786e4a4adcb300f7882ad452300ad5e847 /print | |
parent | 3928e76d2332701a450d13ab3c58b1eddc7d51cd (diff) | |
download | pkgsrc-85ad9dd3bc26dfd554fdda532f318e531d7b5160.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/Makefile | 12 | ||||
-rw-r--r-- | print/py-reportlab/PLIST | 3 |
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 |