summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-07 19:02:44 +0000
committerminskim <minskim@pkgsrc.org>2004-02-07 19:02:44 +0000
commite13d1a0b0058f5a1e8c1658ab4e70df426c51a0e (patch)
tree8a93d39a4df7e74c2287f213e9939d5e82486ef1
parent7835b68bffac7d6cf4ac8f8bbc76fe813343db9a (diff)
downloadpkgsrc-e13d1a0b0058f5a1e8c1658ab4e70df426c51a0e.tar.gz
Some modules are not installed for python 2.3. This closes PR pkg/23800.
Approved by wiz@.
-rw-r--r--textproc/py-docutils/Makefile9
-rw-r--r--textproc/py-docutils/PLIST14
2 files changed, 15 insertions, 8 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile
index 9f4ff688fa1..ff1af4bb3b2 100644
--- a/textproc/py-docutils/Makefile
+++ b/textproc/py-docutils/Makefile
@@ -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 @@ PYTHON_VERSIONS_ACCEPTED= 23 23pth 22 22pth 21 21pth
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 --git a/textproc/py-docutils/PLIST b/textproc/py-docutils/PLIST
index 4368c03f26d..30f5096f95b 100644
--- a/textproc/py-docutils/PLIST
+++ b/textproc/py-docutils/PLIST
@@ -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}/docutils/writers/pseudoxml.pyo
${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