NetBSD Problem Report #23800
Received: (qmail 7430 invoked by uid 605); 19 Dec 2003 16:36:58 -0000
Message-Id: <20031219163655.3E645331B8@sulley.infnis.com>
Date: Fri, 19 Dec 2003 10:36:55 -0600 (CST)
From: Min Sik Kim <minskim@bawi.org>
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Wrong PLIST for py23{,pth}-docutils
X-Send-Pr-Version: 3.95
>Number: 23800
>Category: pkg
>Synopsis: Wrong PLIST for py23{,pth}-docutils
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 19 16:37:00 +0000 2003
>Closed-Date: Sat Feb 07 19:03:23 +0000 2004
>Last-Modified: Sat Feb 07 19:03:23 +0000 2004
>Originator: Min Sik Kim
>Release: NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
>Description:
py-docutils installs optparse and textwrap modules if python doesn't
have them. Because those modules are included in python 2.3, PLIST
should exclude them for py23{,pth}-docutils.
>How-To-Repeat:
make install in textproc/py-docutils.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-docutils/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 2003/09/18 02:28:08 1.6
+++ Makefile 2003/12/19 16:26:36
@@ -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"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-docutils/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST 2003/09/18 02:41:05 1.3
+++ PLIST 2003/12/19 16:26:37
@@ -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
>Release-Note:
>Audit-Trail:
From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/23800 CVS commit: pkgsrc/textproc/py-docutils
Date: Sat, 7 Feb 2004 19:02:44 +0000 (UTC)
Module Name: pkgsrc
Committed By: minskim
Date: Sat Feb 7 19:02:44 UTC 2004
Modified Files:
pkgsrc/textproc/py-docutils: Makefile PLIST
Log Message:
Some modules are not installed for python 2.3. This closes PR pkg/23800.
Approved by wiz@.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/textproc/py-docutils/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/textproc/py-docutils/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: minskim
State-Changed-When: Sat Feb 7 19:03:00 UTC 2004
State-Changed-Why:
Patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.