Subject: pkg/20601: threaded python isn't recognized as an acceptable version
To: None <gnats-bugs@gnats.netbsd.org>
From: David W. Talmage <talmage@madison.onespeeddave.com>
List: netbsd-bugs
Date: 03/06/2003 12:34:02
>Number:         20601
>Category:       pkg
>Synopsis:       Threaded python isn't recognized as an acceptable version in pkgsrc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 09:35:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David W. Talmage
>Release:        NetBSD 1.6
>Organization:
/~\ The ASCII                     David W. Talmage
\ / Ribbon Campaign               talmage@acm.org
 X  Against HTML
/ \ Email!
>Environment:
	
	
System: NetBSD madison.onespeeddave.com 1.6 NetBSD 1.6 (MADISON) #1: Sun Oct 20 14:24:48 EDT 2002 root@madison.onespeeddave.com:/home/src/sys/arch/i386/compile/MADISON i386
Architecture: i386
Machine: i386
>Description:

If you install the threaded version of python, none of the packages
that depend on python recognize it as an acceptable version of python.
If you don't have another version of python installed, then attempting
to install a package that depends on python will cause the pkg tools
to install the default version of python.

>How-To-Repeat:

1. pkg_delete all packages that require python.
2. pkg_delete all versions of python.
3. install python22-pth
4. install a package that depends on python.  e.g. py-readline

You'll see the pkg tools insist on installing the default version of
python, python22.

>Fix:
Make this change to /usr/pkgsrc/lang/python/pyversion.mk:

PYTHON_VERSIONS_ACCEPTED?=      22pth 22 21pth 21 20


>Release-Note:
>Audit-Trail:
>Unformatted: