diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-03-05 17:01:47 +0000 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-10 21:43:03 -0800 |
commit | 20b41bd1368e89de1da0db3f48cda6fa5801f9be (patch) | |
tree | f0881113084bc5385b067cead95de5b58a969eeb | |
parent | 232dcb72416c8315445959dfab46c86327384c30 (diff) | |
download | poky-20b41bd1368e89de1da0db3f48cda6fa5801f9be.tar.gz |
python: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc
* imported from OE with sorted entries etc
(From OE-Core rev: 94b36524550ff2c94a5f8d82a9bc2073c06d418a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python-2.6-manifest.inc | 344 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python.inc | 2 | ||||
-rwxr-xr-x | scripts/contrib/python/generate-manifest-2.6.py | 362 |
3 files changed, 538 insertions, 170 deletions
diff --git a/meta/recipes-devtools/python/python-2.6-manifest.inc b/meta/recipes-devtools/python/python-2.6-manifest.inc index 282cb0eca3..e4e503c72a 100644 --- a/meta/recipes-devtools/python/python-2.6-manifest.inc +++ b/meta/recipes-devtools/python/python-2.6-manifest.inc | |||
@@ -1,195 +1,209 @@ | |||
1 | 1 | ||
2 | # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. | 2 | # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. |
3 | # Generator: '../../contrib/python/generate-manifest-2.6.py' Version 20091004 (C) 2002-2009 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | 3 | # Generator: '../../../scripts/contrib/python/generate-manifest-2.6.py' Version 20110222 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> |
4 | # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy | 4 | # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy |
5 | 5 | ||
6 | PROVIDES+="${PN}-profile ${PN}-threading ${PN}-distutils ${PN}-doctest ${PN}-stringold ${PN}-codecs ${PN}-ctypes ${PN}-pickle ${PN}-datetime ${PN}-core ${PN}-io ${PN}-compiler ${PN}-compression ${PN}-re ${PN}-xmlrpc ${PN}-terminal ${PN}-email ${PN}-image ${PN}-tests ${PN}-core-dbg ${PN}-resource ${PN}-json ${PN}-devel ${PN}-difflib ${PN}-math ${PN}-syslog ${PN}-hotshot ${PN}-unixadmin ${PN}-textutils ${PN}-tkinter ${PN}-gdbm ${PN}-elementtree ${PN}-fcntl ${PN}-netclient ${PN}-pprint ${PN}-netserver ${PN}-curses ${PN}-smtpd ${PN}-html ${PN}-readline ${PN}-subprocess ${PN}-pydoc ${PN}-logging ${PN}-mailbox ${PN}-xml ${PN}-mime ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-unittest ${PN}-multiprocessing ${PN}-robotparser ${PN}-compile ${PN}-debugger ${PN}-pkgutil ${PN}-shell ${PN}-bsddb ${PN}-mmap ${PN}-zlib ${PN}-db ${PN}-crypt ${PN}-idle ${PN}-lang ${PN}-audio " | 6 | |
7 | 7 | ||
8 | PACKAGES="${PN}-core-dbg ${PN}-profile ${PN}-threading ${PN}-distutils ${PN}-doctest ${PN}-stringold ${PN}-codecs ${PN}-ctypes ${PN}-pickle ${PN}-datetime ${PN}-core ${PN}-io ${PN}-compiler ${PN}-compression ${PN}-re ${PN}-xmlrpc ${PN}-terminal ${PN}-email ${PN}-image ${PN}-tests ${PN}-resource ${PN}-json ${PN}-devel ${PN}-difflib ${PN}-math ${PN}-syslog ${PN}-hotshot ${PN}-unixadmin ${PN}-textutils ${PN}-tkinter ${PN}-gdbm ${PN}-elementtree ${PN}-fcntl ${PN}-netclient ${PN}-pprint ${PN}-netserver ${PN}-curses ${PN}-smtpd ${PN}-html ${PN}-readline ${PN}-subprocess ${PN}-pydoc ${PN}-logging ${PN}-mailbox ${PN}-xml ${PN}-mime ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-unittest ${PN}-multiprocessing ${PN}-robotparser ${PN}-compile ${PN}-debugger ${PN}-pkgutil ${PN}-shell ${PN}-bsddb ${PN}-mmap ${PN}-zlib ${PN}-db ${PN}-crypt ${PN}-idle ${PN}-lang ${PN}-audio ${PN}-modules" | 8 | PROVIDES+="${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-core-dbg ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib " |
9 | 9 | ||
10 | DESCRIPTION_${PN}-profile="Python Basic Profiling Support" | 10 | PACKAGES="${PN}-core-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules" |
11 | RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils" | ||
12 | FILES_${PN}-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so " | ||
13 | |||
14 | DESCRIPTION_${PN}-threading="Python Threading & Synchronization Support" | ||
15 | RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang" | ||
16 | FILES_${PN}-threading="${libdir}/python2.6/_threading_local.* ${libdir}/python2.6/dummy_thread.* ${libdir}/python2.6/dummy_threading.* ${libdir}/python2.6/mutex.* ${libdir}/python2.6/threading.* ${libdir}/python2.6/Queue.* " | ||
17 | |||
18 | DESCRIPTION_${PN}-distutils="Python Distribution Utilities" | ||
19 | RDEPENDS_${PN}-distutils="${PN}-core" | ||
20 | FILES_${PN}-distutils="${libdir}/python2.6/config ${libdir}/python2.6/distutils " | ||
21 | 11 | ||
22 | DESCRIPTION_${PN}-doctest="Python framework for running examples in docstrings." | 12 | DESCRIPTION_${PN}-audio="Python Audio Handling" |
23 | RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib" | 13 | RDEPENDS_${PN}-audio="${PN}-core" |
24 | FILES_${PN}-doctest="${libdir}/python2.6/doctest.* " | 14 | FILES_${PN}-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.* ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so ${libdir}/python2.6/lib-dynload/audioop.so " |
25 | 15 | ||
26 | DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]" | 16 | DESCRIPTION_${PN}-bsddb="Python Berkeley Database Bindings" |
27 | RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re" | 17 | RDEPENDS_${PN}-bsddb="${PN}-core" |
28 | FILES_${PN}-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* " | 18 | FILES_${PN}-bsddb="${libdir}/python2.6/bsddb ${libdir}/python2.6/lib-dynload/_bsddb.so " |
29 | 19 | ||
30 | DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support" | 20 | DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support" |
31 | RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang" | 21 | RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang" |
32 | FILES_${PN}-codecs="${libdir}/python2.6/codecs.* ${libdir}/python2.6/encodings ${libdir}/python2.6/gettext.* ${libdir}/python2.6/locale.* ${libdir}/python2.6/lib-dynload/_locale.so ${libdir}/python2.6/lib-dynload/unicodedata.so ${libdir}/python2.6/stringprep.* ${libdir}/python2.6/xdrlib.* " | 22 | FILES_${PN}-codecs="${libdir}/python2.6/codecs.* ${libdir}/python2.6/encodings ${libdir}/python2.6/gettext.* ${libdir}/python2.6/locale.* ${libdir}/python2.6/lib-dynload/_locale.so ${libdir}/python2.6/lib-dynload/unicodedata.so ${libdir}/python2.6/stringprep.* ${libdir}/python2.6/xdrlib.* " |
33 | 23 | ||
24 | DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support" | ||
25 | RDEPENDS_${PN}-compile="${PN}-core" | ||
26 | FILES_${PN}-compile="${libdir}/python2.6/py_compile.* ${libdir}/python2.6/compileall.* " | ||
27 | |||
28 | DESCRIPTION_${PN}-compiler="Python Compiler Support" | ||
29 | RDEPENDS_${PN}-compiler="${PN}-core" | ||
30 | FILES_${PN}-compiler="${libdir}/python2.6/compiler " | ||
31 | |||
32 | DESCRIPTION_${PN}-compression="Python High Level Compression Support" | ||
33 | RDEPENDS_${PN}-compression="${PN}-core ${PN}-zlib" | ||
34 | FILES_${PN}-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so " | ||
35 | |||
36 | DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)" | ||
37 | RDEPENDS_${PN}-core="" | ||
38 | FILES_${PN}-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.* ${libdir}/python2.6/stat.* ${libdir}/python2.6/UserDict.* ${libdir}/python2.6/UserList.* ${libdir}/python2.6/UserString.* ${libdir}/python2.6/lib-dynload/binascii.so ${libdir}/python2.6/lib-dynload/_struct.so ${libdir}/python2.6/lib-dynload/time.so ${libdir}/python2.6/lib-dynload/xreadlines.so ${libdir}/python2.6/types.* ${libdir}/python2.6/platform.* ${bindir}/python* " | ||
39 | |||
40 | DESCRIPTION_${PN}-core-dbg="Python core module debug information" | ||
41 | RDEPENDS_${PN}-core-dbg="${PN}-core" | ||
42 | FILES_${PN}-core-dbg="${libdir}/python2.6/config/.debug ${libdir}/python2.6/lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug " | ||
43 | |||
44 | DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support" | ||
45 | RDEPENDS_${PN}-crypt="${PN}-core" | ||
46 | FILES_${PN}-crypt="${libdir}/python2.6/hashlib.* ${libdir}/python2.6/md5.* ${libdir}/python2.6/sha.* ${libdir}/python2.6/lib-dynload/crypt.so ${libdir}/python2.6/lib-dynload/_hashlib.so ${libdir}/python2.6/lib-dynload/_sha256.so ${libdir}/python2.6/lib-dynload/_sha512.so " | ||
47 | |||
34 | DESCRIPTION_${PN}-ctypes="Python C Types Support" | 48 | DESCRIPTION_${PN}-ctypes="Python C Types Support" |
35 | RDEPENDS_${PN}-ctypes="${PN}-core" | 49 | RDEPENDS_${PN}-ctypes="${PN}-core" |
36 | FILES_${PN}-ctypes="${libdir}/python2.6/ctypes ${libdir}/python2.6/lib-dynload/_ctypes.so " | 50 | FILES_${PN}-ctypes="${libdir}/python2.6/ctypes ${libdir}/python2.6/lib-dynload/_ctypes.so " |
37 | 51 | ||
38 | DESCRIPTION_${PN}-pickle="Python Persistence Support" | 52 | DESCRIPTION_${PN}-curses="Python Curses Support" |
39 | RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re" | 53 | RDEPENDS_${PN}-curses="${PN}-core" |
40 | FILES_${PN}-pickle="${libdir}/python2.6/pickle.* ${libdir}/python2.6/shelve.* ${libdir}/python2.6/lib-dynload/cPickle.so " | 54 | FILES_${PN}-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so " |
41 | 55 | ||
42 | DESCRIPTION_${PN}-datetime="Python Calendar and Time support" | 56 | DESCRIPTION_${PN}-datetime="Python Calendar and Time support" |
43 | RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs" | 57 | RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs" |
44 | FILES_${PN}-datetime="${libdir}/python2.6/_strptime.* ${libdir}/python2.6/calendar.* ${libdir}/python2.6/lib-dynload/datetime.so " | 58 | FILES_${PN}-datetime="${libdir}/python2.6/_strptime.* ${libdir}/python2.6/calendar.* ${libdir}/python2.6/lib-dynload/datetime.so " |
45 | 59 | ||
46 | DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)" | 60 | DESCRIPTION_${PN}-db="Python File-Based Database Support" |
47 | RDEPENDS_${PN}-core="" | 61 | RDEPENDS_${PN}-db="${PN}-core" |
48 | FILES_${PN}-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.* ${libdir}/python2.6/stat.* ${libdir}/python2.6/UserDict.* ${libdir}/python2.6/UserList.* ${libdir}/python2.6/UserString.* ${libdir}/python2.6/lib-dynload/binascii.so ${libdir}/python2.6/lib-dynload/_struct.so ${libdir}/python2.6/lib-dynload/time.so ${libdir}/python2.6/lib-dynload/xreadlines.so ${libdir}/python2.6/types.* ${bindir}/python* " | 62 | FILES_${PN}-db="${libdir}/python2.6/anydbm.* ${libdir}/python2.6/dumbdbm.* ${libdir}/python2.6/whichdb.* " |
49 | 63 | ||
50 | DESCRIPTION_${PN}-io="Python Low-Level I/O" | 64 | DESCRIPTION_${PN}-debugger="Python Debugger" |
51 | RDEPENDS_${PN}-io="${PN}-core ${PN}-math" | 65 | RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint" |
52 | FILES_${PN}-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* " | 66 | FILES_${PN}-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* " |
53 | 67 | ||
54 | DESCRIPTION_${PN}-compiler="Python Compiler Support" | 68 | DESCRIPTION_${PN}-dev="Python Development Package" |
55 | RDEPENDS_${PN}-compiler="${PN}-core" | 69 | RDEPENDS_${PN}-dev="${PN}-core" |
56 | FILES_${PN}-compiler="${libdir}/python2.6/compiler " | 70 | FILES_${PN}-dev="${includedir} ${libdir}/libpython2.6.so " |
57 | 71 | ||
58 | DESCRIPTION_${PN}-compression="Python High Level Compression Support" | 72 | DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects." |
59 | RDEPENDS_${PN}-compression="${PN}-core ${PN}-zlib" | 73 | RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re" |
60 | FILES_${PN}-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so " | 74 | FILES_${PN}-difflib="${libdir}/python2.6/difflib.* " |
61 | 75 | ||
62 | DESCRIPTION_${PN}-re="Python Regular Expression APIs" | 76 | DESCRIPTION_${PN}-distutils="Python Distribution Utilities" |
63 | RDEPENDS_${PN}-re="${PN}-core" | 77 | RDEPENDS_${PN}-distutils="${PN}-core" |
64 | FILES_${PN}-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* " | 78 | FILES_${PN}-distutils="${libdir}/python2.6/config ${libdir}/python2.6/distutils " |
65 | 79 | ||
66 | DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support" | 80 | DESCRIPTION_${PN}-doctest="Python framework for running examples in docstrings." |
67 | RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang" | 81 | RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib" |
68 | FILES_${PN}-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* " | 82 | FILES_${PN}-doctest="${libdir}/python2.6/doctest.* " |
69 | 83 | ||
70 | DESCRIPTION_${PN}-terminal="Python Terminal Controlling Support" | 84 | DESCRIPTION_${PN}-elementtree="Python elementree" |
71 | RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io" | 85 | RDEPENDS_${PN}-elementtree="${PN}-core" |
72 | FILES_${PN}-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* " | 86 | FILES_${PN}-elementtree="${libdir}/python2.6/lib-dynload/_elementtree.so " |
73 | 87 | ||
74 | DESCRIPTION_${PN}-email="Python Email Support" | 88 | DESCRIPTION_${PN}-email="Python Email Support" |
75 | RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient" | 89 | RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient" |
76 | FILES_${PN}-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email " | 90 | FILES_${PN}-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email " |
77 | 91 | ||
92 | DESCRIPTION_${PN}-fcntl="Python's fcntl Interface" | ||
93 | RDEPENDS_${PN}-fcntl="${PN}-core" | ||
94 | FILES_${PN}-fcntl="${libdir}/python2.6/lib-dynload/fcntl.so " | ||
95 | |||
96 | DESCRIPTION_${PN}-gdbm="Python GNU Database Support" | ||
97 | RDEPENDS_${PN}-gdbm="${PN}-core" | ||
98 | FILES_${PN}-gdbm="${libdir}/python2.6/lib-dynload/gdbm.so " | ||
99 | |||
100 | DESCRIPTION_${PN}-hotshot="Python Hotshot Profiler" | ||
101 | RDEPENDS_${PN}-hotshot="${PN}-core" | ||
102 | FILES_${PN}-hotshot="${libdir}/python2.6/hotshot ${libdir}/python2.6/lib-dynload/_hotshot.so " | ||
103 | |||
104 | DESCRIPTION_${PN}-html="Python HTML Processing" | ||
105 | RDEPENDS_${PN}-html="${PN}-core" | ||
106 | FILES_${PN}-html="${libdir}/python2.6/formatter.* ${libdir}/python2.6/htmlentitydefs.* ${libdir}/python2.6/htmllib.* ${libdir}/python2.6/markupbase.* ${libdir}/python2.6/sgmllib.* " | ||
107 | |||
108 | DESCRIPTION_${PN}-idle="Python Integrated Development Environment" | ||
109 | RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter" | ||
110 | FILES_${PN}-idle="${bindir}/idle ${libdir}/python2.6/idlelib " | ||
111 | |||
78 | DESCRIPTION_${PN}-image="Python Graphical Image Handling" | 112 | DESCRIPTION_${PN}-image="Python Graphical Image Handling" |
79 | RDEPENDS_${PN}-image="${PN}-core" | 113 | RDEPENDS_${PN}-image="${PN}-core" |
80 | FILES_${PN}-image="${libdir}/python2.6/colorsys.* ${libdir}/python2.6/imghdr.* ${libdir}/python2.6/lib-dynload/imageop.so ${libdir}/python2.6/lib-dynload/rgbimg.so " | 114 | FILES_${PN}-image="${libdir}/python2.6/colorsys.* ${libdir}/python2.6/imghdr.* ${libdir}/python2.6/lib-dynload/imageop.so ${libdir}/python2.6/lib-dynload/rgbimg.so " |
81 | 115 | ||
82 | DESCRIPTION_${PN}-tests="Python Tests" | 116 | DESCRIPTION_${PN}-io="Python Low-Level I/O" |
83 | RDEPENDS_${PN}-tests="${PN}-core" | 117 | RDEPENDS_${PN}-io="${PN}-core ${PN}-math" |
84 | FILES_${PN}-tests="${libdir}/python2.6/test " | 118 | FILES_${PN}-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/ssl.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* " |
85 | |||
86 | DESCRIPTION_${PN}-core-dbg="Python core module debug information" | ||
87 | RDEPENDS_${PN}-core-dbg="${PN}-core" | ||
88 | FILES_${PN}-core-dbg="${libdir}/python2.6/config/.debug ${libdir}/python2.6/lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug " | ||
89 | |||
90 | DESCRIPTION_${PN}-resource="Python Resource Control Interface" | ||
91 | RDEPENDS_${PN}-resource="${PN}-core" | ||
92 | FILES_${PN}-resource="${libdir}/python2.6/lib-dynload/resource.so " | ||
93 | 119 | ||
94 | DESCRIPTION_${PN}-json="Python JSON Support" | 120 | DESCRIPTION_${PN}-json="Python JSON Support" |
95 | RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re" | 121 | RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re" |
96 | FILES_${PN}-json="${libdir}/python2.6/json " | 122 | FILES_${PN}-json="${libdir}/python2.6/json " |
97 | 123 | ||
98 | DESCRIPTION_${PN}-devel="Python Development Package" | 124 | DESCRIPTION_${PN}-lang="Python Low-Level Language Support" |
99 | RDEPENDS_${PN}-devel="${PN}-core" | 125 | RDEPENDS_${PN}-lang="${PN}-core" |
100 | FILES_${PN}-devel="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config " | 126 | FILES_${PN}-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/weakref.* " |
101 | 127 | ||
102 | DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects." | 128 | DESCRIPTION_${PN}-logging="Python Logging Support" |
103 | RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re" | 129 | RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold" |
104 | FILES_${PN}-difflib="${libdir}/python2.6/difflib.* " | 130 | FILES_${PN}-logging="${libdir}/python2.6/logging " |
131 | |||
132 | DESCRIPTION_${PN}-mailbox="Python Mailbox Format Support" | ||
133 | RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime" | ||
134 | FILES_${PN}-mailbox="${libdir}/python2.6/mailbox.* " | ||
105 | 135 | ||
106 | DESCRIPTION_${PN}-math="Python Math Support" | 136 | DESCRIPTION_${PN}-math="Python Math Support" |
107 | RDEPENDS_${PN}-math="${PN}-core" | 137 | RDEPENDS_${PN}-math="${PN}-core" |
108 | FILES_${PN}-math="${libdir}/python2.6/lib-dynload/cmath.so ${libdir}/python2.6/lib-dynload/math.so ${libdir}/python2.6/lib-dynload/_random.so ${libdir}/python2.6/random.* ${libdir}/python2.6/sets.* " | 138 | FILES_${PN}-math="${libdir}/python2.6/lib-dynload/cmath.so ${libdir}/python2.6/lib-dynload/math.so ${libdir}/python2.6/lib-dynload/_random.so ${libdir}/python2.6/random.* ${libdir}/python2.6/sets.* " |
109 | 139 | ||
110 | DESCRIPTION_${PN}-syslog="Python Syslog Interface" | 140 | DESCRIPTION_${PN}-mime="Python MIME Handling APIs" |
111 | RDEPENDS_${PN}-syslog="${PN}-core" | 141 | RDEPENDS_${PN}-mime="${PN}-core ${PN}-io" |
112 | FILES_${PN}-syslog="${libdir}/python2.6/lib-dynload/syslog.so " | 142 | FILES_${PN}-mime="${libdir}/python2.6/mimetools.* ${libdir}/python2.6/uu.* ${libdir}/python2.6/quopri.* ${libdir}/python2.6/rfc822.* " |
113 | |||
114 | DESCRIPTION_${PN}-hotshot="Python Hotshot Profiler" | ||
115 | RDEPENDS_${PN}-hotshot="${PN}-core" | ||
116 | FILES_${PN}-hotshot="${libdir}/python2.6/hotshot ${libdir}/python2.6/lib-dynload/_hotshot.so " | ||
117 | |||
118 | DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" | ||
119 | RDEPENDS_${PN}-unixadmin="${PN}-core" | ||
120 | FILES_${PN}-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* " | ||
121 | |||
122 | DESCRIPTION_${PN}-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" | ||
123 | RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold" | ||
124 | FILES_${PN}-textutils="${libdir}/python2.6/lib-dynload/_csv.so ${libdir}/python2.6/csv.* ${libdir}/python2.6/optparse.* ${libdir}/python2.6/textwrap.* " | ||
125 | |||
126 | DESCRIPTION_${PN}-tkinter="Python Tcl/Tk Bindings" | ||
127 | RDEPENDS_${PN}-tkinter="${PN}-core" | ||
128 | FILES_${PN}-tkinter="${libdir}/python2.6/lib-dynload/_tkinter.so ${libdir}/python2.6/lib-tk " | ||
129 | |||
130 | DESCRIPTION_${PN}-gdbm="Python GNU Database Support" | ||
131 | RDEPENDS_${PN}-gdbm="${PN}-core" | ||
132 | FILES_${PN}-gdbm="${libdir}/python2.6/lib-dynload/gdbm.so " | ||
133 | 143 | ||
134 | DESCRIPTION_${PN}-elementtree="Python elementree" | 144 | DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support" |
135 | RDEPENDS_${PN}-elementtree="${PN}-core" | 145 | RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io" |
136 | FILES_${PN}-elementtree="${libdir}/python2.6/lib-dynload/_elementtree.so " | 146 | FILES_${PN}-mmap="${libdir}/python2.6/lib-dynload/mmap.so " |
137 | 147 | ||
138 | DESCRIPTION_${PN}-fcntl="Python's fcntl Interface" | 148 | DESCRIPTION_${PN}-multiprocessing="Python Multiprocessing Support" |
139 | RDEPENDS_${PN}-fcntl="${PN}-core" | 149 | RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang" |
140 | FILES_${PN}-fcntl="${libdir}/python2.6/lib-dynload/fcntl.so " | 150 | FILES_${PN}-multiprocessing="${libdir}/python2.6/lib-dynload/_multiprocessing.so ${libdir}/python2.6/multiprocessing " |
141 | 151 | ||
142 | DESCRIPTION_${PN}-netclient="Python Internet Protocol Clients" | 152 | DESCRIPTION_${PN}-netclient="Python Internet Protocol Clients" |
143 | RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime" | 153 | RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime" |
144 | FILES_${PN}-netclient="${libdir}/python2.6/*Cookie*.* ${libdir}/python2.6/base64.* ${libdir}/python2.6/cookielib.* ${libdir}/python2.6/ftplib.* ${libdir}/python2.6/gopherlib.* ${libdir}/python2.6/hmac.* ${libdir}/python2.6/httplib.* ${libdir}/python2.6/mimetypes.* ${libdir}/python2.6/nntplib.* ${libdir}/python2.6/poplib.* ${libdir}/python2.6/smtplib.* ${libdir}/python2.6/telnetlib.* ${libdir}/python2.6/urllib.* ${libdir}/python2.6/urllib2.* ${libdir}/python2.6/urlparse.* ${libdir}/python2.6/uuid.* ${libdir}/python2.6/rfc822.* ${libdir}/python2.6/mimetools.* " | 154 | FILES_${PN}-netclient="${libdir}/python2.6/*Cookie*.* ${libdir}/python2.6/base64.* ${libdir}/python2.6/cookielib.* ${libdir}/python2.6/ftplib.* ${libdir}/python2.6/gopherlib.* ${libdir}/python2.6/hmac.* ${libdir}/python2.6/httplib.* ${libdir}/python2.6/mimetypes.* ${libdir}/python2.6/nntplib.* ${libdir}/python2.6/poplib.* ${libdir}/python2.6/smtplib.* ${libdir}/python2.6/telnetlib.* ${libdir}/python2.6/urllib.* ${libdir}/python2.6/urllib2.* ${libdir}/python2.6/urlparse.* ${libdir}/python2.6/uuid.* ${libdir}/python2.6/rfc822.* ${libdir}/python2.6/mimetools.* " |
145 | 155 | ||
146 | DESCRIPTION_${PN}-pprint="Python Pretty-Print Support" | ||
147 | RDEPENDS_${PN}-pprint="${PN}-core" | ||
148 | FILES_${PN}-pprint="${libdir}/python2.6/pprint.* " | ||
149 | |||
150 | DESCRIPTION_${PN}-netserver="Python Internet Protocol Servers" | 156 | DESCRIPTION_${PN}-netserver="Python Internet Protocol Servers" |
151 | RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient" | 157 | RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient" |
152 | FILES_${PN}-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* " | 158 | FILES_${PN}-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* " |
153 | 159 | ||
154 | DESCRIPTION_${PN}-curses="Python Curses Support" | 160 | DESCRIPTION_${PN}-numbers="Python Number APIs" |
155 | RDEPENDS_${PN}-curses="${PN}-core" | 161 | RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re" |
156 | FILES_${PN}-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so " | 162 | FILES_${PN}-numbers="${libdir}/python2.6/decimal.* ${libdir}/python2.6/numbers.* " |
157 | 163 | ||
158 | DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon" | 164 | DESCRIPTION_${PN}-pickle="Python Persistence Support" |
159 | RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime" | 165 | RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re" |
160 | FILES_${PN}-smtpd="${bindir}/smtpd.* " | 166 | FILES_${PN}-pickle="${libdir}/python2.6/pickle.* ${libdir}/python2.6/shelve.* ${libdir}/python2.6/lib-dynload/cPickle.so " |
161 | 167 | ||
162 | DESCRIPTION_${PN}-html="Python HTML Processing" | 168 | DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support" |
163 | RDEPENDS_${PN}-html="${PN}-core" | 169 | RDEPENDS_${PN}-pkgutil="${PN}-core" |
164 | FILES_${PN}-html="${libdir}/python2.6/formatter.* ${libdir}/python2.6/htmlentitydefs.* ${libdir}/python2.6/htmllib.* ${libdir}/python2.6/markupbase.* ${libdir}/python2.6/sgmllib.* " | 170 | FILES_${PN}-pkgutil="${libdir}/python2.6/pkgutil.* " |
165 | 171 | ||
166 | DESCRIPTION_${PN}-readline="Python Readline Support" | 172 | DESCRIPTION_${PN}-pprint="Python Pretty-Print Support" |
167 | RDEPENDS_${PN}-readline="${PN}-core" | 173 | RDEPENDS_${PN}-pprint="${PN}-core" |
168 | FILES_${PN}-readline="${libdir}/python2.6/lib-dynload/readline.so ${libdir}/python2.6/rlcompleter.* " | 174 | FILES_${PN}-pprint="${libdir}/python2.6/pprint.* " |
169 | 175 | ||
170 | DESCRIPTION_${PN}-subprocess="Python Subprocess Support" | 176 | DESCRIPTION_${PN}-profile="Python Basic Profiling Support" |
171 | RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle" | 177 | RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils" |
172 | FILES_${PN}-subprocess="${libdir}/python2.6/subprocess.* " | 178 | FILES_${PN}-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so " |
173 | 179 | ||
174 | DESCRIPTION_${PN}-pydoc="Python Interactive Help Support" | 180 | DESCRIPTION_${PN}-pydoc="Python Interactive Help Support" |
175 | RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re" | 181 | RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re" |
176 | FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python2.6/pydoc.* " | 182 | FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python2.6/pydoc.* " |
177 | 183 | ||
178 | DESCRIPTION_${PN}-logging="Python Logging Support" | 184 | DESCRIPTION_${PN}-re="Python Regular Expression APIs" |
179 | RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold" | 185 | RDEPENDS_${PN}-re="${PN}-core" |
180 | FILES_${PN}-logging="${libdir}/python2.6/logging " | 186 | FILES_${PN}-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* " |
181 | 187 | ||
182 | DESCRIPTION_${PN}-mailbox="Python Mailbox Format Support" | 188 | DESCRIPTION_${PN}-readline="Python Readline Support" |
183 | RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime" | 189 | RDEPENDS_${PN}-readline="${PN}-core" |
184 | FILES_${PN}-mailbox="${libdir}/python2.6/mailbox.* " | 190 | FILES_${PN}-readline="${libdir}/python2.6/lib-dynload/readline.so ${libdir}/python2.6/rlcompleter.* " |
185 | 191 | ||
186 | DESCRIPTION_${PN}-xml="Python basic XML support." | 192 | DESCRIPTION_${PN}-resource="Python Resource Control Interface" |
187 | RDEPENDS_${PN}-xml="${PN}-core ${PN}-re" | 193 | RDEPENDS_${PN}-resource="${PN}-core" |
188 | FILES_${PN}-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* " | 194 | FILES_${PN}-resource="${libdir}/python2.6/lib-dynload/resource.so " |
189 | 195 | ||
190 | DESCRIPTION_${PN}-mime="Python MIME Handling APIs" | 196 | DESCRIPTION_${PN}-robotparser="Python robots.txt parser" |
191 | RDEPENDS_${PN}-mime="${PN}-core ${PN}-io" | 197 | RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient" |
192 | FILES_${PN}-mime="${libdir}/python2.6/mimetools.* ${libdir}/python2.6/uu.* ${libdir}/python2.6/quopri.* ${libdir}/python2.6/rfc822.* " | 198 | FILES_${PN}-robotparser="${libdir}/python2.6/robotparser.* " |
199 | |||
200 | DESCRIPTION_${PN}-shell="Python Shell-Like Functionality" | ||
201 | RDEPENDS_${PN}-shell="${PN}-core ${PN}-re" | ||
202 | FILES_${PN}-shell="${libdir}/python2.6/cmd.* ${libdir}/python2.6/commands.* ${libdir}/python2.6/dircache.* ${libdir}/python2.6/fnmatch.* ${libdir}/python2.6/glob.* ${libdir}/python2.6/popen2.* ${libdir}/python2.6/shlex.* ${libdir}/python2.6/shutil.* " | ||
203 | |||
204 | DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon" | ||
205 | RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime" | ||
206 | FILES_${PN}-smtpd="${bindir}/smtpd.* " | ||
193 | 207 | ||
194 | DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support" | 208 | DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support" |
195 | RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib" | 209 | RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib" |
@@ -199,68 +213,60 @@ DESCRIPTION_${PN}-sqlite3-tests="Python Sqlite3 Database Support Tests" | |||
199 | RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3" | 213 | RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3" |
200 | FILES_${PN}-sqlite3-tests="${libdir}/python2.6/sqlite3/test " | 214 | FILES_${PN}-sqlite3-tests="${libdir}/python2.6/sqlite3/test " |
201 | 215 | ||
202 | DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" | 216 | DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]" |
203 | RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" | 217 | RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re" |
204 | FILES_${PN}-unittest="${libdir}/python2.6/unittest.* " | 218 | FILES_${PN}-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* " |
205 | |||
206 | DESCRIPTION_${PN}-multiprocessing="Python Multiprocessing Support" | ||
207 | RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang" | ||
208 | FILES_${PN}-multiprocessing="${libdir}/python2.6/lib-dynload/_multiprocessing.so ${libdir}/python2.6/multiprocessing " | ||
209 | |||
210 | DESCRIPTION_${PN}-robotparser="Python robots.txt parser" | ||
211 | RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient" | ||
212 | FILES_${PN}-robotparser="${libdir}/python2.6/robotparser.* " | ||
213 | 219 | ||
214 | DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support" | 220 | DESCRIPTION_${PN}-subprocess="Python Subprocess Support" |
215 | RDEPENDS_${PN}-compile="${PN}-core" | 221 | RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle" |
216 | FILES_${PN}-compile="${libdir}/python2.6/py_compile.* ${libdir}/python2.6/compileall.* " | 222 | FILES_${PN}-subprocess="${libdir}/python2.6/subprocess.* " |
217 | 223 | ||
218 | DESCRIPTION_${PN}-debugger="Python Debugger" | 224 | DESCRIPTION_${PN}-syslog="Python Syslog Interface" |
219 | RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint" | 225 | RDEPENDS_${PN}-syslog="${PN}-core" |
220 | FILES_${PN}-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* " | 226 | FILES_${PN}-syslog="${libdir}/python2.6/lib-dynload/syslog.so " |
221 | 227 | ||
222 | DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support" | 228 | DESCRIPTION_${PN}-terminal="Python Terminal Controlling Support" |
223 | RDEPENDS_${PN}-pkgutil="${PN}-core" | 229 | RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io" |
224 | FILES_${PN}-pkgutil="${libdir}/python2.6/pkgutil.* " | 230 | FILES_${PN}-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* " |
225 | 231 | ||
226 | DESCRIPTION_${PN}-shell="Python Shell-Like Functionality" | 232 | DESCRIPTION_${PN}-tests="Python Tests" |
227 | RDEPENDS_${PN}-shell="${PN}-core ${PN}-re" | 233 | RDEPENDS_${PN}-tests="${PN}-core" |
228 | FILES_${PN}-shell="${libdir}/python2.6/cmd.* ${libdir}/python2.6/commands.* ${libdir}/python2.6/dircache.* ${libdir}/python2.6/fnmatch.* ${libdir}/python2.6/glob.* ${libdir}/python2.6/popen2.* ${libdir}/python2.6/shlex.* ${libdir}/python2.6/shutil.* " | 234 | FILES_${PN}-tests="${libdir}/python2.6/test " |
229 | 235 | ||
230 | DESCRIPTION_${PN}-bsddb="Python Berkeley Database Bindings" | 236 | DESCRIPTION_${PN}-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" |
231 | RDEPENDS_${PN}-bsddb="${PN}-core" | 237 | RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold" |
232 | FILES_${PN}-bsddb="${libdir}/python2.6/bsddb ${libdir}/python2.6/lib-dynload/_bsddb.so " | 238 | FILES_${PN}-textutils="${libdir}/python2.6/lib-dynload/_csv.so ${libdir}/python2.6/csv.* ${libdir}/python2.6/optparse.* ${libdir}/python2.6/textwrap.* " |
233 | 239 | ||
234 | DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support" | 240 | DESCRIPTION_${PN}-threading="Python Threading & Synchronization Support" |
235 | RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io" | 241 | RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang" |
236 | FILES_${PN}-mmap="${libdir}/python2.6/lib-dynload/mmap.so " | 242 | FILES_${PN}-threading="${libdir}/python2.6/_threading_local.* ${libdir}/python2.6/dummy_thread.* ${libdir}/python2.6/dummy_threading.* ${libdir}/python2.6/mutex.* ${libdir}/python2.6/threading.* ${libdir}/python2.6/Queue.* " |
237 | 243 | ||
238 | DESCRIPTION_${PN}-zlib="Python zlib Support." | 244 | DESCRIPTION_${PN}-tkinter="Python Tcl/Tk Bindings" |
239 | RDEPENDS_${PN}-zlib="${PN}-core" | 245 | RDEPENDS_${PN}-tkinter="${PN}-core" |
240 | FILES_${PN}-zlib="${libdir}/python2.6/lib-dynload/zlib.so " | 246 | FILES_${PN}-tkinter="${libdir}/python2.6/lib-dynload/_tkinter.so ${libdir}/python2.6/lib-tk " |
241 | 247 | ||
242 | DESCRIPTION_${PN}-db="Python File-Based Database Support" | 248 | DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" |
243 | RDEPENDS_${PN}-db="${PN}-core" | 249 | RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" |
244 | FILES_${PN}-db="${libdir}/python2.6/anydbm.* ${libdir}/python2.6/dumbdbm.* ${libdir}/python2.6/whichdb.* " | 250 | FILES_${PN}-unittest="${libdir}/python2.6/unittest.* " |
245 | 251 | ||
246 | DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support" | 252 | DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" |
247 | RDEPENDS_${PN}-crypt="${PN}-core" | 253 | RDEPENDS_${PN}-unixadmin="${PN}-core" |
248 | FILES_${PN}-crypt="${libdir}/python2.6/hashlib.* ${libdir}/python2.6/md5.* ${libdir}/python2.6/sha.* ${libdir}/python2.6/lib-dynload/crypt.so ${libdir}/python2.6/lib-dynload/_hashlib.so ${libdir}/python2.6/lib-dynload/_sha256.so ${libdir}/python2.6/lib-dynload/_sha512.so " | 254 | FILES_${PN}-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* " |
249 | 255 | ||
250 | DESCRIPTION_${PN}-idle="Python Integrated Development Environment" | 256 | DESCRIPTION_${PN}-xml="Python basic XML support." |
251 | RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter" | 257 | RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re" |
252 | FILES_${PN}-idle="${bindir}/idle ${libdir}/python2.6/idlelib " | 258 | FILES_${PN}-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* " |
253 | 259 | ||
254 | DESCRIPTION_${PN}-lang="Python Low-Level Language Support" | 260 | DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support" |
255 | RDEPENDS_${PN}-lang="${PN}-core" | 261 | RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang" |
256 | FILES_${PN}-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/weakref.* " | 262 | FILES_${PN}-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* " |
257 | 263 | ||
258 | DESCRIPTION_${PN}-audio="Python Audio Handling" | 264 | DESCRIPTION_${PN}-zlib="Python zlib Support." |
259 | RDEPENDS_${PN}-audio="${PN}-core" | 265 | RDEPENDS_${PN}-zlib="${PN}-core" |
260 | FILES_${PN}-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.* ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so ${libdir}/python2.6/lib-dynload/audioop.so " | 266 | FILES_${PN}-zlib="${libdir}/python2.6/lib-dynload/zlib.so " |
261 | 267 | ||
262 | DESCRIPTION_${PN}-modules="All Python modules" | 268 | DESCRIPTION_${PN}-modules="All Python modules" |
263 | RDEPENDS_${PN}-modules="${PN}-profile ${PN}-threading ${PN}-distutils ${PN}-doctest ${PN}-stringold ${PN}-codecs ${PN}-ctypes ${PN}-pickle ${PN}-datetime ${PN}-core ${PN}-io ${PN}-compiler ${PN}-compression ${PN}-re ${PN}-xmlrpc ${PN}-terminal ${PN}-email ${PN}-image ${PN}-tests ${PN}-resource ${PN}-json ${PN}-devel ${PN}-difflib ${PN}-math ${PN}-syslog ${PN}-hotshot ${PN}-unixadmin ${PN}-textutils ${PN}-tkinter ${PN}-gdbm ${PN}-elementtree ${PN}-fcntl ${PN}-netclient ${PN}-pprint ${PN}-netserver ${PN}-curses ${PN}-smtpd ${PN}-html ${PN}-readline ${PN}-subprocess ${PN}-pydoc ${PN}-logging ${PN}-mailbox ${PN}-xml ${PN}-mime ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-unittest ${PN}-multiprocessing ${PN}-robotparser ${PN}-compile ${PN}-debugger ${PN}-pkgutil ${PN}-shell ${PN}-bsddb ${PN}-mmap ${PN}-zlib ${PN}-db ${PN}-crypt ${PN}-idle ${PN}-lang ${PN}-audio " | 269 | RDEPENDS_${PN}-modules="${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib " |
264 | ALLOW_EMPTY_${PN}-modules = "1" | 270 | ALLOW_EMPTY_${PN}-modules = "1" |
265 | 271 | ||
266 | 272 | ||
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc index f78250769b..bfa0bb2b36 100644 --- a/meta/recipes-devtools/python/python.inc +++ b/meta/recipes-devtools/python/python.inc | |||
@@ -4,7 +4,7 @@ LICENSE = "PSF" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | # bump this on every change in contrib/python/generate-manifest-2.6.py | 6 | # bump this on every change in contrib/python/generate-manifest-2.6.py |
7 | INC_PR = "nk0" | 7 | INC_PR = "nk1" |
8 | 8 | ||
9 | DEFAULT_PREFERENCE = "-26" | 9 | DEFAULT_PREFERENCE = "-26" |
10 | 10 | ||
diff --git a/scripts/contrib/python/generate-manifest-2.6.py b/scripts/contrib/python/generate-manifest-2.6.py new file mode 100755 index 0000000000..1b11266edf --- /dev/null +++ b/scripts/contrib/python/generate-manifest-2.6.py | |||
@@ -0,0 +1,362 @@ | |||
1 | #!/usr/bin/env python | ||
2 | |||
3 | # generate Python Manifest for the OpenEmbedded build system | ||
4 | # (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
5 | # (C) 2007 Jeremy Laine | ||
6 | # licensed under MIT, see COPYING.MIT | ||
7 | |||
8 | import os | ||
9 | import sys | ||
10 | import time | ||
11 | |||
12 | VERSION = "2.6.6" | ||
13 | |||
14 | __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" | ||
15 | __version__ = "20110222" | ||
16 | |||
17 | class MakefileMaker: | ||
18 | |||
19 | def __init__( self, outfile ): | ||
20 | """initialize""" | ||
21 | self.packages = {} | ||
22 | self.targetPrefix = "${libdir}/python%s/" % VERSION[:3] | ||
23 | self.output = outfile | ||
24 | self.out( """ | ||
25 | # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. | ||
26 | # Generator: '%s' Version %s (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
27 | # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy | ||
28 | """ % ( sys.argv[0], __version__ ) ) | ||
29 | |||
30 | # | ||
31 | # helper functions | ||
32 | # | ||
33 | |||
34 | def out( self, data ): | ||
35 | """print a line to the output file""" | ||
36 | self.output.write( "%s\n" % data ) | ||
37 | |||
38 | def setPrefix( self, targetPrefix ): | ||
39 | """set a file prefix for addPackage files""" | ||
40 | self.targetPrefix = targetPrefix | ||
41 | |||
42 | def doProlog( self ): | ||
43 | self.out( """ """ ) | ||
44 | self.out( "" ) | ||
45 | |||
46 | def addPackage( self, name, description, dependencies, filenames ): | ||
47 | """add a package to the Makefile""" | ||
48 | if type( filenames ) == type( "" ): | ||
49 | filenames = filenames.split() | ||
50 | fullFilenames = [] | ||
51 | for filename in filenames: | ||
52 | if filename[0] != "$": | ||
53 | fullFilenames.append( "%s%s" % ( self.targetPrefix, filename ) ) | ||
54 | else: | ||
55 | fullFilenames.append( filename ) | ||
56 | self.packages[name] = description, dependencies, fullFilenames | ||
57 | |||
58 | def doBody( self ): | ||
59 | """generate body of Makefile""" | ||
60 | |||
61 | global VERSION | ||
62 | |||
63 | # | ||
64 | # generate provides line | ||
65 | # | ||
66 | |||
67 | provideLine = 'PROVIDES+="' | ||
68 | for name in sorted(self.packages): | ||
69 | provideLine += "%s " % name | ||
70 | provideLine += '"' | ||
71 | |||
72 | self.out( provideLine ) | ||
73 | self.out( "" ) | ||
74 | |||
75 | # | ||
76 | # generate package line | ||
77 | # | ||
78 | |||
79 | packageLine = 'PACKAGES="${PN}-core-dbg ' | ||
80 | for name in sorted(self.packages): | ||
81 | if name != '${PN}-core-dbg': | ||
82 | packageLine += "%s " % name | ||
83 | packageLine += '${PN}-modules"' | ||
84 | |||
85 | self.out( packageLine ) | ||
86 | self.out( "" ) | ||
87 | |||
88 | # | ||
89 | # generate package variables | ||
90 | # | ||
91 | |||
92 | for name, data in sorted(self.packages.iteritems()): | ||
93 | desc, deps, files = data | ||
94 | |||
95 | # | ||
96 | # write out the description, revision and dependencies | ||
97 | # | ||
98 | self.out( 'DESCRIPTION_%s="%s"' % ( name, desc ) ) | ||
99 | self.out( 'RDEPENDS_%s="%s"' % ( name, deps ) ) | ||
100 | |||
101 | line = 'FILES_%s="' % name | ||
102 | |||
103 | # | ||
104 | # check which directories to make in the temporary directory | ||
105 | # | ||
106 | |||
107 | dirset = {} # if python had a set-datatype this would be sufficient. for now, we're using a dict instead. | ||
108 | for target in files: | ||
109 | dirset[os.path.dirname( target )] = True | ||
110 | |||
111 | # | ||
112 | # generate which files to copy for the target (-dfR because whole directories are also allowed) | ||
113 | # | ||
114 | |||
115 | for target in files: | ||
116 | line += "%s " % target | ||
117 | |||
118 | line += '"' | ||
119 | self.out( line ) | ||
120 | self.out( "" ) | ||
121 | |||
122 | self.out( 'DESCRIPTION_${PN}-modules="All Python modules"' ) | ||
123 | line = 'RDEPENDS_${PN}-modules="' | ||
124 | |||
125 | for name, data in sorted(self.packages.iteritems()): | ||
126 | if name not in ['${PN}-core-dbg', '${PN}-dev']: | ||
127 | line += "%s " % name | ||
128 | |||
129 | self.out( "%s \"" % line ) | ||
130 | self.out( 'ALLOW_EMPTY_${PN}-modules = "1"' ) | ||
131 | |||
132 | def doEpilog( self ): | ||
133 | self.out( """""" ) | ||
134 | self.out( "" ) | ||
135 | |||
136 | def make( self ): | ||
137 | self.doProlog() | ||
138 | self.doBody() | ||
139 | self.doEpilog() | ||
140 | |||
141 | if __name__ == "__main__": | ||
142 | |||
143 | if len( sys.argv ) > 1: | ||
144 | os.popen( "rm -f ./%s" % sys.argv[1] ) | ||
145 | outfile = file( sys.argv[1], "w" ) | ||
146 | else: | ||
147 | outfile = sys.stdout | ||
148 | |||
149 | m = MakefileMaker( outfile ) | ||
150 | |||
151 | # Add packages here. Only specify dlopen-style library dependencies here, no ldd-style dependencies! | ||
152 | # Parameters: revision, name, description, dependencies, filenames | ||
153 | # | ||
154 | |||
155 | m.addPackage( "${PN}-core", "Python Interpreter and core modules (needed!)", "", | ||
156 | "__future__.* _abcoll.* abc.* copy.* copy_reg.* ConfigParser.* " + | ||
157 | "genericpath.* getopt.* linecache.* new.* " + | ||
158 | "os.* posixpath.* struct.* " + | ||
159 | "warnings.* site.* stat.* " + | ||
160 | "UserDict.* UserList.* UserString.* " + | ||
161 | "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + | ||
162 | "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python*" ) | ||
163 | |||
164 | m.addPackage( "${PN}-core-dbg", "Python core module debug information", "${PN}-core", | ||
165 | "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" ) | ||
166 | |||
167 | m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", | ||
168 | "${includedir} ${libdir}/libpython2.6.so" ) # package | ||
169 | |||
170 | m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter", | ||
171 | "${bindir}/idle idlelib" ) # package | ||
172 | |||
173 | m.addPackage( "${PN}-pydoc", "Python Interactive Help Support", "${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re", | ||
174 | "${bindir}/pydoc pydoc.*" ) | ||
175 | |||
176 | m.addPackage( "${PN}-smtpd", "Python Simple Mail Transport Daemon", "${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime", | ||
177 | "${bindir}/smtpd.*" ) | ||
178 | |||
179 | m.addPackage( "${PN}-audio", "Python Audio Handling", "${PN}-core", | ||
180 | "wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so" ) | ||
181 | |||
182 | m.addPackage( "${PN}-bsddb", "Python Berkeley Database Bindings", "${PN}-core", | ||
183 | "bsddb lib-dynload/_bsddb.so" ) # package | ||
184 | |||
185 | m.addPackage( "${PN}-codecs", "Python Codecs, Encodings & i18n Support", "${PN}-core ${PN}-lang", | ||
186 | "codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" ) | ||
187 | |||
188 | m.addPackage( "${PN}-compile", "Python Bytecode Compilation Support", "${PN}-core", | ||
189 | "py_compile.* compileall.*" ) | ||
190 | |||
191 | m.addPackage( "${PN}-compiler", "Python Compiler Support", "${PN}-core", | ||
192 | "compiler" ) # package | ||
193 | |||
194 | m.addPackage( "${PN}-compression", "Python High Level Compression Support", "${PN}-core ${PN}-zlib", | ||
195 | "gzip.* zipfile.* tarfile.* lib-dynload/bz2.so" ) | ||
196 | |||
197 | m.addPackage( "${PN}-crypt", "Python Basic Cryptographic and Hashing Support", "${PN}-core", | ||
198 | "hashlib.* md5.* sha.* lib-dynload/crypt.so lib-dynload/_hashlib.so lib-dynload/_sha256.so lib-dynload/_sha512.so" ) | ||
199 | |||
200 | m.addPackage( "${PN}-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-stringold", | ||
201 | "lib-dynload/_csv.so csv.* optparse.* textwrap.*" ) | ||
202 | |||
203 | m.addPackage( "${PN}-curses", "Python Curses Support", "${PN}-core", | ||
204 | "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # directory + low level module | ||
205 | |||
206 | m.addPackage( "${PN}-ctypes", "Python C Types Support", "${PN}-core", | ||
207 | "ctypes lib-dynload/_ctypes.so" ) # directory + low level module | ||
208 | |||
209 | m.addPackage( "${PN}-datetime", "Python Calendar and Time support", "${PN}-core ${PN}-codecs", | ||
210 | "_strptime.* calendar.* lib-dynload/datetime.so" ) | ||
211 | |||
212 | m.addPackage( "${PN}-db", "Python File-Based Database Support", "${PN}-core", | ||
213 | "anydbm.* dumbdbm.* whichdb.* " ) | ||
214 | |||
215 | m.addPackage( "${PN}-debugger", "Python Debugger", "${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint", | ||
216 | "bdb.* pdb.*" ) | ||
217 | |||
218 | m.addPackage( "${PN}-difflib", "Python helpers for computing deltas between objects.", "${PN}-lang ${PN}-re", | ||
219 | "difflib.*" ) | ||
220 | |||
221 | m.addPackage( "${PN}-distutils", "Python Distribution Utilities", "${PN}-core", | ||
222 | "config distutils" ) # package | ||
223 | |||
224 | m.addPackage( "${PN}-doctest", "Python framework for running examples in docstrings.", "${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib", | ||
225 | "doctest.*" ) | ||
226 | |||
227 | # FIXME consider adding to some higher level package | ||
228 | m.addPackage( "${PN}-elementtree", "Python elementree", "${PN}-core", | ||
229 | "lib-dynload/_elementtree.so" ) | ||
230 | |||
231 | m.addPackage( "${PN}-email", "Python Email Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient", | ||
232 | "imaplib.* email" ) # package | ||
233 | |||
234 | m.addPackage( "${PN}-fcntl", "Python's fcntl Interface", "${PN}-core", | ||
235 | "lib-dynload/fcntl.so" ) | ||
236 | |||
237 | m.addPackage( "${PN}-hotshot", "Python Hotshot Profiler", "${PN}-core", | ||
238 | "hotshot lib-dynload/_hotshot.so" ) | ||
239 | |||
240 | m.addPackage( "${PN}-html", "Python HTML Processing", "${PN}-core", | ||
241 | "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* " ) | ||
242 | |||
243 | m.addPackage( "${PN}-gdbm", "Python GNU Database Support", "${PN}-core", | ||
244 | "lib-dynload/gdbm.so" ) | ||
245 | |||
246 | m.addPackage( "${PN}-image", "Python Graphical Image Handling", "${PN}-core", | ||
247 | "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" ) | ||
248 | |||
249 | m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math", | ||
250 | "lib-dynload/_socket.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + | ||
251 | "pipes.* socket.* ssl.* tempfile.* StringIO.* " ) | ||
252 | |||
253 | m.addPackage( "${PN}-json", "Python JSON Support", "${PN}-core ${PN}-math ${PN}-re", | ||
254 | "json" ) # package | ||
255 | |||
256 | m.addPackage( "${PN}-lang", "Python Low-Level Language Support", "${PN}-core", | ||
257 | "lib-dynload/_bisect.so lib-dynload/_collections.so lib-dynload/_heapq.so lib-dynload/_weakref.so lib-dynload/_functools.so " + | ||
258 | "lib-dynload/array.so lib-dynload/itertools.so lib-dynload/operator.so lib-dynload/parser.so " + | ||
259 | "atexit.* bisect.* code.* codeop.* collections.* dis.* functools.* heapq.* inspect.* keyword.* opcode.* symbol.* repr.* token.* " + | ||
260 | "tokenize.* traceback.* weakref.*" ) | ||
261 | |||
262 | m.addPackage( "${PN}-logging", "Python Logging Support", "${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold", | ||
263 | "logging" ) # package | ||
264 | |||
265 | m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime", | ||
266 | "mailbox.*" ) | ||
267 | |||
268 | m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core", | ||
269 | "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" ) | ||
270 | |||
271 | m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io", | ||
272 | "mimetools.* uu.* quopri.* rfc822.*" ) | ||
273 | |||
274 | m.addPackage( "${PN}-mmap", "Python Memory-Mapped-File Support", "${PN}-core ${PN}-io", | ||
275 | "lib-dynload/mmap.so " ) | ||
276 | |||
277 | m.addPackage( "${PN}-multiprocessing", "Python Multiprocessing Support", "${PN}-core ${PN}-io ${PN}-lang", | ||
278 | "lib-dynload/_multiprocessing.so multiprocessing" ) # package | ||
279 | |||
280 | m.addPackage( "${PN}-netclient", "Python Internet Protocol Clients", "${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime", | ||
281 | "*Cookie*.* " + | ||
282 | "base64.* cookielib.* ftplib.* gopherlib.* hmac.* httplib.* mimetypes.* nntplib.* poplib.* smtplib.* telnetlib.* urllib.* urllib2.* urlparse.* uuid.* rfc822.* mimetools.*" ) | ||
283 | |||
284 | m.addPackage( "${PN}-netserver", "Python Internet Protocol Servers", "${PN}-core ${PN}-netclient", | ||
285 | "cgi.* *HTTPServer.* SocketServer.*" ) | ||
286 | |||
287 | m.addPackage( "${PN}-numbers", "Python Number APIs", "${PN}-core ${PN}-lang ${PN}-re", | ||
288 | "decimal.* numbers.*" ) | ||
289 | |||
290 | m.addPackage( "${PN}-pickle", "Python Persistence Support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re", | ||
291 | "pickle.* shelve.* lib-dynload/cPickle.so" ) | ||
292 | |||
293 | m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core", | ||
294 | "pkgutil.*") | ||
295 | |||
296 | m.addPackage( "${PN}-pprint", "Python Pretty-Print Support", "${PN}-core", | ||
297 | "pprint.*" ) | ||
298 | |||
299 | m.addPackage( "${PN}-profile", "Python Basic Profiling Support", "${PN}-core ${PN}-textutils", | ||
300 | "profile.* pstats.* cProfile.* lib-dynload/_lsprof.so" ) | ||
301 | |||
302 | m.addPackage( "${PN}-re", "Python Regular Expression APIs", "${PN}-core", | ||
303 | "re.* sre.* sre_compile.* sre_constants* sre_parse.*" ) # _sre is builtin | ||
304 | |||
305 | m.addPackage( "${PN}-readline", "Python Readline Support", "${PN}-core", | ||
306 | "lib-dynload/readline.so rlcompleter.*" ) | ||
307 | |||
308 | m.addPackage( "${PN}-resource", "Python Resource Control Interface", "${PN}-core", | ||
309 | "lib-dynload/resource.so" ) | ||
310 | |||
311 | m.addPackage( "${PN}-shell", "Python Shell-Like Functionality", "${PN}-core ${PN}-re", | ||
312 | "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" ) | ||
313 | |||
314 | m.addPackage( "${PN}-robotparser", "Python robots.txt parser", "${PN}-core ${PN}-netclient", | ||
315 | "robotparser.*") | ||
316 | |||
317 | m.addPackage( "${PN}-subprocess", "Python Subprocess Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle", | ||
318 | "subprocess.*" ) | ||
319 | |||
320 | m.addPackage( "${PN}-sqlite3", "Python Sqlite3 Database Support", "${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib", | ||
321 | "lib-dynload/_sqlite3.so sqlite3/dbapi2.* sqlite3/__init__.* sqlite3/dump.*" ) | ||
322 | |||
323 | m.addPackage( "${PN}-sqlite3-tests", "Python Sqlite3 Database Support Tests", "${PN}-core ${PN}-sqlite3", | ||
324 | "sqlite3/test" ) | ||
325 | |||
326 | m.addPackage( "${PN}-stringold", "Python String APIs [deprecated]", "${PN}-core ${PN}-re", | ||
327 | "lib-dynload/strop.so string.*" ) | ||
328 | |||
329 | m.addPackage( "${PN}-syslog", "Python Syslog Interface", "${PN}-core", | ||
330 | "lib-dynload/syslog.so" ) | ||
331 | |||
332 | m.addPackage( "${PN}-terminal", "Python Terminal Controlling Support", "${PN}-core ${PN}-io", | ||
333 | "pty.* tty.*" ) | ||
334 | |||
335 | m.addPackage( "${PN}-tests", "Python Tests", "${PN}-core", | ||
336 | "test" ) # package | ||
337 | |||
338 | m.addPackage( "${PN}-threading", "Python Threading & Synchronization Support", "${PN}-core ${PN}-lang", | ||
339 | "_threading_local.* dummy_thread.* dummy_threading.* mutex.* threading.* Queue.*" ) | ||
340 | |||
341 | m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core", | ||
342 | "lib-dynload/_tkinter.so lib-tk" ) # package | ||
343 | |||
344 | m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang", | ||
345 | "unittest.*" ) | ||
346 | |||
347 | m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core", | ||
348 | "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" ) | ||
349 | |||
350 | m.addPackage( "${PN}-xml", "Python basic XML support.", "${PN}-core ${PN}-elementtree ${PN}-re", | ||
351 | "lib-dynload/pyexpat.so xml xmllib.*" ) # package | ||
352 | |||
353 | m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang", | ||
354 | "xmlrpclib.* SimpleXMLRPCServer.*" ) | ||
355 | |||
356 | m.addPackage( "${PN}-zlib", "Python zlib Support.", "${PN}-core", | ||
357 | "lib-dynload/zlib.so" ) | ||
358 | |||
359 | m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime", | ||
360 | "mailbox.*" ) | ||
361 | |||
362 | m.make() | ||