pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-docutils Some modules are not installed fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4385ee4cce5
branches:  trunk
changeset: 467880:b4385ee4cce5
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Feb 07 19:02:44 2004 +0000

description:
Some modules are not installed for python 2.3.  This closes PR pkg/23800.
Approved by wiz@.

diffstat:

 textproc/py-docutils/Makefile |   9 ++++++++-
 textproc/py-docutils/PLIST    |  14 +++++++-------
 2 files changed, 15 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r 5dae4a3c2286 -r b4385ee4cce5 textproc/py-docutils/Makefile
--- a/textproc/py-docutils/Makefile     Sat Feb 07 18:47:07 2004 +0000
+++ b/textproc/py-docutils/Makefile     Sat Feb 07 19:02:44 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/09/18 02:28:08 jmc Exp $
+# $NetBSD: Makefile,v 1.7 2004/02/07 19:02:44 minskim Exp $
 
 DISTNAME=      docutils-0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,4 +15,11 @@
 PYDISTUTILSPKG=        # defined
 
 .include "../../lang/python/extension.mk"
+
+.if !empty(PYVERSSUFFIX:M2*[12])
+PLIST_SUBST+=  PYSTDMODULE=""
+.else
+PLIST_SUBST+=  PYSTDMODULE="@comment "
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r 5dae4a3c2286 -r b4385ee4cce5 textproc/py-docutils/PLIST
--- a/textproc/py-docutils/PLIST        Sat Feb 07 18:47:07 2004 +0000
+++ b/textproc/py-docutils/PLIST        Sat Feb 07 19:02:44 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/09/18 02:41:05 jmc Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/02/07 19:02:44 minskim Exp $
 ${PYSITELIB}/docutils/__init__.py
 ${PYSITELIB}/docutils/__init__.pyc
 ${PYSITELIB}/docutils/__init__.pyo
@@ -167,12 +167,12 @@
 ${PYSITELIB}/roman.py
 ${PYSITELIB}/roman.pyc
 ${PYSITELIB}/roman.pyo
-${PYSITELIB}/optparse.py
-${PYSITELIB}/optparse.pyc
-${PYSITELIB}/optparse.pyo
-${PYSITELIB}/textwrap.py
-${PYSITELIB}/textwrap.pyc
-${PYSITELIB}/textwrap.pyo
+${PYSTDMODULE}${PYSITELIB}/optparse.py
+${PYSTDMODULE}${PYSITELIB}/optparse.pyc
+${PYSTDMODULE}${PYSITELIB}/optparse.pyo
+${PYSTDMODULE}${PYSITELIB}/textwrap.py
+${PYSTDMODULE}${PYSITELIB}/textwrap.pyc
+${PYSTDMODULE}${PYSITELIB}/textwrap.pyo
 @dirrm ${PYSITELIB}/docutils/writers
 @dirrm ${PYSITELIB}/docutils/transforms
 @dirrm ${PYSITELIB}/docutils/readers/python



Home | Main Index | Thread Index | Old Index