Subject: Re: which python?
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 08/07/2006 19:01:09
> => Required installed package py23-gnome2>=2.10.0: NOT found
> => Verifying package for ../../x11/py-gnome2
> WARNING: Skipping -gnome2-2.12.4nb1:
> WARNING: No valid Python version
> ERROR: [depends.mk] A package matching ``py23-gnome2>=2.10.0'' should
> ERROR:     be installed, but one cannot be found.  Perhaps there is a
> ERROR:     stale work directory for ../../x11/py-gnome2?

I looked closer.

Building gramps2 sets:

$ cd /opt/rainier/pkgsrc/databases/gramps2
$ make show-var VARNAME=_PYTHON_VERSION 
23

As it is the default in ../../lang/python/pyversion.mk

But x11/py-gnome2 has:

PYTHON_VERSIONS_ACCEPTED=       24

I am guessing that the code that checks for versions that was removed saw 
python24 on the developer's systems or they were setting it in their 
mk.conf.

For now, I will set in mmy mk.conf: PYTHON_VERSION_DEFAULT=24 (and rebuild 
all).

- Jeremy C. Reed

p.s. I cc'd this to the two maintainers (gramps2 and py-gnome2).