diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-30 22:30:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-30 22:30:43 +0000 |
commit | e7787b9be6ede9bbb794161972ad792502de94fe (patch) | |
tree | 40aee11ce896c23ccd38a22492687d25773b0ea9 /graphics/py-matplotlib | |
parent | 5c485413e2b2903e43b60b2b0bb6a4fb4ff25826 (diff) | |
download | pkgsrc-e7787b9be6ede9bbb794161972ad792502de94fe.tar.gz |
subprocess is only installed on Python <= 2.3. Conditionalize PLIST
accordingly. Bump revision.
Diffstat (limited to 'graphics/py-matplotlib')
-rw-r--r-- | graphics/py-matplotlib/Makefile | 13 | ||||
-rw-r--r-- | graphics/py-matplotlib/PLIST | 12 |
2 files changed, 17 insertions, 8 deletions
diff --git a/graphics/py-matplotlib/Makefile b/graphics/py-matplotlib/Makefile index c52ab9ebcfc..a04fa862262 100644 --- a/graphics/py-matplotlib/Makefile +++ b/graphics/py-matplotlib/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.13 2006/04/17 13:46:35 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2006/04/30 22:30:43 joerg Exp $ # DISTNAME= matplotlib-0.87.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/} @@ -16,6 +16,15 @@ PY_PATCHPLIST= yes PYDISTUTILSPKG= yes .include "../../lang/python/extension.mk" + +.if ${PYPACKAGE} == "python15" || ${PYPACKAGE} == "python20" || \ + ${PYPACKAGE} == "python21" || ${PYPACKAGE} == "python22" || \ + ${PYPACKAGE} == "python23" +PLIST_SUBST+= COND_SUBPROCESS="" +.else +PLIST_SUBST+= COND_SUBPROCESS="@comment " +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" diff --git a/graphics/py-matplotlib/PLIST b/graphics/py-matplotlib/PLIST index 9ba3e57a4c2..a96d572c406 100644 --- a/graphics/py-matplotlib/PLIST +++ b/graphics/py-matplotlib/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.6 2006/04/12 22:57:59 joerg Exp $ -@comment $NetBSD: PLIST,v 1.6 2006/04/12 22:57:59 joerg Exp $ +@comment $NetBSD: PLIST,v 1.7 2006/04/30 22:30:43 joerg Exp $ +@comment $NetBSD: PLIST,v 1.7 2006/04/30 22:30:43 joerg Exp $ ${PYSITELIB}/matplotlib/__init__.py ${PYSITELIB}/matplotlib/__init__.pyc ${PYSITELIB}/matplotlib/__init__.pyo @@ -474,9 +474,9 @@ ${PYSITELIB}/matplotlib/widgets.pyo ${PYSITELIB}/matplotlib/windowing.py ${PYSITELIB}/matplotlib/windowing.pyc ${PYSITELIB}/matplotlib/windowing.pyo -${PYSITELIB}/subprocess/__init__.py -${PYSITELIB}/subprocess/__init__.pyc -${PYSITELIB}/subprocess/__init__.pyo +${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.py +${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.pyc +${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.pyo ${PYSITELIB}/pylab.py ${PYSITELIB}/pylab.pyc ${PYSITELIB}/pylab.pyo @@ -497,4 +497,4 @@ ${PYSITELIB}/pylab.pyo @dirrm ${PYSITELIB}/matplotlib/enthought @dirrm ${PYSITELIB}/matplotlib/backends @dirrm ${PYSITELIB}/matplotlib -@dirrm ${PYSITELIB}/subprocess +${COND_SUBPROCESS}@dirrm ${PYSITELIB}/subprocess |