With my recent check-in:

changeset:   1516:8c950a3b4171
tag:         tip
user:        Rich Burridge <[email protected]>
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:

ri...@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.

Thanks.

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to