diff options
Diffstat (limited to 'packages/python')
33 files changed, 424 insertions, 78 deletions
diff --git a/packages/python/fix-path.inc b/packages/python/fix-path.inc new file mode 100644 index 0000000000..0738c59ada --- /dev/null +++ b/packages/python/fix-path.inc @@ -0,0 +1,22 @@ +do_install_append() { + for i in `find ${D} -name "*.py"` ; do \ + sed -i -e s:${D}::g $i + done + + for i in `find ${D} -name "*.la"` ; do \ + sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i + done + + if test -e ${D}${bindir} ; then + for i in ${D}${bindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi + + if test -e ${D}${sbindir} ; then + for i in ${D}${sbindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi +} + diff --git a/packages/python/python-2.4.4-manifest.inc b/packages/python/python-2.4.4-manifest.inc index 35017aefe7..d08235e42e 100644 --- a/packages/python/python-2.4.4-manifest.inc +++ b/packages/python/python-2.4.4-manifest.inc @@ -1,5 +1,5 @@ ######################################################################################################################## -### AUTO-GENERATED by '/local/pkg/oe/org.openembedded.dev/contrib/python/generate-manifest.py' [(C) 2002-2007 Michael 'Mickey' Lauer <mickey@Vanille.de>] on Mon Dec 25 00:05:05 2006 +### AUTO-GENERATED by './generate-manifest.py' [(C) 2002-2007 Michael 'Mickey' Lauer <mickey@Vanille.de>] on Sat Jul 21 14:25:07 2007 ### ### Visit THE Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy ### @@ -8,264 +8,284 @@ ######################################################################################################################## -PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " -PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " DESCRIPTION_python-profile="Python Basic Profiling Support" -PR_python-profile="ml0" +PR_python-profile="ml2" RDEPENDS_python-profile="python-core" FILES_python-profile="${libdir}/python2.4/profile.* ${libdir}/python2.4/pstats.* " DESCRIPTION_python-threading="Python Threading & Synchronization Support" -PR_python-threading="ml0" +PR_python-threading="ml2" RDEPENDS_python-threading="python-core python-lang" FILES_python-threading="${libdir}/python2.4/_threading_local.* ${libdir}/python2.4/dummy_thread.* ${libdir}/python2.4/dummy_threading.* ${libdir}/python2.4/mutex.* ${libdir}/python2.4/threading.* ${libdir}/python2.4/Queue.* " DESCRIPTION_python-distutils="Python Distribution Utilities" -PR_python-distutils="ml0" +PR_python-distutils="ml2" RDEPENDS_python-distutils="python-core" FILES_python-distutils="${libdir}/python2.4/config ${libdir}/python2.4/distutils " DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" -PR_python-textutils="ml0" +PR_python-textutils="ml2" RDEPENDS_python-textutils="python-core python-io python-re python-stringold" FILES_python-textutils="${libdir}/python2.4/lib-dynload/_csv.so ${libdir}/python2.4/csv.* ${libdir}/python2.4/optparse.* ${libdir}/python2.4/textwrap.* " DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support" -PR_python-codecs="ml0" +PR_python-codecs="ml2" RDEPENDS_python-codecs="python-core" FILES_python-codecs="${libdir}/python2.4/codecs.* ${libdir}/python2.4/encodings ${libdir}/python2.4/gettext.* ${libdir}/python2.4/locale.* ${libdir}/python2.4/lib-dynload/_locale.so ${libdir}/python2.4/lib-dynload/unicodedata.so ${libdir}/python2.4/stringprep.* ${libdir}/python2.4/xdrlib.* " DESCRIPTION_python-pickle="Python Persistence Support" -PR_python-pickle="ml0" +PR_python-pickle="ml2" RDEPENDS_python-pickle="python-core python-codecs python-io python-re" FILES_python-pickle="${libdir}/python2.4/pickle.* ${libdir}/python2.4/shelve.* ${libdir}/python2.4/lib-dynload/cPickle.so " DESCRIPTION_python-datetime="Python Calendar and Time support" -PR_python-datetime="ml0" +PR_python-datetime="ml2" RDEPENDS_python-datetime="python-core python-codecs" FILES_python-datetime="${libdir}/python2.4/_strptime.* ${libdir}/python2.4/calendar.* ${libdir}/python2.4/lib-dynload/datetime.so " DESCRIPTION_python-core="Python Interpreter and core modules (needed!)" -PR_python-core="ml0" +PR_python-core="ml4" RDEPENDS_python-core="" -FILES_python-core="/usr/lib/python2.4/__future__.* /usr/lib/python2.4/copy.* /usr/lib/python2.4/copy_reg.* /usr/lib/python2.4/ConfigParser.py /usr/lib/python2.4/getopt.* /usr/lib/python2.4/linecache.* /usr/lib/python2.4/new.* /usr/lib/python2.4/os.* /usr/lib/python2.4/posixpath.* /usr/lib/python2.4/warnings.* /usr/lib/python2.4/site.* /usr/lib/python2.4/stat.* /usr/lib/python2.4/UserDict.* /usr/lib/python2.4/UserList.* /usr/lib/python2.4/UserString.* /usr/lib/python2.4/lib-dynload/binascii.so /usr/lib/python2.4/lib-dynload/struct.so /usr/lib/python2.4/lib-dynload/time.so /usr/lib/python2.4/lib-dynload/xreadlines.so /usr/lib/python2.4/types.* /usr/bin/python " +FILES_python-core="/usr/lib/python2.4/__future__.* /usr/lib/python2.4/copy.* /usr/lib/python2.4/copy_reg.* /usr/lib/python2.4/ConfigParser.* /usr/lib/python2.4/getopt.* /usr/lib/python2.4/linecache.* /usr/lib/python2.4/new.* /usr/lib/python2.4/os.* /usr/lib/python2.4/posixpath.* /usr/lib/python2.4/warnings.* /usr/lib/python2.4/site.* /usr/lib/python2.4/stat.* /usr/lib/python2.4/UserDict.* /usr/lib/python2.4/UserList.* /usr/lib/python2.4/UserString.* /usr/lib/python2.4/lib-dynload/binascii.so /usr/lib/python2.4/lib-dynload/struct.so /usr/lib/python2.4/lib-dynload/time.so /usr/lib/python2.4/lib-dynload/xreadlines.so /usr/lib/python2.4/types.* /usr/bin/python* " DESCRIPTION_python-io="Python Low-Level I/O" -PR_python-io="ml0" +PR_python-io="ml2" RDEPENDS_python-io="python-core python-math" FILES_python-io="${libdir}/python2.4/lib-dynload/_socket.so ${libdir}/python2.4/lib-dynload/_ssl.so ${libdir}/python2.4/lib-dynload/select.so ${libdir}/python2.4/lib-dynload/termios.so ${libdir}/python2.4/lib-dynload/cStringIO.so ${libdir}/python2.4/pipes.* ${libdir}/python2.4/socket.* ${libdir}/python2.4/tempfile.* ${libdir}/python2.4/StringIO.* " DESCRIPTION_python-compiler="Python Compiler Support" -PR_python-compiler="ml0" +PR_python-compiler="ml2" RDEPENDS_python-compiler="python-core" FILES_python-compiler="${libdir}/python2.4/compiler " DESCRIPTION_python-compression="Python High Level Compression Support" -PR_python-compression="ml0" +PR_python-compression="ml2" RDEPENDS_python-compression="python-core python-zlib" FILES_python-compression="${libdir}/python2.4/gzip.* ${libdir}/python2.4/zipfile.* " DESCRIPTION_python-re="Python Regular Expression APIs" -PR_python-re="ml0" +PR_python-re="ml2" RDEPENDS_python-re="python-core" FILES_python-re="${libdir}/python2.4/re.* ${libdir}/python2.4/sre.* ${libdir}/python2.4/sre_compile.* ${libdir}/python2.4/sre_constants* ${libdir}/python2.4/sre_parse.* " DESCRIPTION_python-xmlrpc="Python XMLRPC Support" -PR_python-xmlrpc="ml0" +PR_python-xmlrpc="ml2" RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang" FILES_python-xmlrpc="${libdir}/python2.4/xmlrpclib.* ${libdir}/python2.4/SimpleXMLRPCServer.* " DESCRIPTION_python-terminal="Python Terminal Controlling Support" -PR_python-terminal="ml0" +PR_python-terminal="ml2" RDEPENDS_python-terminal="python-core python-io" FILES_python-terminal="${libdir}/python2.4/pty.* ${libdir}/python2.4/tty.* " DESCRIPTION_python-email="Python Email Support" -PR_python-email="ml0" -RDEPENDS_python-email="python-core python-io python-re" +PR_python-email="ml2" +RDEPENDS_python-email="python-core python-io python-re python-mime python-audio python-image" FILES_python-email="${libdir}/python2.4/email " DESCRIPTION_python-image="Python Graphical Image Handling" -PR_python-image="ml0" +PR_python-image="ml2" RDEPENDS_python-image="python-core" FILES_python-image="${libdir}/python2.4/colorsys.* ${libdir}/python2.4/imghdr.* ${libdir}/python2.4/lib-dynload/imageop.so ${libdir}/python2.4/lib-dynload/rgbimg.so " +DESCRIPTION_python-core-dbg="Python core module debug information" +PR_python-core-dbg="ml2" +RDEPENDS_python-core-dbg="python-core" +FILES_python-core-dbg="/usr/lib/python2.4/lib-dynload/.debug /usr/bin/.debug /usr/lib/.debug " + DESCRIPTION_python-resource="Python Resource Control Interface" -PR_python-resource="ml0" +PR_python-resource="ml2" RDEPENDS_python-resource="python-core" FILES_python-resource="${libdir}/python2.4/lib-dynload/resource.so " DESCRIPTION_python-devel="Python Development Package" -PR_python-devel="ml0" +PR_python-devel="ml2" RDEPENDS_python-devel="python-core" FILES_python-devel="/usr/include /usr/lib/python2.4/config " DESCRIPTION_python-math="Python Math Support" -PR_python-math="ml0" +PR_python-math="ml2" RDEPENDS_python-math="python-core" FILES_python-math="${libdir}/python2.4/lib-dynload/cmath.so ${libdir}/python2.4/lib-dynload/math.so ${libdir}/python2.4/lib-dynload/_random.so ${libdir}/python2.4/random.* ${libdir}/python2.4/sets.* " DESCRIPTION_python-hotshot="Python Hotshot Profiler" -PR_python-hotshot="ml0" +PR_python-hotshot="ml2" RDEPENDS_python-hotshot="python-core" FILES_python-hotshot="${libdir}/python2.4/hotshot ${libdir}/python2.4/lib-dynload/_hotshot.so " DESCRIPTION_python-unixadmin="Python Unix Administration Support" -PR_python-unixadmin="ml0" +PR_python-unixadmin="ml2" RDEPENDS_python-unixadmin="python-core" FILES_python-unixadmin="${libdir}/python2.4/lib-dynload/nis.so ${libdir}/python2.4/lib-dynload/grp.so ${libdir}/python2.4/lib-dynload/pwd.so ${libdir}/python2.4/getpass.* " +DESCRIPTION_python-syslog="Python's syslog Interface" +PR_python-syslog="ml2" +RDEPENDS_python-syslog="python-core" +FILES_python-syslog="${libdir}/python2.4/lib-dynload/syslog.so " + DESCRIPTION_python-tkinter="Python Tcl/Tk Bindings" -PR_python-tkinter="ml0" +PR_python-tkinter="ml2" RDEPENDS_python-tkinter="python-core" FILES_python-tkinter="${libdir}/python2.4/lib-dynload/_tkinter.so ${libdir}/python2.4/lib-tk " DESCRIPTION_python-gdbm="Python GNU Database Support" -PR_python-gdbm="ml0" +PR_python-gdbm="ml2" RDEPENDS_python-gdbm="python-core" FILES_python-gdbm="${libdir}/python2.4/lib-dynload/gdbm.so " DESCRIPTION_python-fcntl="Python's fcntl Interface" -PR_python-fcntl="ml0" +PR_python-fcntl="ml2" RDEPENDS_python-fcntl="python-core" FILES_python-fcntl="${libdir}/python2.4/lib-dynload/fcntl.so " DESCRIPTION_python-netclient="Python Internet Protocol Clients" -PR_python-netclient="ml0" +PR_python-netclient="ml2" RDEPENDS_python-netclient="python-core python-datetime python-io python-lang python-logging python-mime" FILES_python-netclient="${libdir}/python2.4/*Cookie*.* ${libdir}/python2.4/base64.* ${libdir}/python2.4/cookielib.* ${libdir}/python2.4/ftplib.* ${libdir}/python2.4/gopherlib.* ${libdir}/python2.4/hmac.* ${libdir}/python2.4/httplib.* ${libdir}/python2.4/mimetypes.* ${libdir}/python2.4/nntplib.* ${libdir}/python2.4/poplib.* ${libdir}/python2.4/smtplib.* ${libdir}/python2.4/telnetlib.* ${libdir}/python2.4/urllib.* ${libdir}/python2.4/urllib2.* ${libdir}/python2.4/urlparse.* " DESCRIPTION_python-pprint="Python Pretty-Print Support" -PR_python-pprint="ml0" +PR_python-pprint="ml2" RDEPENDS_python-pprint="python-core" FILES_python-pprint="${libdir}/python2.4/pprint.* " DESCRIPTION_python-netserver="Python Internet Protocol Servers" -PR_python-netserver="ml0" +PR_python-netserver="ml2" RDEPENDS_python-netserver="python-core python-netclient" FILES_python-netserver="${libdir}/python2.4/cgi.* ${libdir}/python2.4/BaseHTTPServer.* ${libdir}/python2.4/SimpleHTTPServer.* ${libdir}/python2.4/SocketServer.* " DESCRIPTION_python-curses="Python Curses Support" -PR_python-curses="ml0" +PR_python-curses="ml2" RDEPENDS_python-curses="python-core" FILES_python-curses="${libdir}/python2.4/curses ${libdir}/python2.4/lib-dynload/_curses.so ${libdir}/python2.4/lib-dynload/_curses_panel.so " -DESCRIPTION_python-syslog="Python's syslog Interface" -PR_python-syslog="ml0" -RDEPENDS_python-syslog="python-core" -FILES_python-syslog="${libdir}/python2.4/lib-dynload/syslog.so " +DESCRIPTION_python-smtpd="Python Simple Mail Transport Daemon" +PR_python-smtpd="ml2" +RDEPENDS_python-smtpd="python-core python-netserver python-email python-mime" +FILES_python-smtpd="/usr/bin/smtpd.* " DESCRIPTION_python-html="Python HTML Processing" -PR_python-html="ml0" +PR_python-html="ml2" RDEPENDS_python-html="python-core" FILES_python-html="${libdir}/python2.4/formatter.* ${libdir}/python2.4/htmlentitydefs.* ${libdir}/python2.4/htmllib.* ${libdir}/python2.4/markupbase.* ${libdir}/python2.4/sgmllib.* " DESCRIPTION_python-readline="Python Readline Support" -PR_python-readline="ml0" +PR_python-readline="ml2" RDEPENDS_python-readline="python-core" FILES_python-readline="${libdir}/python2.4/lib-dynload/readline.so ${libdir}/python2.4/rlcompleter.* " DESCRIPTION_python-subprocess="Python Subprocess Support" -PR_python-subprocess="ml0" -RDEPENDS_python-subprocess="python-core python-io python-re" +PR_python-subprocess="ml2" +RDEPENDS_python-subprocess="python-core python-io python-re python-fcntl python-pickle" FILES_python-subprocess="${libdir}/python2.4/subprocess.* " DESCRIPTION_python-pydoc="Python Interactive Help Support" -PR_python-pydoc="ml0" +PR_python-pydoc="ml2" RDEPENDS_python-pydoc="python-core python-lang python-stringold python-re" FILES_python-pydoc="/usr/bin/pydoc /usr/lib/python2.4/pydoc.* " DESCRIPTION_python-logging="Python Logging Support" -PR_python-logging="ml0" +PR_python-logging="ml2" RDEPENDS_python-logging="python-core" FILES_python-logging="${libdir}/python2.4/logging " DESCRIPTION_python-mailbox="Python Mailbox Format Support" -PR_python-mailbox="ml0" +PR_python-mailbox="ml2" RDEPENDS_python-mailbox="python-core python-mime" FILES_python-mailbox="${libdir}/python2.4/mailbox.* " DESCRIPTION_python-xml="Python basic XML support." -PR_python-xml="ml0" +PR_python-xml="ml2" RDEPENDS_python-xml="python-core python-re" FILES_python-xml="${libdir}/python2.4/lib-dynload/pyexpat.so ${libdir}/python2.4/xml ${libdir}/python2.4/xmllib.* " DESCRIPTION_python-mime="Python MIME Handling APIs" -PR_python-mime="ml0" +PR_python-mime="ml2" RDEPENDS_python-mime="python-core python-io" -FILES_python-mime="${libdir}/python2.4/mimetools.* ${libdir}/python2.4/quopri.* ${libdir}/python2.4/rfc822.* " +FILES_python-mime="${libdir}/python2.4/mimetools.* ${libdir}/python2.4/uu.* ${libdir}/python2.4/quopri.* ${libdir}/python2.4/rfc822.* " DESCRIPTION_python-tests="Python Tests" -PR_python-tests="ml0" +PR_python-tests="ml2" RDEPENDS_python-tests="python-core" FILES_python-tests="${libdir}/python2.4/test " DESCRIPTION_python-unittest="Python Unit Testing Framework" -PR_python-unittest="ml0" +PR_python-unittest="ml2" RDEPENDS_python-unittest="python-core python-stringold python-lang" FILES_python-unittest="${libdir}/python2.4/unittest.* " DESCRIPTION_python-stringold="Python String APIs [deprecated]" -PR_python-stringold="ml0" +PR_python-stringold="ml2" RDEPENDS_python-stringold="python-core python-re" FILES_python-stringold="${libdir}/python2.4/lib-dynload/strop.so ${libdir}/python2.4/string.* " +DESCRIPTION_python-robotparser="Python robots.txt parser" +PR_python-robotparser="ml2" +RDEPENDS_python-robotparser="python-core python-netclient" +FILES_python-robotparser="${libdir}/python2.4/robotparser.* " + DESCRIPTION_python-lib-old-and-deprecated="Python Deprecated Libraries" -PR_python-lib-old-and-deprecated="ml0" +PR_python-lib-old-and-deprecated="ml2" RDEPENDS_python-lib-old-and-deprecated="python-core" FILES_python-lib-old-and-deprecated="${libdir}/python2.4/lib-old " DESCRIPTION_python-compile="Python Bytecode Compilation Support" -PR_python-compile="ml0" +PR_python-compile="ml2" RDEPENDS_python-compile="python-core" FILES_python-compile="${libdir}/python2.4/py_compile.* ${libdir}/python2.4/compileall.* " +DESCRIPTION_python-debugger="Python Debugger" +PR_python-debugger="ml2" +RDEPENDS_python-debugger="python-core python-io python-lang python-re python-stringold python-shell" +FILES_python-debugger="${libdir}/python2.4/bdb.* ${libdir}/python2.4/pdb.* " + DESCRIPTION_python-shell="Python Shell-Like Functionality" -PR_python-shell="ml0" +PR_python-shell="ml2" RDEPENDS_python-shell="python-core python-re" -FILES_python-shell="${libdir}/python2.4/commands.* ${libdir}/python2.4/dircache.* ${libdir}/python2.4/fnmatch.* ${libdir}/python2.4/glob.* ${libdir}/python2.4/popen2.* ${libdir}/python2.4/shutil.* " +FILES_python-shell="${libdir}/python2.4/cmd.* ${libdir}/python2.4/commands.* ${libdir}/python2.4/dircache.* ${libdir}/python2.4/fnmatch.* ${libdir}/python2.4/glob.* ${libdir}/python2.4/popen2.* ${libdir}/python2.4/shutil.* " DESCRIPTION_python-bsddb="Python Berkeley Database Bindings" -PR_python-bsddb="ml0" +PR_python-bsddb="ml2" RDEPENDS_python-bsddb="python-core" FILES_python-bsddb="${libdir}/python2.4/bsddb " DESCRIPTION_python-mmap="Python Memory-Mapped-File Support" -PR_python-mmap="ml0" +PR_python-mmap="ml2" RDEPENDS_python-mmap="python-core python-io" FILES_python-mmap="${libdir}/python2.4/lib-dynload/mmap.so " DESCRIPTION_python-zlib="Python zlib Support." -PR_python-zlib="ml0" +PR_python-zlib="ml2" RDEPENDS_python-zlib="python-core" FILES_python-zlib="${libdir}/python2.4/lib-dynload/zlib.so " DESCRIPTION_python-db="Python File-Based Database Support" -PR_python-db="ml0" +PR_python-db="ml2" RDEPENDS_python-db="python-core" FILES_python-db="${libdir}/python2.4/anydbm.* ${libdir}/python2.4/dumbdbm.* ${libdir}/python2.4/whichdb.* " DESCRIPTION_python-crypt="Python Basic Cryptographic and Hashing Support" -PR_python-crypt="ml0" +PR_python-crypt="ml2" RDEPENDS_python-crypt="python-core" FILES_python-crypt="${libdir}/python2.4/lib-dynload/crypt.so ${libdir}/python2.4/lib-dynload/md5.so ${libdir}/python2.4/lib-dynload/rotor.so ${libdir}/python2.4/lib-dynload/sha.so " DESCRIPTION_python-idle="Python Integrated Development Environment" -PR_python-idle="ml0" +PR_python-idle="ml2" RDEPENDS_python-idle="python-core python-tkinter" FILES_python-idle="/usr/bin/idle /usr/lib/python2.4/idlelib " DESCRIPTION_python-lang="Python Low-Level Language Support" -PR_python-lang="ml0" +PR_python-lang="ml2" RDEPENDS_python-lang="python-core" FILES_python-lang="${libdir}/python2.4/lib-dynload/array.so ${libdir}/python2.4/lib-dynload/parser.so ${libdir}/python2.4/lib-dynload/operator.so ${libdir}/python2.4/lib-dynload/_weakref.so ${libdir}/python2.4/lib-dynload/itertools.so ${libdir}/python2.4/lib-dynload/collections.so ${libdir}/python2.4/lib-dynload/_bisect.so ${libdir}/python2.4/lib-dynload/_heapq.so ${libdir}/python2.4/atexit.* ${libdir}/python2.4/bisect.* ${libdir}/python2.4/code.* ${libdir}/python2.4/codeop.* ${libdir}/python2.4/dis.* ${libdir}/python2.4/heapq.* ${libdir}/python2.4/inspect.* ${libdir}/python2.4/keyword.* ${libdir}/python2.4/opcode.* ${libdir}/python2.4/repr.* ${libdir}/python2.4/token.* ${libdir}/python2.4/tokenize.* ${libdir}/python2.4/traceback.* ${libdir}/python2.4/linecache.* ${libdir}/python2.4/weakref.* " DESCRIPTION_python-audio="Python Audio Handling" -PR_python-audio="ml0" +PR_python-audio="ml2" RDEPENDS_python-audio="python-core" -FILES_python-audio="${libdir}/python2.4/wave.* ${libdir}/python2.4/chunk.* ${libdir}/python2.4/lib-dynload/ossaudiodev.so ${libdir}/python2.4/lib-dynload/audioop.so " +FILES_python-audio="${libdir}/python2.4/wave.* ${libdir}/python2.4/chunk.* ${libdir}/python2.4/sndhdr.* ${libdir}/python2.4/lib-dynload/ossaudiodev.so ${libdir}/python2.4/lib-dynload/audioop.so " diff --git a/packages/python/python-dbus/.mtn2git_empty b/packages/python/python-dbus/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/python/python-dbus/.mtn2git_empty diff --git a/packages/python/python-dbus/allow-older-autotools.patch b/packages/python/python-dbus/allow-older-autotools.patch new file mode 100644 index 0000000000..7595f70e5d --- /dev/null +++ b/packages/python/python-dbus/allow-older-autotools.patch @@ -0,0 +1,27 @@ +# +# so it looks like dbus-python really doesn't make use of any 2.59c features +# Signed-Off: mickey@openmoko.org +# +Index: dbus-python-0.81.1/configure.ac +=================================================================== +--- dbus-python-0.81.1.orig/configure.ac 2007-06-04 13:17:10.000000000 +0000 ++++ dbus-python-0.81.1/configure.ac 2007-06-11 06:57:20.000000000 +0000 +@@ -1,5 +1,5 @@ + -*- mode: m4 -*- +-AC_PREREQ(2.59c) ++AC_PREREQ(2.59) + + dnl If not 1, append datestamp to the version number + m4_define(dbus_python_released, 1) +Index: dbus-python-0.81.1/Makefile.am +=================================================================== +--- dbus-python-0.81.1.orig/Makefile.am 2007-05-09 09:44:40.000000000 +0000 ++++ dbus-python-0.81.1/Makefile.am 2007-06-11 06:59:23.000000000 +0000 +@@ -38,6 +38,7 @@ + + TXT_RSTDOCS = doc/tutorial.txt doc/API_CHANGES.txt doc/HACKING.txt + RSTDOCS = README NEWS TODO ++docdir=foo + dist_doc_DATA = $(TXT_RSTDOCS) $(RSTDOCS) + + maintainer-update-website: _maintainer-update-apidocs \ diff --git a/packages/python/python-dbus_0.71.bb b/packages/python/python-dbus_0.81.1.bb index 2ef0ffa8dd..82b9c390ca 100644 --- a/packages/python/python-dbus_0.71.bb +++ b/packages/python/python-dbus_0.81.1.bb @@ -3,11 +3,12 @@ SECTION = "devel/python" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" LICENSE = "GPL" DEPENDS = "expat glib-2.0 virtual/libintl python-pyrex-native python" -RDEPENDS = "dbus" +RDEPENDS = "dbus python-threading python-io python-stringold python-logging" PR = "ml0" -SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" +SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \ + file://allow-older-autotools.patch;patch=1" S = "${WORKDIR}/dbus-python-${PV}" -inherit distutils +inherit distutils-base autotools diff --git a/packages/python/python-ecore_cvs.bb b/packages/python/python-ecore_cvs.bb new file mode 100644 index 0000000000..e87b415285 --- /dev/null +++ b/packages/python/python-ecore_cvs.bb @@ -0,0 +1,3 @@ +require python-efl.inc + +DEPENDS += "ecore" diff --git a/packages/python/python-edje_cvs.bb b/packages/python/python-edje_cvs.bb new file mode 100644 index 0000000000..632ca8400a --- /dev/null +++ b/packages/python/python-edje_cvs.bb @@ -0,0 +1,4 @@ +require python-efl.inc + +DEPENDS += "edje python-evas" + diff --git a/packages/python/python-efl.inc b/packages/python/python-efl.inc new file mode 100644 index 0000000000..875a88f5b2 --- /dev/null +++ b/packages/python/python-efl.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "${PN} bindings" +LICENSE = "BSD" +AUTHOR = "Gustavo Sverzut Barbieri <barbieri@gmail.com>" +HOMEPAGE = "http://www.enlightenment.org" +DEPENDS = "python-pyrex-native python-numeric" +PV = "0.0.0+cvs${SRCDATE}" + +inherit distutils + +SRC_URI = "${E_CVS};module=e17/proto/python-efl/${PN}" +S = "${WORKDIR}/${PN}" + +do_install_append() { + rm ${D}${libdir}/${PYTHON_DIR}/site-packages/site.* +} + +FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" + diff --git a/packages/python/python-emotion_cvs.bb b/packages/python/python-emotion_cvs.bb new file mode 100644 index 0000000000..a101c07007 --- /dev/null +++ b/packages/python/python-emotion_cvs.bb @@ -0,0 +1,4 @@ +require python-efl.inc + +DEPENDS += "emotion python-evas" + diff --git a/packages/python/python-evas_cvs.bb b/packages/python/python-evas_cvs.bb new file mode 100644 index 0000000000..78f306c060 --- /dev/null +++ b/packages/python/python-evas_cvs.bb @@ -0,0 +1,13 @@ +require python-efl.inc + +DEPENDS += "evas" + +do_stage() { + distutils_stage_headers +} + +#do_stage_append() { +# install -d ${STAGING_DIR}/${BUILD_SYS}/include/${PYTHON_DIR}/python-evas/ +# install -m 0644 evas/evas.c_evas.pxd ${STAGING_DIR}/${BUILD_SYS}/include/${PYTHON_DIR}/python-evas/ +#} + diff --git a/packages/python/python-fam_1.1.1.bb b/packages/python/python-fam_1.1.1.bb new file mode 100644 index 0000000000..cf74265aa3 --- /dev/null +++ b/packages/python/python-fam_1.1.1.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Python access to the File Alteration Monitor" +HOMEPAGE = "http://python-fam.sourceforge.net/" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "fam" +RDEPENDS = "fam python-core python-io" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" + +inherit distutils + diff --git a/packages/python/python-fuse_cvs.bb b/packages/python/python-fuse_cvs.bb index e803b7fc62..d017e28536 100644 --- a/packages/python/python-fuse_cvs.bb +++ b/packages/python/python-fuse_cvs.bb @@ -1,11 +1,15 @@ DESCRIPTION = "FUSE Python bindings." LICENSE = "GPLv2" +DEPENDS = "fuse" PV = "0.0+cvs${SRCDATE}" +PR = "r1" + SRC_URI = "cvs://anonymous@fuse.cvs.sourceforge.net/cvsroot/fuse;module=python" inherit distutils S = "${WORKDIR}/python" +FILES_${PN}-dbg += "${libdir}/python*/site-packages/fuseparts/.debu*" diff --git a/packages/python/python-gst/.mtn2git_empty b/packages/python/python-gst/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/python/python-gst/.mtn2git_empty diff --git a/packages/python/python-gst/python-path.patch b/packages/python/python-gst/python-path.patch new file mode 100644 index 0000000000..465d5b180a --- /dev/null +++ b/packages/python/python-gst/python-path.patch @@ -0,0 +1,24 @@ +Index: gst-python-0.10.7/acinclude.m4 +=================================================================== +--- gst-python-0.10.7.orig/acinclude.m4 2007-03-02 14:10:28.652128590 +0100 ++++ gst-python-0.10.7/acinclude.m4 2007-03-02 14:41:00.106728708 +0100 +@@ -43,12 +43,19 @@ + [AC_REQUIRE([AM_PATH_PYTHON]) + AC_MSG_CHECKING(for headers required to compile python extensions) + dnl deduce PYTHON_INCLUDES ++ ++AC_ARG_WITH(python-includes, ++ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) ++if test x$py_exec_prefix != x; then ++PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" ++else + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi ++fi + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-gst_0.10.7.bb b/packages/python/python-gst_0.10.7.bb new file mode 100644 index 0000000000..8924c700d4 --- /dev/null +++ b/packages/python/python-gst_0.10.7.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Python Gstreamer bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "gstreamer gst-plugins-base python-pygobject" +PR = "r1" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ + file://python-path.patch;patch=1" + +S = "${WORKDIR}/gst-python-${PV}" + +inherit autotools distutils-base pkgconfig + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +do_configure_prepend() { + install -d ${S}/m4 + install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/ +} + +do_stage() { + autotools_stage_all +} + +FILES_${PN}-dbg = "${libdir}/python2.4/site-packages/gst-0.10/gst/.debug/" diff --git a/packages/python/python-pycairo_1.2.2.bb b/packages/python/python-pycairo_1.2.2.bb index 46638d2794..22ba095aa2 100644 --- a/packages/python/python-pycairo_1.2.2.bb +++ b/packages/python/python-pycairo_1.2.2.bb @@ -3,7 +3,7 @@ SECTION = "python-devel" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" DEPENDS = "cairo" -PR = "ml1" +PR = "ml2" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \ file://fix-pkgconfig-dir.patch;patch=1" @@ -16,3 +16,5 @@ do_stage() { install -m 0644 cairo/pycairo.h ${STAGING_INCDIR} } + +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/cairo/.debug" diff --git a/packages/python/python-pygobject-native_2.12.3.bb b/packages/python/python-pygobject-native_2.12.3.bb new file mode 100644 index 0000000000..86d778c5ab --- /dev/null +++ b/packages/python/python-pygobject-native_2.12.3.bb @@ -0,0 +1,7 @@ +require python-pygobject_${PV}.bb + +DEPENDS = "python-native" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 " + +inherit native diff --git a/packages/python/python-pygobject/.mtn2git_empty b/packages/python/python-pygobject/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/python/python-pygobject/.mtn2git_empty diff --git a/packages/python/python-pygobject/python-path.patch b/packages/python/python-pygobject/python-path.patch new file mode 100644 index 0000000000..2ab7bdce6e --- /dev/null +++ b/packages/python/python-pygobject/python-path.patch @@ -0,0 +1,23 @@ +Index: pygobject-2.12.3/m4/python.m4 +=================================================================== +--- pygobject-2.12.3.orig/m4/python.m4 2007-03-02 15:00:20.945635455 +0100 ++++ pygobject-2.12.3/m4/python.m4 2007-03-02 15:00:43.532189734 +0100 +@@ -43,12 +43,18 @@ + [AC_REQUIRE([AM_PATH_PYTHON]) + AC_MSG_CHECKING(for headers required to compile python extensions) + dnl deduce PYTHON_INCLUDES ++AC_ARG_WITH(python-includes, ++ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) ++if test x$py_exec_prefix != x; then ++PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" ++else + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi ++fi + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-pygobject_2.12.2.bb b/packages/python/python-pygobject_2.12.2.bb index a79032f301..1604b54715 100644 --- a/packages/python/python-pygobject_2.12.2.bb +++ b/packages/python/python-pygobject_2.12.2.bb @@ -9,6 +9,11 @@ S = "${WORKDIR}/pygobject-${PV}" inherit autotools distutils-base pkgconfig +# otherwise the main package keeps snatching the .pc file away +# and therefore depends on glib-2.0-dev (which only the -dev +# package should). +PACKAGES =+ "${PN}-dev" + do_stage() { autotools_stage_all install -d ${STAGING_LIBDIR}/../share/pygobject/ diff --git a/packages/python/python-pygobject_2.12.3.bb b/packages/python/python-pygobject_2.12.3.bb new file mode 100644 index 0000000000..d09349575b --- /dev/null +++ b/packages/python/python-pygobject_2.12.3.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "python-pygobject-native" +PR = "r2" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 \ + file://python-path.patch;patch=1" + +S = "${WORKDIR}/pygobject-${PV}" + +inherit autotools distutils-base pkgconfig + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +do_stage() { + autotools_stage_all + install -d ${STAGING_LIBDIR}/../share/pygobject/ + cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ + install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ + cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ +} + +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/gobject/.debug" + diff --git a/packages/python/python-pygtk2/acinclude.m4 b/packages/python/python-pygtk2/acinclude.m4 index eec3758afc..53518fb2eb 100644 --- a/packages/python/python-pygtk2/acinclude.m4 +++ b/packages/python/python-pygtk2/acinclude.m4 @@ -43,12 +43,18 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], [AC_REQUIRE([AM_PATH_PYTHON]) AC_MSG_CHECKING(for headers required to compile python extensions) dnl deduce PYTHON_INCLUDES +AC_ARG_WITH(python-includes, + [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) +if test x$py_exec_prefix != x; then +PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" +else py_prefix=`$PYTHON -c "import sys; print sys.prefix"` py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" if test "$py_prefix" != "$py_exec_prefix"; then PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" fi +fi AC_SUBST(PYTHON_INCLUDES) dnl check if the headers exist: save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-pygtk2_2.10.3.bb b/packages/python/python-pygtk2_2.10.3.bb index d040299a0e..ad1f36a205 100644 --- a/packages/python/python-pygtk2_2.10.3.bb +++ b/packages/python/python-pygtk2_2.10.3.bb @@ -5,7 +5,7 @@ DEPENDS = "gtk+ libglade python-pycairo python-pygobject" RDEPENDS = "python-shell" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml2" +PR = "ml4" SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \ file://fix-gtkunixprint.patch;patch=1 \ @@ -13,13 +13,23 @@ SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar S = "${WORKDIR}/${SRCNAME}-${PV}" EXTRA_OECONF = "--disable-docs" +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" inherit autotools pkgconfig distutils-base +PACKAGES =+ "${PN}-dev" +FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*" +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug" + do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } +require fix-path.inc + +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/*/.debug" +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug" + do_stage() { autotools_stage_includes sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 diff --git a/packages/python/python-pygtk2_2.6.3.bb b/packages/python/python-pygtk2_2.6.3.bb new file mode 100644 index 0000000000..417de0a109 --- /dev/null +++ b/packages/python/python-pygtk2_2.6.3.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Python GTK+ Bindings" +SECTION = "devel/python" +DEPENDS = "gtk+-2.6.10 libglade" +RDEPENDS = "python-shell" +SRCNAME = "pygtk" +LICENSE = "LGPL" +PR = "ml0" + +SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.6/${SRCNAME}-${PV}.tar.bz2 \ + file://acinclude.m4" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit autotools pkgconfig distutils-base + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-doc ${PN}" +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/gtk/.debug \ + ${libdir}/python2.4/site-packages/gtk-2.0/.debug" +FILES_${PN}-dev += "${bindir} ${datadir}/pygtk ${libdir}/pygtk" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ +} + +do_stage() { + autotools_stage_includes + sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 + install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/ + install -d ${STAGING_DATADIR}/pygtk/2.0/codegen + install -d ${STAGING_DATADIR}/pygtk/2.0/defs/ + cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/ + cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ + cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ +} diff --git a/packages/python/python-pygtk2_2.8.6.bb b/packages/python/python-pygtk2_2.8.6.bb index ab571bdfd9..361737684c 100644 --- a/packages/python/python-pygtk2_2.8.6.bb +++ b/packages/python/python-pygtk2_2.8.6.bb @@ -1,11 +1,12 @@ DESCRIPTION = "Python GTK+ Bindings" SECTION = "devel/python" -# needs gtk+-2.8.x -DEPENDS = "gtk+ libglade" +PRIORITY = "optional" +# needs gtk+ 2.8.x +DEPENDS = "gtk+-2.8.16 libglade" RDEPENDS = "python-shell" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml0" +PR = "r1" SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/${SRCNAME}-${PV}.tar.bz2 \ file://acinclude.m4" @@ -13,6 +14,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit autotools pkgconfig distutils-base +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } diff --git a/packages/python/python-pyqt4_4.0.bb b/packages/python/python-pyqt4_4.2.bb index 64a9a71f68..64a9a71f68 100644 --- a/packages/python/python-pyqt4_4.0.bb +++ b/packages/python/python-pyqt4_4.2.bb diff --git a/packages/python/python-pyqt_3.13.bb b/packages/python/python-pyqt_3.13.bb index 00d8f32fe3..f9a8bb334d 100644 --- a/packages/python/python-pyqt_3.13.bb +++ b/packages/python/python-pyqt_3.13.bb @@ -7,7 +7,7 @@ LICENSE = "GPL" DEPENDS = "virtual/libqte2 virtual/libqpe1" RDEPENDS = "python-core python-sip" SRCNAME = "pyqt" -PR = "ml4" +PR = "ml5" SRC_URI = "http://www.vanille.de/mirror/PyQt-x11-gpl-${PV}.tar.gz \ file://qt2-fix.patch;patch=1 \ @@ -55,4 +55,5 @@ do_install() { done } -FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages" +FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages" +FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/.debug" diff --git a/packages/python/python-pyrex-native_0.9.3.1.bb b/packages/python/python-pyrex-native_0.9.5.1a.bb index d7ec81fd8e..d7ec81fd8e 100644 --- a/packages/python/python-pyrex-native_0.9.3.1.bb +++ b/packages/python/python-pyrex-native_0.9.5.1a.bb diff --git a/packages/python/python-pyrex_0.9.3.1.bb b/packages/python/python-pyrex_0.9.5.1a.bb index d0a5f826e0..d0a5f826e0 100644 --- a/packages/python/python-pyrex_0.9.3.1.bb +++ b/packages/python/python-pyrex_0.9.5.1a.bb diff --git a/packages/python/python-pysqlite2_2.2.2.bb b/packages/python/python-pysqlite2_2.2.2.bb index 37be3bc0ea..89d4030f5c 100644 --- a/packages/python/python-pysqlite2_2.2.2.bb +++ b/packages/python/python-pysqlite2_2.2.2.bb @@ -4,10 +4,15 @@ PRIORITY = "optional" LICENSE = "PSF" RDEPENDS = "python-core python-re python-lang python-datetime" DEPENDS = "sqlite3" -SRCNAME = "pysqlite" -PR = "ml1" +SRCNAME = "pysqlite2" +PR = "ml2" -SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/${SRCNAME}-${PV}.tar.gz" -S = "${WORKDIR}/${SRCNAME}-${PV}" +SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/pysqlite-${PV}.tar.gz" +S = "${WORKDIR}/pysqlite-${PV}" inherit distutils + +do_install_append() { + install -d ${D}${docdir}/doc + mv ${D}/${datadir}/pysqlite2-doc ${D}${docdir}/${SRCNAME} +} diff --git a/packages/python/python-setuptools_0.6c6.bb b/packages/python/python-setuptools_0.6c6.bb new file mode 100644 index 0000000000..ef56b9b652 --- /dev/null +++ b/packages/python/python-setuptools_0.6c6.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages" +HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "MIT-like" +RDEPENDS = "python-core python-zlib" +SRCNAME = "setuptools" +PR = "ml1" + +SRC_URI = "http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +do_install_prepend() { + install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages +} + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR_NATIVE}/python setup.py install +} diff --git a/packages/python/python-simplejson_1.7.1.bb b/packages/python/python-simplejson_1.7.1.bb new file mode 100644 index 0000000000..129f4fb9eb --- /dev/null +++ b/packages/python/python-simplejson_1.7.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "MIT" +DEPENDS = "python-setuptools" +# python-netserver is needed for cgi stuff +# python-zlib is needed to unpack egg created by setuptools +RDEPENDS = "python-core python-re python-io python-netserver python-zlib" +SRCNAME = "simplejson" +PR = "r1" + +SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils diff --git a/packages/python/python_2.4.4.bb b/packages/python/python_2.4.4.bb index 1a565875c8..6ec186cb83 100644 --- a/packages/python/python_2.4.4.bb +++ b/packages/python/python_2.4.4.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" PRIORITY = "optional" DEPENDS = "python-native readline zlib gdbm openssl tcl tk" DEPENDS_sharprom = "python-native readline zlib gdbm openssl" -PR = "ml0" +PR = "ml2" PYTHON_MAJMIN = "2.4" @@ -68,3 +68,12 @@ RPROVIDES_python-core = "python" RPROVIDES_python-curses = "python" PACKAGES =+ "libpython2" FILES_libpython2 = "${libdir}/libpython*" + +# catch all the rest (unsorted) +PACKAGES += "python-misc" +FILES_python-misc = "${libdir}/python2.4" + +# catch manpage +PACKAGES += "python-man" +FILES_python-man = "${datadir}/man" + |