-------- Original Message -------- Subject: Re: [pkg-discuss] HEADS-UP: pkg now uses Python 2.6 not Python 2.4 Date: Tue, 01 Dec 2009 13:59:17 -0800 From: johan...@sun.com To: pkg-discuss at opensolaris.org References: <4B14390A.3040203 at sun.com>
On Mon, Nov 30, 2009 at 01:28:42PM -0800, Rich Burridge wrote: > > With my recent check-in: > > changeset: 1516:8c950a3b4171 > tag: tip > user: Rich Burridge <rich.burridge at sun.com> > date: Mon Nov 30 13:01:40 2009 -0800 > summary: 10485 move pkg(5) to Python 2.6 > > pkg now uses Python 2.6 rather than Python 2.4. > > The pkg-dev IPS package definition has been updated. These > are now the pkg Python 2.6 build dependencies: > > package developer/opensolaris/pkg5 > classification "Development/Distribution Tools" > summary "Dependencies required to build the pkg(5) project." > depend SUNWgnome-common-devel > depend SUNWgnome-doc-utils > depend SUNWmercurial > depend SUNWonbld > depend SUNWperl584usr > depend SUNWpkgcmds > depend SUNWpython26-setuptools > depend SUNWsprot > depend SUNWtidy > depend SUNWxwinc > depend SUNWzoneint > end package > > For those of you building pkg from HEAD, there is one external > dependency (libbe.so) that you will need to also install (by hand) > before all these changes turn up in build #129. > > You can find a Python 2.6 version of libbe.so at: > > i386: http://cr.opensolaris.org/~richb/libbe-for-python26/i386/libbe.so > > sparc: http://cr.opensolaris.org/~richb/libbe-for-python26/sparc/libbe.so > > libbe.so should be added under the /usr/lib/python2.6/vendor-packages > directory: > > richb at stard:/usr/lib/python2.6/vendor-packages$ ls -l libbe.so > -rwxr-xr-x 1 root bin 21384 Nov 30 13:15 libbe.so > > For pkg developers adding new Python files, you should observe > the following rules: > > * If you are adding a Python file under the modules directory or the > test directory, then the shebang line should be: > > #!/usr/bin/python > > * If you are adding a new executable Python script, then the shebang > line should be: > > #!/usr/bin/python2.6 > > If you have any questions or concerns, please let me know. For those following along at home, you'll also need to install the following two packages before you can run the client: SUNWpython26-pyopenssl SUNWpython26-simplejson -j _______________________________________________ pkg-discuss mailing list pkg-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/pkg-discuss -- Shawn Walker