From owner-freebsd-ports Fri Sep 20 6:21:43 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77E0337B417 for ; Fri, 20 Sep 2002 06:20:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E44143EC2 for ; Fri, 20 Sep 2002 06:20:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8KDKTCo078467 for ; Fri, 20 Sep 2002 06:20:29 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8KDKTW5078466; Fri, 20 Sep 2002 06:20:29 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7C2837B401 for ; Fri, 20 Sep 2002 06:19:25 -0700 (PDT) Received: from frenulum.lcs.mit.edu (frenulum.lcs.mit.edu [18.26.4.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10CB443E42 for ; Fri, 20 Sep 2002 06:19:25 -0700 (PDT) (envelope-from sit@pdos.lcs.mit.edu) Received: (from sit@localhost) by frenulum.lcs.mit.edu (8.11.6/8.11.3) id g8KDJNn10505; Fri, 20 Sep 2002 09:19:23 -0400 (EDT) (envelope-from sit) Message-Id: <200209201319.g8KDJNn10505@frenulum.lcs.mit.edu> Date: Fri, 20 Sep 2002 09:19:23 -0400 (EDT) From: Emil Sit To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43036: python-doc packages aren't found by pydoc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43036 >Category: ports >Synopsis: python-doc packages aren't found by pydoc >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 20 06:20:28 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Emil Sit >Release: FreeBSD 4.5-RELEASE-p19 i386 >Organization: MIT >Environment: System: FreeBSD frenulum.lcs.mit.edu 4.5-RELEASE-p19 FreeBSD 4.5-RELEASE-p19 #1: Fri Aug 23 12:13:08 EDT 2002 sit@frenulum.lcs.mit.edu:/usr/obj/usr/src/sys/PDOS i386 >Description: The pydoc command (and interactive python help() function) do not find the docs installed by the python-doc-html package. >How-To-Repeat: # portinstall python # portinstall python-doc-html $ python >>> help () help> and >Fix: Patch /usr/local/lib/python2.2/pydoc.py with something like: --- pydoc.py.dist Thu Sep 19 16:50:22 2002 +++ pydoc.py Fri Sep 20 09:02:53 2002 @@ -1492,10 +1492,10 @@ for dir in [os.environ.get('PYTHONDOCS'), homedir and os.path.join(homedir, 'doc'), os.path.join(execdir, 'doc'), - '/usr/doc/python-docs-' + split(sys.version)[0], - '/usr/doc/python-' + split(sys.version)[0], - '/usr/doc/python-docs-' + sys.version[:3], - '/usr/doc/python-' + sys.version[:3]]: + '/usr/local/share/doc/python-docs' + split(sys.version)[0], + '/usr/local/share/doc/python' + split(sys.version)[0], + '/usr/local/share/doc/python-docs' + sys.version[:3], + '/usr/local/share/doc/python' + sys.version[:3]]: if dir and os.path.isdir(os.path.join(dir, 'lib')): self.docdir = dir >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message