All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] python-2.6: remove python-dev from python-modules
@ 2010-09-07 23:46 Eric Bénard
  2010-09-07 23:46 ` [PATCH 2/2] python-2.6: remove python-distutils " Eric Bénard
  2010-09-08  9:17 ` [PATCH 1/2] python-2.6: remove python-dev from python-modules Dr. Michael Lauer
  0 siblings, 2 replies; 16+ messages in thread
From: Eric Bénard @ 2010-09-07 23:46 UTC (permalink / raw)
  To: openembedded-devel

actually python-modules installs python-dev in the image which pulls several
dev packages leading to a >250MB image instead of a 60MB image with this
patch.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/python/python-2.6-manifest.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc
index 4ed05cb..eec9f22 100644
--- a/recipes/python/python-2.6-manifest.inc
+++ b/recipes/python/python-2.6-manifest.inc
@@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
 FILES_python-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 "
 
 DESCRIPTION_python-modules="All Python modules"
-RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
+RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
 ALLOW_EMPTY_python-modules = "1"
 
 
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/2] python-2.6: remove python-distutils from python-modules
  2010-09-07 23:46 [PATCH 1/2] python-2.6: remove python-dev from python-modules Eric Bénard
@ 2010-09-07 23:46 ` Eric Bénard
  2010-09-09 14:55   ` cdric julien
  2010-09-08  9:17 ` [PATCH 1/2] python-2.6: remove python-dev from python-modules Dr. Michael Lauer
  1 sibling, 1 reply; 16+ messages in thread
From: Eric Bénard @ 2010-09-07 23:46 UTC (permalink / raw)
  To: openembedded-devel

this module seems only needed for development. No installing it with
python-modules saves 6MB on the image.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/python/python-2.6-manifest.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc
index eec9f22..ff54d36 100644
--- a/recipes/python/python-2.6-manifest.inc
+++ b/recipes/python/python-2.6-manifest.inc
@@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
 FILES_python-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 "
 
 DESCRIPTION_python-modules="All Python modules"
-RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
+RDEPENDS_python-modules="python-profile python-threading python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
 ALLOW_EMPTY_python-modules = "1"
 
 
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] python-2.6: remove python-dev from python-modules
  2010-09-07 23:46 [PATCH 1/2] python-2.6: remove python-dev from python-modules Eric Bénard
  2010-09-07 23:46 ` [PATCH 2/2] python-2.6: remove python-distutils " Eric Bénard
@ 2010-09-08  9:17 ` Dr. Michael Lauer
  2010-09-08  9:32   ` Eric Bénard
  2010-09-08 12:00   ` [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
  1 sibling, 2 replies; 16+ messages in thread
From: Dr. Michael Lauer @ 2010-09-08  9:17 UTC (permalink / raw)
  To: openembedded-devel

Hi Eric,

thanks for your patches. Unfortunately we can't apply them in the
present form since (as you can see when you read the first
couple of lines of manifest.inc) the manifest is autogenerated
by a script in our contrib/python directory.

Please patch this script rather than the manifest itself.

Thanks!

:M:




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] python-2.6: remove python-dev from python-modules
  2010-09-08  9:17 ` [PATCH 1/2] python-2.6: remove python-dev from python-modules Dr. Michael Lauer
@ 2010-09-08  9:32   ` Eric Bénard
  2010-09-08 12:00   ` [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
  1 sibling, 0 replies; 16+ messages in thread
From: Eric Bénard @ 2010-09-08  9:32 UTC (permalink / raw)
  To: openembedded-devel

Hi Michael,

Le 08/09/2010 11:17, Dr. Michael Lauer a écrit :
> thanks for your patches. Unfortunately we can't apply them in the
> present form since (as you can see when you read the first
> couple of lines of manifest.inc) the manifest is autogenerated
> by a script in our contrib/python directory.
>
> Please patch this script rather than the manifest itself.

OK I didn't find this script yesterday, now I can hack it, thanks.

Eric



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-08  9:17 ` [PATCH 1/2] python-2.6: remove python-dev from python-modules Dr. Michael Lauer
  2010-09-08  9:32   ` Eric Bénard
@ 2010-09-08 12:00   ` Eric Bénard
  2010-09-08 12:00     ` [PATCH 2/2] python-2.6-manifest.inc: regenerate the file Eric Bénard
  1 sibling, 1 reply; 16+ messages in thread
From: Eric Bénard @ 2010-09-08 12:00 UTC (permalink / raw)
  To: openembedded-devel

* python-dev: pulls several dev packages leading to a >256MB image instead
of a 60MB image without this packages

* python-distutils: seems only needed for development. No installing it with
python-modules saves 6MB on the image.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 contrib/python/generate-manifest-2.6.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py
index 1a0f1d3..136cb2e 100755
--- a/contrib/python/generate-manifest-2.6.py
+++ b/contrib/python/generate-manifest-2.6.py
@@ -12,7 +12,7 @@ import time
 VERSION = "2.6.4"
 
 __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
-__version__ = "20100711"
+__version__ = "20100908"
 
 class MakefileMaker:
 
@@ -123,7 +123,7 @@ class MakefileMaker:
         line = 'RDEPENDS_python-modules="'
 
         for name, data in self.packages.iteritems():
-            if name != 'python-core-dbg':
+            if name not in ['python-core-dbg', 'python-dev', 'python-distutils']:
                 line += "%s " % name
 
         self.out( "%s \"" % line )
@@ -164,7 +164,7 @@ if __name__ == "__main__":
     m.addPackage( "python-core-dbg", "Python core module debug information", "python-core",
     "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
 
-    m.addPackage( "python-devel", "Python Development Package", "python-core",
+    m.addPackage( "python-dev", "Python Development Package", "python-core",
     "${includedir} ${libdir}/libpython2.6.so config" ) # package
 
     m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter",
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/2] python-2.6-manifest.inc: regenerate the file.
  2010-09-08 12:00   ` [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
@ 2010-09-08 12:00     ` Eric Bénard
  0 siblings, 0 replies; 16+ messages in thread
From: Eric Bénard @ 2010-09-08 12:00 UTC (permalink / raw)
  To: openembedded-devel

the patch is quite large because packages seems to have been reordered
in the generator but excepting python-dev and python-distutils,
everything is still present.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/python/python-2.6-manifest.inc |   42 ++++++++++++++++----------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc
index 4ed05cb..dfc098a 100644
--- a/recipes/python/python-2.6-manifest.inc
+++ b/recipes/python/python-2.6-manifest.inc
@@ -1,17 +1,17 @@
 
 # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
-# Generator: './generate-manifest-2.6.py' Version 20100711 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# Generator: './contrib/python/generate-manifest-2.6.py' Version 20100908 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
 
  
 
-PROVIDES+="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
+PROVIDES+="python-codecs python-threading python-distutils python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-dev python-email python-image python-tests python-core-dbg python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
 
-PACKAGES="python-core-dbg python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules"
+PACKAGES="python-core-dbg python-codecs python-threading python-distutils python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-dev python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules"
 
-DESCRIPTION_python-profile="Python Basic Profiling Support"
-RDEPENDS_python-profile="python-core python-textutils"
-FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
+DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
+RDEPENDS_python-codecs="python-core python-lang"
+FILES_python-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.* "
 
 DESCRIPTION_python-threading="Python Threading & Synchronization Support"
 RDEPENDS_python-threading="python-core python-lang"
@@ -29,9 +29,9 @@ DESCRIPTION_python-stringold="Python String APIs [deprecated]"
 RDEPENDS_python-stringold="python-core python-re"
 FILES_python-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* "
 
-DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
-RDEPENDS_python-codecs="python-core python-lang"
-FILES_python-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.* "
+DESCRIPTION_python-curses="Python Curses Support"
+RDEPENDS_python-curses="python-core"
+FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
 
 DESCRIPTION_python-ctypes="Python C Types Support"
 RDEPENDS_python-ctypes="python-core"
@@ -53,10 +53,6 @@ DESCRIPTION_python-io="Python Low-Level I/O"
 RDEPENDS_python-io="python-core python-math"
 FILES_python-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.* "
 
-DESCRIPTION_python-compiler="Python Compiler Support"
-RDEPENDS_python-compiler="python-core"
-FILES_python-compiler="${libdir}/python2.6/compiler "
-
 DESCRIPTION_python-compression="Python High Level Compression Support"
 RDEPENDS_python-compression="python-core python-zlib"
 FILES_python-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so "
@@ -65,6 +61,10 @@ DESCRIPTION_python-re="Python Regular Expression APIs"
 RDEPENDS_python-re="python-core"
 FILES_python-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* "
 
+DESCRIPTION_python-profile="Python Basic Profiling Support"
+RDEPENDS_python-profile="python-core python-textutils"
+FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
+
 DESCRIPTION_python-xmlrpc="Python XMLRPC Support"
 RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang"
 FILES_python-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* "
@@ -73,6 +73,10 @@ DESCRIPTION_python-terminal="Python Terminal Controlling Support"
 RDEPENDS_python-terminal="python-core python-io"
 FILES_python-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* "
 
+DESCRIPTION_python-dev="Python Development Package"
+RDEPENDS_python-dev="python-core"
+FILES_python-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config "
+
 DESCRIPTION_python-email="Python Email Support"
 RDEPENDS_python-email="python-core python-io python-re python-mime python-audio python-image python-netclient"
 FILES_python-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email "
@@ -97,10 +101,6 @@ DESCRIPTION_python-json="Python JSON Support"
 RDEPENDS_python-json="python-core python-math python-re"
 FILES_python-json="${libdir}/python2.6/json "
 
-DESCRIPTION_python-dev="Python Development Package"
-RDEPENDS_python-dev="python-core"
-FILES_python-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config "
-
 DESCRIPTION_python-difflib="Python helpers for computing deltas between objects."
 RDEPENDS_python-difflib="python-lang python-re"
 FILES_python-difflib="${libdir}/python2.6/difflib.* "
@@ -153,9 +153,9 @@ DESCRIPTION_python-netserver="Python Internet Protocol Servers"
 RDEPENDS_python-netserver="python-core python-netclient"
 FILES_python-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* "
 
-DESCRIPTION_python-curses="Python Curses Support"
-RDEPENDS_python-curses="python-core"
-FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
+DESCRIPTION_python-compiler="Python Compiler Support"
+RDEPENDS_python-compiler="python-core"
+FILES_python-compiler="${libdir}/python2.6/compiler "
 
 DESCRIPTION_python-smtpd="Python Simple Mail Transport Daemon"
 RDEPENDS_python-smtpd="python-core python-netserver python-email python-mime"
@@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
 FILES_python-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 "
 
 DESCRIPTION_python-modules="All Python modules"
-RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
+RDEPENDS_python-modules="python-codecs python-threading python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
 ALLOW_EMPTY_python-modules = "1"
 
 
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] python-2.6: remove python-distutils from python-modules
  2010-09-07 23:46 ` [PATCH 2/2] python-2.6: remove python-distutils " Eric Bénard
@ 2010-09-09 14:55   ` cdric julien
  2010-09-09 16:07     ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
  0 siblings, 1 reply; 16+ messages in thread
From: cdric julien @ 2010-09-09 14:55 UTC (permalink / raw)
  To: openembedded-devel

Be careful, this module is needed to install python modules on target via
the "python setup.py install" method. If removed, some python packages won't
install anymore...
If you want to gain space on target, there are a few wininst*.exe in
distutils/command directory that could be removed and the "config" directory
which contains libpython2.6.a (2.1Mo) is really useless.


2010/9/8 Eric Bénard <eric@eukrea.com>

> this module seems only needed for development. No installing it with
> python-modules saves 6MB on the image.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---
>  recipes/python/python-2.6-manifest.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/python/python-2.6-manifest.inc
> b/recipes/python/python-2.6-manifest.inc
> index eec9f22..ff54d36 100644
> --- a/recipes/python/python-2.6-manifest.inc
> +++ b/recipes/python/python-2.6-manifest.inc
> @@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
>  FILES_python-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 "
>
>  DESCRIPTION_python-modules="All Python modules"
> -RDEPENDS_python-modules="python-profile python-threading python-distutils
> python-doctest python-stringold python-codecs python-ctypes python-pickle
> python-datetime python-core python-io python-compiler python-compression
> python-re python-xmlrpc python-terminal python-email python-image
> python-tests python-resource python-json python-difflib python-math
> python-syslog python-hotshot python-unixadmin python-textutils
> python-tkinter python-gdbm python-elementtree python-fcntl python-netclient
> python-pprint python-netserver python-curses python-smtpd python-html
> python-readline python-subprocess python-pydoc python-logging python-mailbox
> python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest
> python-multiprocessing python-robotparser python-compile python-debugger
> python-pkgutil python-shell python-bsddb python-numbers python-mmap
> python-zlib python-db python-crypt python-idle python-lang python-audio  "
> +RDEPENDS_python-modules="python-profile python-threading python-doctest
> python-stringold python-codecs python-ctypes python-pickle python-datetime
> python-core python-io python-compiler python-compression python-re
> python-xmlrpc python-terminal python-email python-image python-tests
> python-resource python-json python-difflib python-math python-syslog
> python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm
> python-elementtree python-fcntl python-netclient python-pprint
> python-netserver python-curses python-smtpd python-html python-readline
> python-subprocess python-pydoc python-logging python-mailbox python-xml
> python-mime python-sqlite3 python-sqlite3-tests python-unittest
> python-multiprocessing python-robotparser python-compile python-debugger
> python-pkgutil python-shell python-bsddb python-numbers python-mmap
> python-zlib python-db python-crypt python-idle python-lang python-audio  "
>  ALLOW_EMPTY_python-modules = "1"
>
>
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


-- 
================
C.dric JULIEN
================
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-09 14:55   ` cdric julien
@ 2010-09-09 16:07     ` Eric Bénard
  2010-09-09 16:07       ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Eric Bénard
  2010-09-09 17:34       ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS J. L. 
  0 siblings, 2 replies; 16+ messages in thread
From: Eric Bénard @ 2010-09-09 16:07 UTC (permalink / raw)
  To: openembedded-devel

* python-dev: pulls several dev packages leading to a >256MB image instead
of a 60MB image without this packages

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 contrib/python/generate-manifest-2.6.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py
index 1a0f1d3..5ebafb8 100755
--- a/contrib/python/generate-manifest-2.6.py
+++ b/contrib/python/generate-manifest-2.6.py
@@ -12,7 +12,7 @@ import time
 VERSION = "2.6.4"
 
 __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
-__version__ = "20100711"
+__version__ = "20100908"
 
 class MakefileMaker:
 
@@ -123,7 +123,7 @@ class MakefileMaker:
         line = 'RDEPENDS_python-modules="'
 
         for name, data in self.packages.iteritems():
-            if name != 'python-core-dbg':
+            if name not in ['python-core-dbg', 'python-dev']:
                 line += "%s " % name
 
         self.out( "%s \"" % line )
@@ -164,7 +164,7 @@ if __name__ == "__main__":
     m.addPackage( "python-core-dbg", "Python core module debug information", "python-core",
     "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
 
-    m.addPackage( "python-devel", "Python Development Package", "python-core",
+    m.addPackage( "python-dev", "Python Development Package", "python-core",
     "${includedir} ${libdir}/libpython2.6.so config" ) # package
 
     m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter",
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/3] python-2.6-manifest.inc: regenerate the file
  2010-09-09 16:07     ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
@ 2010-09-09 16:07       ` Eric Bénard
  2010-09-09 16:07         ` [PATCH 3/3] python_2.6.5: tune python-distutils Eric Bénard
  2010-09-20  7:59         ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Frans Meulenbroeks
  2010-09-09 17:34       ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS J. L. 
  1 sibling, 2 replies; 16+ messages in thread
From: Eric Bénard @ 2010-09-09 16:07 UTC (permalink / raw)
  To: openembedded-devel

the patch is quite large because packages seems to have been reordered
in the generator but excepting python-dev everything is still present.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/python/python-2.6-manifest.inc |   42 ++++++++++++++++----------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc
index 4ed05cb..28bdd5b 100644
--- a/recipes/python/python-2.6-manifest.inc
+++ b/recipes/python/python-2.6-manifest.inc
@@ -1,17 +1,17 @@
 
 # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
-# Generator: './generate-manifest-2.6.py' Version 20100711 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# Generator: './contrib/python/generate-manifest-2.6.py' Version 20100908 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
 
  
 
-PROVIDES+="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
+PROVIDES+="python-codecs python-threading python-distutils python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-dev python-email python-image python-tests python-core-dbg python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
 
-PACKAGES="python-core-dbg python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules"
+PACKAGES="python-core-dbg python-codecs python-threading python-distutils python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-dev python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules"
 
-DESCRIPTION_python-profile="Python Basic Profiling Support"
-RDEPENDS_python-profile="python-core python-textutils"
-FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
+DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
+RDEPENDS_python-codecs="python-core python-lang"
+FILES_python-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.* "
 
 DESCRIPTION_python-threading="Python Threading & Synchronization Support"
 RDEPENDS_python-threading="python-core python-lang"
@@ -29,9 +29,9 @@ DESCRIPTION_python-stringold="Python String APIs [deprecated]"
 RDEPENDS_python-stringold="python-core python-re"
 FILES_python-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* "
 
-DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
-RDEPENDS_python-codecs="python-core python-lang"
-FILES_python-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.* "
+DESCRIPTION_python-curses="Python Curses Support"
+RDEPENDS_python-curses="python-core"
+FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
 
 DESCRIPTION_python-ctypes="Python C Types Support"
 RDEPENDS_python-ctypes="python-core"
@@ -53,10 +53,6 @@ DESCRIPTION_python-io="Python Low-Level I/O"
 RDEPENDS_python-io="python-core python-math"
 FILES_python-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.* "
 
-DESCRIPTION_python-compiler="Python Compiler Support"
-RDEPENDS_python-compiler="python-core"
-FILES_python-compiler="${libdir}/python2.6/compiler "
-
 DESCRIPTION_python-compression="Python High Level Compression Support"
 RDEPENDS_python-compression="python-core python-zlib"
 FILES_python-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so "
@@ -65,6 +61,10 @@ DESCRIPTION_python-re="Python Regular Expression APIs"
 RDEPENDS_python-re="python-core"
 FILES_python-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* "
 
+DESCRIPTION_python-profile="Python Basic Profiling Support"
+RDEPENDS_python-profile="python-core python-textutils"
+FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
+
 DESCRIPTION_python-xmlrpc="Python XMLRPC Support"
 RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang"
 FILES_python-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* "
@@ -73,6 +73,10 @@ DESCRIPTION_python-terminal="Python Terminal Controlling Support"
 RDEPENDS_python-terminal="python-core python-io"
 FILES_python-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* "
 
+DESCRIPTION_python-dev="Python Development Package"
+RDEPENDS_python-dev="python-core"
+FILES_python-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config "
+
 DESCRIPTION_python-email="Python Email Support"
 RDEPENDS_python-email="python-core python-io python-re python-mime python-audio python-image python-netclient"
 FILES_python-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email "
@@ -97,10 +101,6 @@ DESCRIPTION_python-json="Python JSON Support"
 RDEPENDS_python-json="python-core python-math python-re"
 FILES_python-json="${libdir}/python2.6/json "
 
-DESCRIPTION_python-dev="Python Development Package"
-RDEPENDS_python-dev="python-core"
-FILES_python-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config "
-
 DESCRIPTION_python-difflib="Python helpers for computing deltas between objects."
 RDEPENDS_python-difflib="python-lang python-re"
 FILES_python-difflib="${libdir}/python2.6/difflib.* "
@@ -153,9 +153,9 @@ DESCRIPTION_python-netserver="Python Internet Protocol Servers"
 RDEPENDS_python-netserver="python-core python-netclient"
 FILES_python-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* "
 
-DESCRIPTION_python-curses="Python Curses Support"
-RDEPENDS_python-curses="python-core"
-FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
+DESCRIPTION_python-compiler="Python Compiler Support"
+RDEPENDS_python-compiler="python-core"
+FILES_python-compiler="${libdir}/python2.6/compiler "
 
 DESCRIPTION_python-smtpd="Python Simple Mail Transport Daemon"
 RDEPENDS_python-smtpd="python-core python-netserver python-email python-mime"
@@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
 FILES_python-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 "
 
 DESCRIPTION_python-modules="All Python modules"
-RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
+RDEPENDS_python-modules="python-codecs python-threading python-distutils python-doctest python-stringold python-curses python-ctypes python-pickle python-datetime python-core python-io python-compression python-re python-profile python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-compiler python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio  "
 ALLOW_EMPTY_python-modules = "1"
 
 
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 3/3] python_2.6.5: tune python-distutils
  2010-09-09 16:07       ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Eric Bénard
@ 2010-09-09 16:07         ` Eric Bénard
  2010-09-20  8:00           ` Frans Meulenbroeks
  2010-09-20  7:59         ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Frans Meulenbroeks
  1 sibling, 1 reply; 16+ messages in thread
From: Eric Bénard @ 2010-09-09 16:07 UTC (permalink / raw)
  To: openembedded-devel

removing config/libpython2.6.a and distutils/command/win*
as suggested by cdricjulien.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/python/python_2.6.5.bb |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python_2.6.5.bb b/recipes/python/python_2.6.5.bb
index c144fee..ecd9f78 100644
--- a/recipes/python/python_2.6.5.bb
+++ b/recipes/python/python_2.6.5.bb
@@ -83,6 +83,12 @@ do_install() {
 	sed -i -e s,ccache,'$(CCACHE)', ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
 }
 
+do_install_append() {
+	# remove unecessary files from python-distutils' packages
+	rm ${D}/${libdir}/python${PYTHON_MAJMIN}/config/libpython2.6.a
+	rm ${D}/${libdir}/python${PYTHON_MAJMIN}/distutils/command/win*
+}
+
 require python-${PYTHON_MAJMIN}-manifest.inc
 
 # manual dependency additions
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-09 16:07     ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
  2010-09-09 16:07       ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Eric Bénard
@ 2010-09-09 17:34       ` J. L. 
  2010-09-09 17:49         ` Eric Bénard
  1 sibling, 1 reply; 16+ messages in thread
From: J. L.  @ 2010-09-09 17:34 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Sep 9, 2010 at 9:07 AM, Eric Bénard <eric@eukrea.com> wrote:
> * python-dev: pulls several dev packages leading to a >256MB image instead
> of a 60MB image without this packages
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---
>  contrib/python/generate-manifest-2.6.py |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py
> index 1a0f1d3..5ebafb8 100755
> --- a/contrib/python/generate-manifest-2.6.py
> +++ b/contrib/python/generate-manifest-2.6.py
> @@ -12,7 +12,7 @@ import time
>  VERSION = "2.6.4"
>
>  __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
> -__version__ = "20100711"
> +__version__ = "20100908"
>
>  class MakefileMaker:
>
> @@ -123,7 +123,7 @@ class MakefileMaker:
>         line = 'RDEPENDS_python-modules="'
>
>         for name, data in self.packages.iteritems():
> -            if name != 'python-core-dbg':
> +            if name not in ['python-core-dbg', 'python-dev']:
>                 line += "%s " % name
>
>         self.out( "%s \"" % line )
> @@ -164,7 +164,7 @@ if __name__ == "__main__":
>     m.addPackage( "python-core-dbg", "Python core module debug information", "python-core",
>     "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
>
> -    m.addPackage( "python-devel", "Python Development Package", "python-core",
> +    m.addPackage( "python-dev", "Python Development Package", "python-core",
>     "${includedir} ${libdir}/libpython2.6.so config" ) # package
>
>     m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter",
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Dumb comment time: Wouldnt it be better to make maybe a few different
python module packages installs instead of thining out the
python-module? I know I personally use all the modules for python
available here plus some other modules as well. I know not everyone is
concerned with making their images as small as possible. Probably just
not getting the reasoning or point but just thought I would make the
statement there are those that use python-dev as is

JL



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-09 17:34       ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS J. L. 
@ 2010-09-09 17:49         ` Eric Bénard
  2010-09-09 17:51           ` J. L. 
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Bénard @ 2010-09-09 17:49 UTC (permalink / raw)
  To: openembedded-devel

Le 09/09/2010 19:34, J. L. a écrit :
> Dumb comment time: Wouldnt it be better to make maybe a few different
> python module packages installs instead of thining out the
> python-module? I know I personally use all the modules for python
> available here plus some other modules as well. I know not everyone is
> concerned with making their images as small as possible. Probably just
> not getting the reasoning or point but just thought I would make the
> statement there are those that use python-dev as is
>
this change doesn't prevent you from using python-dev, you will just 
have to install it manually. This change only allow to install 
python-modules without installing all the dev files they actually pull.

Eric



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-09 17:49         ` Eric Bénard
@ 2010-09-09 17:51           ` J. L. 
  2010-09-20  7:59             ` Frans Meulenbroeks
  0 siblings, 1 reply; 16+ messages in thread
From: J. L.  @ 2010-09-09 17:51 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Sep 9, 2010 at 10:49 AM, Eric Bénard <eric@eukrea.com> wrote:
> Le 09/09/2010 19:34, J. L. a écrit :
>>
>> Dumb comment time: Wouldnt it be better to make maybe a few different
>> python module packages installs instead of thining out the
>> python-module? I know I personally use all the modules for python
>> available here plus some other modules as well. I know not everyone is
>> concerned with making their images as small as possible. Probably just
>> not getting the reasoning or point but just thought I would make the
>> statement there are those that use python-dev as is
>>
> this change doesn't prevent you from using python-dev, you will just have to
> install it manually. This change only allow to install python-modules
> without installing all the dev files they actually pull.
>
> Eric
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Thanks Eric that makes total sense to me now, appreciate the response
and clarification.

JL



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
  2010-09-09 17:51           ` J. L. 
@ 2010-09-20  7:59             ` Frans Meulenbroeks
  0 siblings, 0 replies; 16+ messages in thread
From: Frans Meulenbroeks @ 2010-09-20  7:59 UTC (permalink / raw)
  To: openembedded-devel

2010/9/9 J. L. <vwyodapink@gmail.com>:
> On Thu, Sep 9, 2010 at 10:49 AM, Eric Bénard <eric@eukrea.com> wrote:
>> Le 09/09/2010 19:34, J. L. a écrit :
>>>
>>> Dumb comment time: Wouldnt it be better to make maybe a few different
>>> python module packages installs instead of thining out the
>>> python-module? I know I personally use all the modules for python
>>> available here plus some other modules as well. I know not everyone is
>>> concerned with making their images as small as possible. Probably just
>>> not getting the reasoning or point but just thought I would make the
>>> statement there are those that use python-dev as is
>>>
>> this change doesn't prevent you from using python-dev, you will just have to
>> install it manually. This change only allow to install python-modules
>> without installing all the dev files they actually pull.
>>
>> Eric
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> Thanks Eric that makes total sense to me now, appreciate the response
> and clarification.
>
> JL
>

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/3] python-2.6-manifest.inc: regenerate the file
  2010-09-09 16:07       ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Eric Bénard
  2010-09-09 16:07         ` [PATCH 3/3] python_2.6.5: tune python-distutils Eric Bénard
@ 2010-09-20  7:59         ` Frans Meulenbroeks
  1 sibling, 0 replies; 16+ messages in thread
From: Frans Meulenbroeks @ 2010-09-20  7:59 UTC (permalink / raw)
  To: openembedded-devel

2010/9/9 Eric Bénard <eric@eukrea.com>:
> the patch is quite large because packages seems to have been reordered
> in the generator but excepting python-dev everything is still present.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---
>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 3/3] python_2.6.5: tune python-distutils
  2010-09-09 16:07         ` [PATCH 3/3] python_2.6.5: tune python-distutils Eric Bénard
@ 2010-09-20  8:00           ` Frans Meulenbroeks
  0 siblings, 0 replies; 16+ messages in thread
From: Frans Meulenbroeks @ 2010-09-20  8:00 UTC (permalink / raw)
  To: openembedded-devel

2010/9/9 Eric Bénard <eric@eukrea.com>:
> removing config/libpython2.6.a and distutils/command/win*
> as suggested by cdricjulien.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-09-20  8:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 23:46 [PATCH 1/2] python-2.6: remove python-dev from python-modules Eric Bénard
2010-09-07 23:46 ` [PATCH 2/2] python-2.6: remove python-distutils " Eric Bénard
2010-09-09 14:55   ` cdric julien
2010-09-09 16:07     ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
2010-09-09 16:07       ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Eric Bénard
2010-09-09 16:07         ` [PATCH 3/3] python_2.6.5: tune python-distutils Eric Bénard
2010-09-20  8:00           ` Frans Meulenbroeks
2010-09-20  7:59         ` [PATCH 2/3] python-2.6-manifest.inc: regenerate the file Frans Meulenbroeks
2010-09-09 17:34       ` [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS J. L. 
2010-09-09 17:49         ` Eric Bénard
2010-09-09 17:51           ` J. L. 
2010-09-20  7:59             ` Frans Meulenbroeks
2010-09-08  9:17 ` [PATCH 1/2] python-2.6: remove python-dev from python-modules Dr. Michael Lauer
2010-09-08  9:32   ` Eric Bénard
2010-09-08 12:00   ` [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS Eric Bénard
2010-09-08 12:00     ` [PATCH 2/2] python-2.6-manifest.inc: regenerate the file Eric Bénard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.