pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-matplotlib subprocess is only installed on...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c9af5aeaa907
branches: trunk
changeset: 512080:c9af5aeaa907
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Apr 30 22:30:43 2006 +0000
description:
subprocess is only installed on Python <= 2.3. Conditionalize PLIST
accordingly. Bump revision.
diffstat:
graphics/py-matplotlib/Makefile | 13 +++++++++++--
graphics/py-matplotlib/PLIST | 12 ++++++------
2 files changed, 17 insertions(+), 8 deletions(-)
diffs (61 lines):
diff -r eb859151dd70 -r c9af5aeaa907 graphics/py-matplotlib/Makefile
--- a/graphics/py-matplotlib/Makefile Sun Apr 30 22:28:44 2006 +0000
+++ b/graphics/py-matplotlib/Makefile Sun Apr 30 22:30:43 2006 +0000
@@ -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 @@
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 -r eb859151dd70 -r c9af5aeaa907 graphics/py-matplotlib/PLIST
--- a/graphics/py-matplotlib/PLIST Sun Apr 30 22:28:44 2006 +0000
+++ b/graphics/py-matplotlib/PLIST Sun Apr 30 22:30:43 2006 +0000
@@ -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/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 @@
@dirrm ${PYSITELIB}/matplotlib/enthought
@dirrm ${PYSITELIB}/matplotlib/backends
@dirrm ${PYSITELIB}/matplotlib
-@dirrm ${PYSITELIB}/subprocess
+${COND_SUBPROCESS}@dirrm ${PYSITELIB}/subprocess
Home |
Main Index |
Thread Index |
Old Index