Skip to contentSkip to conversation

python: remove python-dev from python-modules

PATCH In review Frans Meulenbroeks 2 participants 4 messages Sep 19, 2010 – Sep 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python: remove python-dev from python-modules

---

python-modules has python-dv in it sdependencies.
I'm not a python wiz, but I feel that is no good as it drags in a lot of dev packages. Note too sure if thre should be a depends on python though.

Expert opinion appreciated

 recipes/python/python-2.6-manifest.inc |    2 +-
 recipes/python/python_2.6.5.bb         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes/python/python-2.6-manifest.inc +1 -1
index 4ed05cb..eec9f22 100644
@@ -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"
 
 
recipes/python/python_2.6.5.bb +1 -1
index c144fee..6ce0983 100644
@@ -3,7 +3,7 @@ DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\
            ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}"
 DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
 # set to .0 on every increase of INC_PR
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI = "\
   http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
Signature · 1 line
1.6.4.2
#1 lore raw

Hi Frans,

Quoted 4 lines · Frans Meulenbroeks

python-modules has python-dv in it sdependencies.
I'm not a python wiz, but I feel that is no good as it drags in a lot of dev packages. Note too sure if thre should be a depends on python though.

please see this patch serie which waits for an ack (PR will be increased after) :

http://patchwork.openembedded.org/patch/2917/
http://patchwork.openembedded.org/patch/2919/
http://patchwork.openembedded.org/patch/2918/

Eric

#2 lore raw

2010/9/19 Eric Bénard <[email protected]>:

Quoted 9 lines

Hi Frans,

Quoted 6 lines · Frans Meulenbroeks

python-modules has python-dv in it sdependencies.
I'm not a python wiz, but I feel that is no good as it drags in a lot of dev
packages. Note too sure if thre should be a depends on python though.

Quoted 8 lines

please see this patch serie which waits for an ack (PR will be increased after) :

http://patchwork.openembedded.org/patch/2917/
http://patchwork.openembedded.org/patch/2919/
http://patchwork.openembedded.org/patch/2918/

Eric

Hi Eric,

Your patch seems to address the same issue.
Actually saw it before but didn't realize I was facing the same problem (and didn't know enough from it to ack it)

Frans

#3 lore raw

2010/9/19 Frans Meulenbroeks <[email protected]>:

Quoted 19 lines

2010/9/19 Eric Bénard <[email protected]>:

Quoted 9 lines

Hi Frans,

Quoted 6 lines · Frans Meulenbroeks

python-modules has python-dv in it sdependencies.
I'm not a python wiz, but I feel that is no good as it drags in a lot of dev
packages. Note too sure if thre should be a depends on python though.

Quoted 8 lines

please see this patch serie which waits for an ack (PR will be increased after) :

http://patchwork.openembedded.org/patch/2917/
http://patchwork.openembedded.org/patch/2919/
http://patchwork.openembedded.org/patch/2918/

Eric

Quoted 8 lines

Hi Eric,

Your patch seems to address the same issue.
Actually saw it before but didn't realize I was facing the same problem (and didn't know enough from it to ack it)

Frans

Retracting my patch in favour of Eric's patch as it fixes the problem at the root by patching the generator, where I only patched the outcome of the generator.

Frans