diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-11-03 00:01:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-07 14:05:39 +0000 |
commit | 8138eafa31fdd648a5a8f766cf6f6a26e1549dcd (patch) | |
tree | 789a4f76f3e0a9e8074c412bb9711eb7e34f0647 /meta/recipes-devtools/python | |
parent | 8b63b92781b7451689df11bd396e334e0d74f6df (diff) | |
download | poky-8138eafa31fdd648a5a8f766cf6f6a26e1549dcd.tar.gz |
python: improve packaging
* move 2to3 to separate package and include lib2to3 (was in python-misc)
* fix pattern for python-unittest (was in python-misc because it's in subdirectory now)
* add pydoc_data to python-pydoc (was in python-misc)
* add more stuff to smtpd, audio, codecs, ctypes, html, io, json, mime,
pickle, stringold, xmlrpc
* move all FILES_ details from python recipe to manifest generator so it's in one place
* added manual line break in FILES_${PN}-core, because git send-email
doesn't like too long lines
$ git send-email -1 dfaae65839f0ab23e5b2ae2a68df0f370bca84d2
fatal: /tmp/k8zbDajUNP/0001-python-improve-packaging.patch: 64: patch contains a line longer than 998 characters
(From OE-Core rev: f17f6b28ed2f62250f8690617e9126a43c3a8020)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python-2.7-manifest.inc | 43 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.2.bb | 22 |
2 files changed, 25 insertions, 40 deletions
diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc index 69cb3c70ac..e4017ba2d2 100644 --- a/meta/recipes-devtools/python/python-2.7-manifest.inc +++ b/meta/recipes-devtools/python/python-2.7-manifest.inc | |||
@@ -1,17 +1,21 @@ | |||
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: 'scripts/contrib/python/generate-manifest-2.7.py' Version 20110222.1 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | 3 | # Generator: 'scripts/contrib/python/generate-manifest-2.7.py' Version 20110222.2 (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 | 6 | ||
7 | 7 | ||
8 | PROVIDES+="${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 " | 8 | PROVIDES+="${PN}-2to3 ${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 " |
9 | 9 | ||
10 | PACKAGES="${PN}-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" | 10 | PACKAGES="${PN}-dbg ${PN}-2to3 ${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 | |||
12 | DESCRIPTION_${PN}-2to3="Python Automated Python 2 to 3 code translation" | ||
13 | RDEPENDS_${PN}-2to3="${PN}-core" | ||
14 | FILES_${PN}-2to3="${bindir}/2to3 ${libdir}/python2.7/lib2to3 " | ||
11 | 15 | ||
12 | DESCRIPTION_${PN}-audio="Python Audio Handling" | 16 | DESCRIPTION_${PN}-audio="Python Audio Handling" |
13 | RDEPENDS_${PN}-audio="${PN}-core" | 17 | RDEPENDS_${PN}-audio="${PN}-core" |
14 | FILES_${PN}-audio="${libdir}/python2.7/wave.* ${libdir}/python2.7/chunk.* ${libdir}/python2.7/sndhdr.* ${libdir}/python2.7/lib-dynload/ossaudiodev.so ${libdir}/python2.7/lib-dynload/audioop.so " | 18 | FILES_${PN}-audio="${libdir}/python2.7/wave.* ${libdir}/python2.7/chunk.* ${libdir}/python2.7/sndhdr.* ${libdir}/python2.7/lib-dynload/ossaudiodev.so ${libdir}/python2.7/lib-dynload/audioop.so ${libdir}/python2.7/audiodev.* ${libdir}/python2.7/sunaudio.* ${libdir}/python2.7/sunau.* ${libdir}/python2.7/toaiff.* " |
15 | 19 | ||
16 | DESCRIPTION_${PN}-bsddb="Python Berkeley Database Bindings" | 20 | DESCRIPTION_${PN}-bsddb="Python Berkeley Database Bindings" |
17 | RDEPENDS_${PN}-bsddb="${PN}-core" | 21 | RDEPENDS_${PN}-bsddb="${PN}-core" |
@@ -19,7 +23,7 @@ FILES_${PN}-bsddb="${libdir}/python2.7/bsddb ${libdir}/python2.7/lib-dynload/_bs | |||
19 | 23 | ||
20 | DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support" | 24 | DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support" |
21 | RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang" | 25 | RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang" |
22 | FILES_${PN}-codecs="${libdir}/python2.7/codecs.* ${libdir}/python2.7/encodings ${libdir}/python2.7/gettext.* ${libdir}/python2.7/locale.* ${libdir}/python2.7/lib-dynload/_locale.so ${libdir}/python2.7/lib-dynload/unicodedata.so ${libdir}/python2.7/stringprep.* ${libdir}/python2.7/xdrlib.* " | 26 | FILES_${PN}-codecs="${libdir}/python2.7/codecs.* ${libdir}/python2.7/encodings ${libdir}/python2.7/gettext.* ${libdir}/python2.7/locale.* ${libdir}/python2.7/lib-dynload/_locale.so ${libdir}/python2.7/lib-dynload/_codecs* ${libdir}/python2.7/lib-dynload/_multibytecodec.so ${libdir}/python2.7/lib-dynload/unicodedata.so ${libdir}/python2.7/stringprep.* ${libdir}/python2.7/xdrlib.* " |
23 | 27 | ||
24 | DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support" | 28 | DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support" |
25 | RDEPENDS_${PN}-compile="${PN}-core" | 29 | RDEPENDS_${PN}-compile="${PN}-core" |
@@ -35,7 +39,8 @@ FILES_${PN}-compression="${libdir}/python2.7/gzip.* ${libdir}/python2.7/zipfile. | |||
35 | 39 | ||
36 | DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)" | 40 | DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)" |
37 | RDEPENDS_${PN}-core="" | 41 | RDEPENDS_${PN}-core="" |
38 | FILES_${PN}-core="${libdir}/python2.7/__future__.* ${libdir}/python2.7/_abcoll.* ${libdir}/python2.7/abc.* ${libdir}/python2.7/copy.* ${libdir}/python2.7/copy_reg.* ${libdir}/python2.7/ConfigParser.* ${libdir}/python2.7/genericpath.* ${libdir}/python2.7/getopt.* ${libdir}/python2.7/linecache.* ${libdir}/python2.7/new.* ${libdir}/python2.7/os.* ${libdir}/python2.7/posixpath.* ${libdir}/python2.7/struct.* ${libdir}/python2.7/warnings.* ${libdir}/python2.7/site.* ${libdir}/python2.7/stat.* ${libdir}/python2.7/UserDict.* ${libdir}/python2.7/UserList.* ${libdir}/python2.7/UserString.* ${libdir}/python2.7/lib-dynload/binascii.so ${libdir}/python2.7/lib-dynload/_struct.so ${libdir}/python2.7/lib-dynload/time.so ${libdir}/python2.7/lib-dynload/xreadlines.so ${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig.h " | 42 | FILES_${PN}-core="${libdir}/python2.7/__future__.* ${libdir}/python2.7/_abcoll.* ${libdir}/python2.7/abc.* ${libdir}/python2.7/copy.* ${libdir}/python2.7/copy_reg.* ${libdir}/python2.7/ConfigParser.* ${libdir}/python2.7/genericpath.* ${libdir}/python2.7/getopt.* ${libdir}/python2.7/linecache.* ${libdir}/python2.7/new.* ${libdir}/python2.7/os.* ${libdir}/python2.7/posixpath.* ${libdir}/python2.7/struct.* ${libdir}/python2.7/warnings.* ${libdir}/python2.7/site.* ${libdir}/python2.7/stat.* ${libdir}/python2.7/UserDict.* ${libdir}/python2.7/UserList.* ${libdir}/python2.7/UserString.* ${libdir}/python2.7/lib-dynload/binascii.so ${libdir}/python2.7/lib-dynload/_struct.so ${libdir}/python2.7/lib-dynload/time.so ${libdir}/python2.7/lib-dynload/xreadlines.so \ |
43 | ${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " | ||
39 | 44 | ||
40 | DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support" | 45 | DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support" |
41 | RDEPENDS_${PN}-crypt="${PN}-core" | 46 | RDEPENDS_${PN}-crypt="${PN}-core" |
@@ -43,7 +48,7 @@ FILES_${PN}-crypt="${libdir}/python2.7/hashlib.* ${libdir}/python2.7/md5.* ${lib | |||
43 | 48 | ||
44 | DESCRIPTION_${PN}-ctypes="Python C Types Support" | 49 | DESCRIPTION_${PN}-ctypes="Python C Types Support" |
45 | RDEPENDS_${PN}-ctypes="${PN}-core" | 50 | RDEPENDS_${PN}-ctypes="${PN}-core" |
46 | FILES_${PN}-ctypes="${libdir}/python2.7/ctypes ${libdir}/python2.7/lib-dynload/_ctypes.so " | 51 | FILES_${PN}-ctypes="${libdir}/python2.7/ctypes ${libdir}/python2.7/lib-dynload/_ctypes.so ${libdir}/python2.7/lib-dynload/_ctypes_test.so " |
47 | 52 | ||
48 | DESCRIPTION_${PN}-curses="Python Curses Support" | 53 | DESCRIPTION_${PN}-curses="Python Curses Support" |
49 | RDEPENDS_${PN}-curses="${PN}-core" | 54 | RDEPENDS_${PN}-curses="${PN}-core" |
@@ -63,7 +68,7 @@ FILES_${PN}-debugger="${libdir}/python2.7/bdb.* ${libdir}/python2.7/pdb.* " | |||
63 | 68 | ||
64 | DESCRIPTION_${PN}-dev="Python Development Package" | 69 | DESCRIPTION_${PN}-dev="Python Development Package" |
65 | RDEPENDS_${PN}-dev="${PN}-core" | 70 | RDEPENDS_${PN}-dev="${PN}-core" |
66 | FILES_${PN}-dev="${includedir} ${libdir}/libpython2.6.so " | 71 | FILES_${PN}-dev="${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal ${datadir}/pkgconfig " |
67 | 72 | ||
68 | DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects." | 73 | DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects." |
69 | RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re" | 74 | RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re" |
@@ -99,7 +104,7 @@ FILES_${PN}-hotshot="${libdir}/python2.7/hotshot ${libdir}/python2.7/lib-dynload | |||
99 | 104 | ||
100 | DESCRIPTION_${PN}-html="Python HTML Processing" | 105 | DESCRIPTION_${PN}-html="Python HTML Processing" |
101 | RDEPENDS_${PN}-html="${PN}-core" | 106 | RDEPENDS_${PN}-html="${PN}-core" |
102 | FILES_${PN}-html="${libdir}/python2.7/formatter.* ${libdir}/python2.7/htmlentitydefs.* ${libdir}/python2.7/htmllib.* ${libdir}/python2.7/markupbase.* ${libdir}/python2.7/sgmllib.* " | 107 | FILES_${PN}-html="${libdir}/python2.7/formatter.* ${libdir}/python2.7/htmlentitydefs.* ${libdir}/python2.7/htmllib.* ${libdir}/python2.7/markupbase.* ${libdir}/python2.7/sgmllib.* ${libdir}/python2.7/HTMLParser.* " |
103 | 108 | ||
104 | DESCRIPTION_${PN}-idle="Python Integrated Development Environment" | 109 | DESCRIPTION_${PN}-idle="Python Integrated Development Environment" |
105 | RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter" | 110 | RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter" |
@@ -111,11 +116,11 @@ FILES_${PN}-image="${libdir}/python2.7/colorsys.* ${libdir}/python2.7/imghdr.* $ | |||
111 | 116 | ||
112 | DESCRIPTION_${PN}-io="Python Low-Level I/O" | 117 | DESCRIPTION_${PN}-io="Python Low-Level I/O" |
113 | RDEPENDS_${PN}-io="${PN}-core ${PN}-math" | 118 | RDEPENDS_${PN}-io="${PN}-core ${PN}-math" |
114 | FILES_${PN}-io="${libdir}/python2.7/lib-dynload/_socket.so ${libdir}/python2.7/lib-dynload/_ssl.so ${libdir}/python2.7/lib-dynload/select.so ${libdir}/python2.7/lib-dynload/termios.so ${libdir}/python2.7/lib-dynload/cStringIO.so ${libdir}/python2.7/pipes.* ${libdir}/python2.7/socket.* ${libdir}/python2.7/ssl.* ${libdir}/python2.7/tempfile.* ${libdir}/python2.7/StringIO.* " | 119 | FILES_${PN}-io="${libdir}/python2.7/lib-dynload/_socket.so ${libdir}/python2.7/lib-dynload/_io.so ${libdir}/python2.7/lib-dynload/_ssl.so ${libdir}/python2.7/lib-dynload/select.so ${libdir}/python2.7/lib-dynload/termios.so ${libdir}/python2.7/lib-dynload/cStringIO.so ${libdir}/python2.7/pipes.* ${libdir}/python2.7/socket.* ${libdir}/python2.7/ssl.* ${libdir}/python2.7/tempfile.* ${libdir}/python2.7/StringIO.* ${libdir}/python2.7/io.* ${libdir}/python2.7/_pyio.* " |
115 | 120 | ||
116 | DESCRIPTION_${PN}-json="Python JSON Support" | 121 | DESCRIPTION_${PN}-json="Python JSON Support" |
117 | RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re" | 122 | RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re" |
118 | FILES_${PN}-json="${libdir}/python2.7/json " | 123 | FILES_${PN}-json="${libdir}/python2.7/json ${libdir}/python2.7/lib-dynload/_json.so " |
119 | 124 | ||
120 | DESCRIPTION_${PN}-lang="Python Low-Level Language Support" | 125 | DESCRIPTION_${PN}-lang="Python Low-Level Language Support" |
121 | RDEPENDS_${PN}-lang="${PN}-core" | 126 | RDEPENDS_${PN}-lang="${PN}-core" |
@@ -135,7 +140,7 @@ FILES_${PN}-math="${libdir}/python2.7/lib-dynload/cmath.so ${libdir}/python2.7/l | |||
135 | 140 | ||
136 | DESCRIPTION_${PN}-mime="Python MIME Handling APIs" | 141 | DESCRIPTION_${PN}-mime="Python MIME Handling APIs" |
137 | RDEPENDS_${PN}-mime="${PN}-core ${PN}-io" | 142 | RDEPENDS_${PN}-mime="${PN}-core ${PN}-io" |
138 | FILES_${PN}-mime="${libdir}/python2.7/mimetools.* ${libdir}/python2.7/uu.* ${libdir}/python2.7/quopri.* ${libdir}/python2.7/rfc822.* " | 143 | FILES_${PN}-mime="${libdir}/python2.7/mimetools.* ${libdir}/python2.7/uu.* ${libdir}/python2.7/quopri.* ${libdir}/python2.7/rfc822.* ${libdir}/python2.7/MimeWriter.* " |
139 | 144 | ||
140 | DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support" | 145 | DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support" |
141 | RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io" | 146 | RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io" |
@@ -159,7 +164,7 @@ FILES_${PN}-numbers="${libdir}/python2.7/decimal.* ${libdir}/python2.7/numbers.* | |||
159 | 164 | ||
160 | DESCRIPTION_${PN}-pickle="Python Persistence Support" | 165 | DESCRIPTION_${PN}-pickle="Python Persistence Support" |
161 | RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re" | 166 | RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re" |
162 | FILES_${PN}-pickle="${libdir}/python2.7/pickle.* ${libdir}/python2.7/shelve.* ${libdir}/python2.7/lib-dynload/cPickle.so " | 167 | FILES_${PN}-pickle="${libdir}/python2.7/pickle.* ${libdir}/python2.7/shelve.* ${libdir}/python2.7/lib-dynload/cPickle.so ${libdir}/python2.7/pickletools.* " |
163 | 168 | ||
164 | DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support" | 169 | DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support" |
165 | RDEPENDS_${PN}-pkgutil="${PN}-core" | 170 | RDEPENDS_${PN}-pkgutil="${PN}-core" |
@@ -175,7 +180,7 @@ FILES_${PN}-profile="${libdir}/python2.7/profile.* ${libdir}/python2.7/pstats.* | |||
175 | 180 | ||
176 | DESCRIPTION_${PN}-pydoc="Python Interactive Help Support" | 181 | DESCRIPTION_${PN}-pydoc="Python Interactive Help Support" |
177 | RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re" | 182 | RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re" |
178 | FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python2.7/pydoc.* " | 183 | FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python2.7/pydoc.* ${libdir}/python2.7/pydoc_data " |
179 | 184 | ||
180 | DESCRIPTION_${PN}-re="Python Regular Expression APIs" | 185 | DESCRIPTION_${PN}-re="Python Regular Expression APIs" |
181 | RDEPENDS_${PN}-re="${PN}-core" | 186 | RDEPENDS_${PN}-re="${PN}-core" |
@@ -199,7 +204,7 @@ FILES_${PN}-shell="${libdir}/python2.7/cmd.* ${libdir}/python2.7/commands.* ${li | |||
199 | 204 | ||
200 | DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon" | 205 | DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon" |
201 | RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime" | 206 | RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime" |
202 | FILES_${PN}-smtpd="${bindir}/smtpd.* " | 207 | FILES_${PN}-smtpd="${bindir}/smtpd.* ${libdir}/python2.7/smtpd.* " |
203 | 208 | ||
204 | DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support" | 209 | DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support" |
205 | RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib" | 210 | RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib" |
@@ -211,7 +216,7 @@ FILES_${PN}-sqlite3-tests="${libdir}/python2.7/sqlite3/test " | |||
211 | 216 | ||
212 | DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]" | 217 | DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]" |
213 | RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re" | 218 | RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re" |
214 | FILES_${PN}-stringold="${libdir}/python2.7/lib-dynload/strop.so ${libdir}/python2.7/string.* " | 219 | FILES_${PN}-stringold="${libdir}/python2.7/lib-dynload/strop.so ${libdir}/python2.7/string.* ${libdir}/python2.7/stringold.* " |
215 | 220 | ||
216 | DESCRIPTION_${PN}-subprocess="Python Subprocess Support" | 221 | DESCRIPTION_${PN}-subprocess="Python Subprocess Support" |
217 | RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle" | 222 | RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle" |
@@ -243,7 +248,7 @@ FILES_${PN}-tkinter="${libdir}/python2.7/lib-dynload/_tkinter.so ${libdir}/pytho | |||
243 | 248 | ||
244 | DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" | 249 | DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" |
245 | RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" | 250 | RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" |
246 | FILES_${PN}-unittest="${libdir}/python2.7/unittest.* " | 251 | FILES_${PN}-unittest="${libdir}/python2.7/unittest/ " |
247 | 252 | ||
248 | DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" | 253 | DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" |
249 | RDEPENDS_${PN}-unixadmin="${PN}-core" | 254 | RDEPENDS_${PN}-unixadmin="${PN}-core" |
@@ -255,14 +260,14 @@ FILES_${PN}-xml="${libdir}/python2.7/lib-dynload/pyexpat.so ${libdir}/python2.7/ | |||
255 | 260 | ||
256 | DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support" | 261 | DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support" |
257 | RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang" | 262 | RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang" |
258 | FILES_${PN}-xmlrpc="${libdir}/python2.7/xmlrpclib.* ${libdir}/python2.7/SimpleXMLRPCServer.* " | 263 | FILES_${PN}-xmlrpc="${libdir}/python2.7/xmlrpclib.* ${libdir}/python2.7/SimpleXMLRPCServer.* ${libdir}/python2.7/DocXMLRPCServer.* " |
259 | 264 | ||
260 | DESCRIPTION_${PN}-zlib="Python zlib Support." | 265 | DESCRIPTION_${PN}-zlib="Python zlib Support." |
261 | RDEPENDS_${PN}-zlib="${PN}-core" | 266 | RDEPENDS_${PN}-zlib="${PN}-core" |
262 | FILES_${PN}-zlib="${libdir}/python2.7/lib-dynload/zlib.so " | 267 | FILES_${PN}-zlib="${libdir}/python2.7/lib-dynload/zlib.so " |
263 | 268 | ||
264 | DESCRIPTION_${PN}-modules="All Python modules" | 269 | DESCRIPTION_${PN}-modules="All Python modules" |
265 | 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 " | 270 | RDEPENDS_${PN}-modules="${PN}-2to3 ${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 " |
266 | ALLOW_EMPTY_${PN}-modules = "1" | 271 | ALLOW_EMPTY_${PN}-modules = "1" |
267 | 272 | ||
268 | 273 | ||
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index 45d8350376..bb088a4620 100644 --- a/meta/recipes-devtools/python/python_2.7.2.bb +++ b/meta/recipes-devtools/python/python_2.7.2.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require python.inc | 1 | require python.inc |
2 | DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" | 2 | DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" |
3 | DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" | 3 | DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" |
4 | PR = "${INC_PR}.0" | 4 | PR = "${INC_PR}.1" |
5 | 5 | ||
6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" | 6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" |
7 | DISTRO_SRC_URI_linuxstdbase = "" | 7 | DISTRO_SRC_URI_linuxstdbase = "" |
@@ -107,30 +107,10 @@ RPROVIDES_${PN}-core = "${PN}" | |||
107 | RRECOMMENDS_${PN}-core = "${PN}-readline" | 107 | RRECOMMENDS_${PN}-core = "${PN}-readline" |
108 | RRECOMMENDS_${PN}-crypt = "openssl" | 108 | RRECOMMENDS_${PN}-crypt = "openssl" |
109 | 109 | ||
110 | # add sitecustomize | ||
111 | FILES_${PN}-core += "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py" | ||
112 | # ship 2to3 | ||
113 | FILES_${PN}-core += "${bindir}/2to3" | ||
114 | |||
115 | # package libpython2 | 110 | # package libpython2 |
116 | PACKAGES =+ "lib${BPN}2" | 111 | PACKAGES =+ "lib${BPN}2" |
117 | FILES_lib${BPN}2 = "${libdir}/libpython*.so.*" | 112 | FILES_lib${BPN}2 = "${libdir}/libpython*.so.*" |
118 | 113 | ||
119 | # additional stuff -dev | ||
120 | |||
121 | FILES_${PN}-dev = "\ | ||
122 | ${includedir} \ | ||
123 | ${libdir}/lib*${SOLIBSDEV} \ | ||
124 | ${libdir}/*.la \ | ||
125 | ${libdir}/*.a \ | ||
126 | ${libdir}/*.o \ | ||
127 | ${libdir}/pkgconfig \ | ||
128 | ${base_libdir}/*.a \ | ||
129 | ${base_libdir}/*.o \ | ||
130 | ${datadir}/aclocal \ | ||
131 | ${datadir}/pkgconfig \ | ||
132 | " | ||
133 | |||
134 | # catch debug extensions (isn't that already in python-core-dbg?) | 114 | # catch debug extensions (isn't that already in python-core-dbg?) |
135 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" | 115 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" |
136 | 116 | ||