summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/python
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contrib/python')
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py47
1 files changed, 30 insertions, 17 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index b526df5b94..e0171f9e3e 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -17,7 +17,7 @@ import time
17VERSION = "2.7.2" 17VERSION = "2.7.2"
18 18
19__author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" 19__author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
20__version__ = "20110222.1" 20__version__ = "20110222.2"
21 21
22class MakefileMaker: 22class MakefileMaker:
23 23
@@ -166,28 +166,41 @@ if __name__ == "__main__":
166 "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + 166 "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " +
167 "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python* " + 167 "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python* " +
168 "_weakrefset.* sysconfig.* config/Makefile " + 168 "_weakrefset.* sysconfig.* config/Makefile " +
169 "${includedir}/python${PYTHON_MAJMIN}/pyconfig.h " ) 169 "${includedir}/python${PYTHON_MAJMIN}/pyconfig.h " +
170 "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ")
170 171
171 m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", 172 m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core",
172 "${includedir} ${libdir}/libpython2.6.so" ) # package 173 "${includedir} " +
174 "${libdir}/lib*${SOLIBSDEV} " +
175 "${libdir}/*.la " +
176 "${libdir}/*.a " +
177 "${libdir}/*.o " +
178 "${libdir}/pkgconfig " +
179 "${base_libdir}/*.a " +
180 "${base_libdir}/*.o " +
181 "${datadir}/aclocal " +
182 "${datadir}/pkgconfig " )
183
184 m.addPackage( "${PN}-2to3", "Python Automated Python 2 to 3 code translation", "${PN}-core",
185 "${bindir}/2to3 lib2to3" ) # package
173 186
174 m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter", 187 m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter",
175 "${bindir}/idle idlelib" ) # package 188 "${bindir}/idle idlelib" ) # package
176 189
177 m.addPackage( "${PN}-pydoc", "Python Interactive Help Support", "${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re", 190 m.addPackage( "${PN}-pydoc", "Python Interactive Help Support", "${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re",
178 "${bindir}/pydoc pydoc.*" ) 191 "${bindir}/pydoc pydoc.* pydoc_data" )
179 192
180 m.addPackage( "${PN}-smtpd", "Python Simple Mail Transport Daemon", "${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime", 193 m.addPackage( "${PN}-smtpd", "Python Simple Mail Transport Daemon", "${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime",
181 "${bindir}/smtpd.*" ) 194 "${bindir}/smtpd.* smtpd.*" )
182 195
183 m.addPackage( "${PN}-audio", "Python Audio Handling", "${PN}-core", 196 m.addPackage( "${PN}-audio", "Python Audio Handling", "${PN}-core",
184 "wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so" ) 197 "wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so audiodev.* sunaudio.* sunau.* toaiff.*" )
185 198
186 m.addPackage( "${PN}-bsddb", "Python Berkeley Database Bindings", "${PN}-core", 199 m.addPackage( "${PN}-bsddb", "Python Berkeley Database Bindings", "${PN}-core",
187 "bsddb lib-dynload/_bsddb.so" ) # package 200 "bsddb lib-dynload/_bsddb.so" ) # package
188 201
189 m.addPackage( "${PN}-codecs", "Python Codecs, Encodings & i18n Support", "${PN}-core ${PN}-lang", 202 m.addPackage( "${PN}-codecs", "Python Codecs, Encodings & i18n Support", "${PN}-core ${PN}-lang",
190 "codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" ) 203 "codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/_codecs* lib-dynload/_multibytecodec.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" )
191 204
192 m.addPackage( "${PN}-compile", "Python Bytecode Compilation Support", "${PN}-core", 205 m.addPackage( "${PN}-compile", "Python Bytecode Compilation Support", "${PN}-core",
193 "py_compile.* compileall.*" ) 206 "py_compile.* compileall.*" )
@@ -208,7 +221,7 @@ if __name__ == "__main__":
208 "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # directory + low level module 221 "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # directory + low level module
209 222
210 m.addPackage( "${PN}-ctypes", "Python C Types Support", "${PN}-core", 223 m.addPackage( "${PN}-ctypes", "Python C Types Support", "${PN}-core",
211 "ctypes lib-dynload/_ctypes.so" ) # directory + low level module 224 "ctypes lib-dynload/_ctypes.so lib-dynload/_ctypes_test.so" ) # directory + low level module
212 225
213 m.addPackage( "${PN}-datetime", "Python Calendar and Time support", "${PN}-core ${PN}-codecs", 226 m.addPackage( "${PN}-datetime", "Python Calendar and Time support", "${PN}-core ${PN}-codecs",
214 "_strptime.* calendar.* lib-dynload/datetime.so" ) 227 "_strptime.* calendar.* lib-dynload/datetime.so" )
@@ -242,7 +255,7 @@ if __name__ == "__main__":
242 "hotshot lib-dynload/_hotshot.so" ) 255 "hotshot lib-dynload/_hotshot.so" )
243 256
244 m.addPackage( "${PN}-html", "Python HTML Processing", "${PN}-core", 257 m.addPackage( "${PN}-html", "Python HTML Processing", "${PN}-core",
245 "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* " ) 258 "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* HTMLParser.* " )
246 259
247 m.addPackage( "${PN}-gdbm", "Python GNU Database Support", "${PN}-core", 260 m.addPackage( "${PN}-gdbm", "Python GNU Database Support", "${PN}-core",
248 "lib-dynload/gdbm.so" ) 261 "lib-dynload/gdbm.so" )
@@ -251,11 +264,11 @@ if __name__ == "__main__":
251 "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" ) 264 "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" )
252 265
253 m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math", 266 m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math",
254 "lib-dynload/_socket.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + 267 "lib-dynload/_socket.so lib-dynload/_io.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " +
255 "pipes.* socket.* ssl.* tempfile.* StringIO.* " ) 268 "pipes.* socket.* ssl.* tempfile.* StringIO.* io.* _pyio.*" )
256 269
257 m.addPackage( "${PN}-json", "Python JSON Support", "${PN}-core ${PN}-math ${PN}-re", 270 m.addPackage( "${PN}-json", "Python JSON Support", "${PN}-core ${PN}-math ${PN}-re",
258 "json" ) # package 271 "json lib-dynload/_json.so" ) # package
259 272
260 m.addPackage( "${PN}-lang", "Python Low-Level Language Support", "${PN}-core", 273 m.addPackage( "${PN}-lang", "Python Low-Level Language Support", "${PN}-core",
261 "lib-dynload/_bisect.so lib-dynload/_collections.so lib-dynload/_heapq.so lib-dynload/_weakref.so lib-dynload/_functools.so " + 274 "lib-dynload/_bisect.so lib-dynload/_collections.so lib-dynload/_heapq.so lib-dynload/_weakref.so lib-dynload/_functools.so " +
@@ -273,7 +286,7 @@ if __name__ == "__main__":
273 "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" ) 286 "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" )
274 287
275 m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io", 288 m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io",
276 "mimetools.* uu.* quopri.* rfc822.*" ) 289 "mimetools.* uu.* quopri.* rfc822.* MimeWriter.*" )
277 290
278 m.addPackage( "${PN}-mmap", "Python Memory-Mapped-File Support", "${PN}-core ${PN}-io", 291 m.addPackage( "${PN}-mmap", "Python Memory-Mapped-File Support", "${PN}-core ${PN}-io",
279 "lib-dynload/mmap.so " ) 292 "lib-dynload/mmap.so " )
@@ -292,7 +305,7 @@ if __name__ == "__main__":
292 "decimal.* numbers.*" ) 305 "decimal.* numbers.*" )
293 306
294 m.addPackage( "${PN}-pickle", "Python Persistence Support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re", 307 m.addPackage( "${PN}-pickle", "Python Persistence Support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re",
295 "pickle.* shelve.* lib-dynload/cPickle.so" ) 308 "pickle.* shelve.* lib-dynload/cPickle.so pickletools.*" )
296 309
297 m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core", 310 m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core",
298 "pkgutil.*") 311 "pkgutil.*")
@@ -328,7 +341,7 @@ if __name__ == "__main__":
328 "sqlite3/test" ) 341 "sqlite3/test" )
329 342
330 m.addPackage( "${PN}-stringold", "Python String APIs [deprecated]", "${PN}-core ${PN}-re", 343 m.addPackage( "${PN}-stringold", "Python String APIs [deprecated]", "${PN}-core ${PN}-re",
331 "lib-dynload/strop.so string.*" ) 344 "lib-dynload/strop.so string.* stringold.*" )
332 345
333 m.addPackage( "${PN}-syslog", "Python Syslog Interface", "${PN}-core", 346 m.addPackage( "${PN}-syslog", "Python Syslog Interface", "${PN}-core",
334 "lib-dynload/syslog.so" ) 347 "lib-dynload/syslog.so" )
@@ -346,7 +359,7 @@ if __name__ == "__main__":
346 "lib-dynload/_tkinter.so lib-tk" ) # package 359 "lib-dynload/_tkinter.so lib-tk" ) # package
347 360
348 m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang", 361 m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang",
349 "unittest.*" ) 362 "unittest/" )
350 363
351 m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core", 364 m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core",
352 "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" ) 365 "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" )
@@ -355,7 +368,7 @@ if __name__ == "__main__":
355 "lib-dynload/pyexpat.so xml xmllib.*" ) # package 368 "lib-dynload/pyexpat.so xml xmllib.*" ) # package
356 369
357 m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang", 370 m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang",
358 "xmlrpclib.* SimpleXMLRPCServer.*" ) 371 "xmlrpclib.* SimpleXMLRPCServer.* DocXMLRPCServer.*" )
359 372
360 m.addPackage( "${PN}-zlib", "Python zlib Support.", "${PN}-core", 373 m.addPackage( "${PN}-zlib", "Python zlib Support.", "${PN}-core",
361 "lib-dynload/zlib.so" ) 374 "lib-dynload/zlib.so" )