Subject: Re: python dev?
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 12/11/2006 12:31:55
> > This is just stupid for any bigger package as nothing 
> > guaranties that Python is the search path (certainly a bad assumption
> > for pkgsrc scripts). 
> 
> Name me one case where it isn't installed in the search path!

My systems. For example:

glacier:/opt/rainier/pkgsrc$ ls -l /usr/bin/python* /usr/pkg/bin/python*
-r-xr-xr-x  1 root  wheel  771412 Nov  8 15:12 /usr/pkg/bin/python2.2
-r-xr-xr-x  1 root  wheel    4336 Apr 12  2006 /usr/pkg/bin/python2.3
-r-xr-xr-x  1 root  wheel    4088 Aug  7 19:11 /usr/pkg/bin/python2.4

I didn't even know I had python22 but now I see it was recently sucked in 
by wip/sgmltools-lite which has: PYTHON_VERSIONS_ACCEPTED= 22 23 21 20. 
Looks like wrong order and doesn't have 24.

Hopefully I am not taking this discussion out of context ... but I have 
similar problem with lyx packages. lyx binary and many add-ons have 
hard-coded use of python. I reported this problem to them and provided 
some fixes but not all taken care of yet.