[oe-commits] org.oe.dev contrib/python/generate-manifest.py: update to latest version

mickeyl commit openembedded-commits at lists.openembedded.org
Fri Aug 25 13:07:15 UTC 2006


contrib/python/generate-manifest.py: update to latest version

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: e3f12501387017a16cf992efe19acc1fa3fa7b33
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e3f12501387017a16cf992efe19acc1fa3fa7b33
Files:
1
contrib/python/generate-manifest.py
Diffs:

#
# mt diff -r9372040a14ee5954b1cd0110d9ea22afcbb03a03 -re3f12501387017a16cf992efe19acc1fa3fa7b33
#
# 
# 
# patch "contrib/python/generate-manifest.py"
#  from [d5e1bf996d67bb30771ad92bde19163f4b2df00a]
#    to [74f8fd1b7aafdc643d3f8a29e4bdf4d4219681a1]
# 
============================================================
--- contrib/python/generate-manifest.py	d5e1bf996d67bb30771ad92bde19163f4b2df00a
+++ contrib/python/generate-manifest.py	74f8fd1b7aafdc643d3f8a29e4bdf4d4219681a1
@@ -8,13 +8,12 @@ import time
 import sys
 import time
 
-# major version
-VERSION = "2.4.0"
+VERSION = "2.4.3"
 # increase when touching python-core
-BASEREV = 1
+BASEREV = 0
 
 __author__ = "Michael 'Mickey' Lauer <mickey at Vanille.de>"
-__version__ = "$Revision: 1.6 $"
+__version__ = "$Revision: 1.20 $"
 
 class MakefileMaker:
 
@@ -24,10 +23,14 @@ class MakefileMaker:
         self.sourcePrefix = "/lib/python%s/" % VERSION[:3]
         self.targetPrefix = "${libdir}/python%s" % VERSION[:3]
         self.output = outfile
-        self.out( "### AUTO-GENERATED by '%s' [(C) 2002-2006 Michael Lauer] on %s" % ( sys.argv[0], time.asctime() ) )
+        self.out( "#" * 120 )
+        self.out( "### AUTO-GENERATED by '%s' [(C) 2002-2006 Michael 'Mickey' Lauer <mickey at Vanille.de>] on %s" % ( sys.argv[0], time.asctime() ) )
         self.out( "###" )
+        self.out( "### Visit THE Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy" )
+        self.out( "###" )
         self.out( "### Warning: Manual edits will be lost!" )
         self.out( "###" )
+        self.out( "#" * 120 )
     #
     # helper functions
     #
@@ -63,6 +66,18 @@ class MakefileMaker:
         global VERSION
 
         #
+        # generate provides line
+        # 
+ 
+        provideLine = 'PROVIDES+="'
+        for name in self.packages:
+            provideLine += "%s " % name
+        provideLine += '"'
+
+        self.out( provideLine )
+        self.out( "" )       
+
+        #
         # generate package line
         #
 
@@ -137,142 +152,175 @@ if __name__ == "__main__":
 
     m = MakefileMaker( outfile )
 
-    # Add packages here.
-    # Note: Only supply dlopen link library dependencies here. Aautomatic link libraries are getting added by the shlibs dependency code
+    # Add packages here. Only specify dlopen-style library dependencies here, no ldd-style dependencies!
+    # Parameters: revision, name, description, dependencies, filenames
+    #
 
     m.setPrefix( "/", "/usr/" )
 
     m.addPackage( 1, "python-core", "Python Interpreter and core modules (needed!)", "",
     "lib/python2.4/__future__.* lib/python2.4/copy.* lib/python2.4/copy_reg.* lib/python2.4/ConfigParser.py " +
-    "lib/python2.4/getopt.* lib/python2.4/new.* " +
-    "lib/python2.4/os.* lib/python2.4/posixpath.* "+
-    "lib/python2.4/warnings.* lib/python2.4/site.* lib/python2.4/stat.* lib/python2.4/UserDict.* " +
+    "lib/python2.4/getopt.* lib/python2.4/linecache.* lib/python2.4/new.* " +
+    "lib/python2.4/os.* lib/python2.4/posixpath.* " +
+    "lib/python2.4/warnings.* lib/python2.4/site.* lib/python2.4/stat.* " +
+    "lib/python2.4/UserDict.* lib/python2.4/UserList.* lib/python2.4/UserString.* " +
     "lib/python2.4/lib-dynload/binascii.so lib/python2.4/lib-dynload/struct.so lib/python2.4/lib-dynload/time.so " +
     "lib/python2.4/lib-dynload/xreadlines.so lib/python2.4/types.* bin/python" )
 
-    m.addPackage( 1, "python-pydoc", "Python Interactive Help Support", "python-core, python-lang, python-stringold, python-re",
+    m.addPackage( 0, "python-devel", "Python Development Package", "python-core",
+    "include lib/python2.4/config" ) # package
+
+    m.addPackage( 0, "python-idle", "Python Integrated Development Environment", "python-core, python-tkinter",
+    "bin/idle lib/python2.4/idlelib" ) # package
+
+    m.addPackage( 0, "python-pydoc", "Python Interactive Help Support", "python-core, python-lang, python-stringold, python-re",
     "bin/pydoc lib/python2.4/pydoc.*" )
 
     m.setPrefix( "/lib/python2.4/", "${libdir}/python2.4/" )
 
-    m.addPackage( 1, "python-audio", "Python Audio Handling", "python-core",
+    m.addPackage( 0, "python-audio", "Python Audio Handling", "python-core",
     "wave.* chunk.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so" )
 
-    m.addPackage( 1, "python-codecs", "Python Codecs, Encodings & i18n Support", "python-core",
-    "codecs.* encodings locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so gettext.* xdrlib.*" )
+    m.addPackage( 0, "python-bsddb", "Python Berkeley Database Bindings", "python-core",
+    "bsddb" ) # package
 
-    m.addPackage( 1, "python-compile", "Python Bytecode Compilation Support", "python-core",
+    m.addPackage( 0, "python-codecs", "Python Codecs, Encodings & i18n Support", "python-core",
+    "codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" )
+
+    m.addPackage( 0, "python-compile", "Python Bytecode Compilation Support", "python-core",
     "py_compile.* compileall.*" )
 
-    m.addPackage( 1, "python-compiler", "Python Compiler Support", "python-core",
+    m.addPackage( 0, "python-compiler", "Python Compiler Support", "python-core",
     "compiler" ) # package
 
-    m.addPackage( 1, "python-compression", "Python High Level Compression Support", "python-core, python-zlib",
+    m.addPackage( 0, "python-compression", "Python High Level Compression Support", "python-core, python-zlib",
     "gzip.* zipfile.*" )
 
-    m.addPackage( 1, "python-crypt", "Python Basic Cryptographic and Hashing Support", "python-core",
+    m.addPackage( 0, "python-crypt", "Python Basic Cryptographic and Hashing Support", "python-core",
     "lib-dynload/crypt.so lib-dynload/md5.so lib-dynload/rotor.so lib-dynload/sha.so" )
 
-    m.addPackage( 1, "python-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "python-core, python-io, python-re, python-stringold",
+    m.addPackage( 0, "python-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "python-core, python-io, python-re, python-stringold",
     "lib-dynload/_csv.so csv.* optparse.* textwrap.*" )
 
     m.addPackage( 1, "python-curses", "Python Curses Support", "python-core",
     "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # package
 
-    m.addPackage( 1, "python-db", "Python File-Based Database Support", "python-core",
+    m.addPackage( 0, "python-datetime", "Python Calendar and Time support", "python-core, python-codecs",
+    "_strptime.* calendar.* lib-dynload/datetime.so" )
+
+    m.addPackage( 0, "python-db", "Python File-Based Database Support", "python-core",
     "anydbm.* dumbdbm.* whichdb.* " )
 
-    m.addPackage( 1, "python-distutils", "Python Distribution Utility", "python-core",
-    "distutils" ) # package
+    m.addPackage( 0, "python-distutils", "Python Distribution Utilities", "python-core",
+    "config distutils" ) # package
 
-    m.addPackage( 1, "python-email", "Python Email Support", "python-core, python-io, python-re",
+    m.addPackage( 0, "python-email", "Python Email Support", "python-core, python-io, python-re",
     "email" ) # package
 
-    m.addPackage( 1, "python-fcntl", "Python's fcntl Interface", "python-core",
+    m.addPackage( 0, "python-fcntl", "Python's fcntl Interface", "python-core",
     "lib-dynload/fcntl.so" )
 
-    m.addPackage( 1, "python-hotshot", "Python Hotshot Profiler", "python-core",
+    m.addPackage( 0, "python-hotshot", "Python Hotshot Profiler", "python-core",
     "hotshot lib-dynload/_hotshot.so" )
 
-    m.addPackage( 1, "python-html", "Python HTML Processing", "python-core",
+    m.addPackage( 0, "python-html", "Python HTML Processing", "python-core",
     "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* " )
 
-    m.addPackage( 1, "python-gdbm", "Python GNU Database Support", "python-core, libgdbm3",
+    m.addPackage( 0, "python-gdbm", "Python GNU Database Support", "python-core, libgdbm3",
     "lib-dynload/gdbm.so" )
 
-    m.addPackage( 1, "python-image", "Python Graphical Image Handling", "python-core",
+    m.addPackage( 0, "python-image", "Python Graphical Image Handling", "python-core",
     "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" )
 
-    m.addPackage( 1, "python-io", "Python Low-Level I/O", "python-core, python-math",
-    "lib-dynload/_socket.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so pipes.* socket.* tempfile.* StringIO.* " )
+    m.addPackage( 0, "python-io", "Python Low-Level I/O", "python-core, python-math",
+    "lib-dynload/_socket.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so "
+    "pipes.* socket.* tempfile.* StringIO.* " )
 
-    m.addPackage( 2, "python-lang", "Python Low-Level Language Support", "python-core",
+    m.addPackage( 0, "python-lang", "Python Low-Level Language Support", "python-core",
     "lib-dynload/array.so lib-dynload/parser.so lib-dynload/operator.so lib-dynload/_weakref.so " +
     "lib-dynload/itertools.so lib-dynload/collections.so " +
     "atexit.* code.* codeop.* dis.* inspect.* keyword.* opcode.* repr.* token.* tokenize.* traceback.* linecache.* weakref.*" )
 
-    m.addPackage( 2, "python-math", "Python Math Support", "python-core",
+    m.addPackage( 0, "python-logging", "Python Logging Support", "python-core",
+    "logging" ) # package
+
+    m.addPackage( 0, "python-lib-old-and-deprecated", "Python Deprecated Libraries", "python-core",
+    "lib-old" ) # package
+
+    m.addPackage( 0, "python-tkinter", "Python Tcl/Tk Bindings", "python-core",
+    "lib-dynload/_tkinter.so lib-tk" ) # package
+
+    m.addPackage( 0, "python-math", "Python Math Support", "python-core",
     "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" )
 
-    m.addPackage( 1, "python-mime", "Python MIME Handling APIs", "python-core, python-io",
-    "mimetools.* rfc822.*" )
+    m.addPackage( 0, "python-mime", "Python MIME Handling APIs", "python-core, python-io",
+    "mimetools.* quopri.* rfc822.*" )
 
-    m.addPackage( 1, "python-mmap", "Python Memory-Mapped-File Support", "python-core, python-io",
+    m.addPackage( 0, "python-mmap", "Python Memory-Mapped-File Support", "python-core, python-io",
     "lib-dynload/mmap.so " )
 
-    m.addPackage( 1, "python-unixadmin", "Python Unix Administration Support", "python-core",
+    m.addPackage( 0, "python-unixadmin", "Python Unix Administration Support", "python-core",
     "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" )
 
-    m.addPackage( 1, "python-netclient", "Python Internet Protocol Clients", "python-core, python-io, python-mime",
-    "base64.* ftplib.* gopherlib.* hmac.* httplib.* mimetypes.* nntplib.* poplib.* smtplib.* telnetlib.* urllib.* urllib2.* urlparse.*" )
+    m.addPackage( 1, "python-netclient", "Python Internet Protocol Clients", "python-core, python-datetime, python-io, python-lang, python-logging, python-mime",
+    "*Cookie*.* " + 
+    "base64.* cookielib.* ftplib.* gopherlib.* hmac.* httplib.* mimetypes.* nntplib.* poplib.* smtplib.* telnetlib.* urllib.* urllib2.* urlparse.*" )
 
-    m.addPackage( 1, "python-netserver", "Python Internet Protocol Servers", "python-core, python-netclient",
+    m.addPackage( 0, "python-netserver", "Python Internet Protocol Servers", "python-core, python-netclient",
     "cgi.* BaseHTTPServer.* SimpleHTTPServer.* SocketServer.*" )
 
-    m.addPackage( 1, "python-pickle", "Python Persistence Support", "python-core, python-re",
+    m.addPackage( 0, "python-pickle", "Python Persistence Support", "python-core, python-codecs, python-re",
     "pickle.* shelve.* lib-dynload/cPickle.so" )
 
-    m.addPackage( 1, "python-pprint", "Python Pretty-Print Support", "python-core",
+    m.addPackage( 0, "python-pprint", "Python Pretty-Print Support", "python-core",
     "pprint.*" )
 
-    # python-pyqt has its own subdirectory
+    m.addPackage( 0, "python-profile", "Python Basic Profiling Support", "python-core",
+    "profile.* pstats.*" )
 
-    # python-pyxml has its own subdirectory
-
-    m.addPackage( 1, "python-re", "Python Regular Expression APIs", "python-core, python-stringold",
+    m.addPackage( 0, "python-re", "Python Regular Expression APIs", "python-core",
     "re.* sre.* sre_compile.* sre_constants* sre_parse.*" ) # _sre is builtin
 
-    m.addPackage( 1, "python-readline", "Python Readline Support", "python-core, libreadline4",
+    m.addPackage( 0, "python-readline", "Python Readline Support", "python-core, libreadline4",
     "lib-dynload/readline.so rlcompleter.*" )
 
-    m.addPackage( 1, "python-resource", "Python Resource Control Interface", "python-core",
+    m.addPackage( 0, "python-resource", "Python Resource Control Interface", "python-core",
     "lib-dynload/resource.so" )
 
-    m.addPackage( 1, "python-shell", "Python Shell-Like Functionality", "python-core, python-re",
+    m.addPackage( 0, "python-shell", "Python Shell-Like Functionality", "python-core, python-re",
     "commands.* dircache.* fnmatch.* glob.* popen2.* shutil.*" )
 
-    m.addPackage( 1, "python-stringold", "Python Deprecated String APIs", "python-core",
+    m.addPackage( 0, "python-subprocess", "Python Subprocess Support", "python-core, python-io, python-re",
+    "subprocess.*" )
+
+    m.addPackage( 0, "python-stringold", "Python String APIs [deprecated]", "python-core, python-re",
     "lib-dynload/strop.so string.*" )
 
-    m.addPackage( 1, "python-syslog", "Python's syslog Interface", "python-core",
+    m.addPackage( 0, "python-syslog", "Python's syslog Interface", "python-core",
     "lib-dynload/syslog.so" )
 
-    m.addPackage( 1, "python-terminal", "Python Terminal Controlling Support", "python-core, python-io",
+    m.addPackage( 0, "python-terminal", "Python Terminal Controlling Support", "python-core, python-io",
     "pty.* tty.*" )
 
-    m.addPackage( 1, "python-threading", "Python Threading & Synchronization Support", "python-core, python-lang",
-    "bisect.* threading.* Queue.*" )
+    m.addPackage( 0, "python-tests", "Python Tests", "python-core",
+    "test" ) # package
 
-    m.addPackage( 1, "python-unittest", "Python Unit Testing Framework", "python-core, python-stringold, python-lang",
+    m.addPackage( 0, "python-threading", "Python Threading & Synchronization Support", "python-core, python-lang",
+    "_threading_local.* bisect.* dummy_thread.* dummy_threading.* mutex.* threading.* Queue.*" )
+
+    m.addPackage( 0, "python-unittest", "Python Unit Testing Framework", "python-core, python-stringold, python-lang",
     "unittest.*" )
 
-    m.addPackage( 1, "python-xml", "Python basic XML support.", "python-core, python-re",
+    m.addPackage( 0, "python-xml", "Python basic XML support.", "python-core, python-re",
     "lib-dynload/pyexpat.so xml xmllib.*" ) # package
 
-    m.addPackage( 1, "python-xmlrpc", "Python XMLRPC Support", "python-core, python-xml, python-netserver, python-lang",
+    m.addPackage( 0, "python-xmlrpc", "Python XMLRPC Support", "python-core, python-xml, python-netserver, python-lang",
     "xmlrpclib.* SimpleXMLRPCServer.*" )
 
-    m.addPackage( 2, "python-zlib", "Python zlib Support.", "python-core, libz1",
+    m.addPackage( 1, "python-zlib", "Python zlib Support.", "python-core",
     "lib-dynload/zlib.so" )
 
+    m.addPackage( 0, "python-mailbox", "Python Mailbox Format Support", "python-core, python-mime",
+    "mailbox.*" )
+
     m.make()






More information about the Openembedded-commits mailing list