[oe] [PATCH] [RFC] Add new distutils-native-base class so solve PYTHON_DIR problem for native packages

Khem Raj raj.khem at gmail.com
Tue Mar 24 07:59:26 UTC 2009


Hi

I bumped into this problem today. I parsed dependencies for libxml2-native and it was pulling all sort of packages 
which are really meant for target packages e.g. it was pulling in python along with python-native and then this inturn
was pulling in other packages.

This is because we inherit from distutils-base class in the native recipes of libxml2 and same is case with rpm-native

The native recipes infact need less than what distutils-base provides, so I divided this class into 

distutils-common-base which is inherited by distutils-base class and distutils-native-base class (new)

Now we can use distuitls-native-base class for the native packages who need variables like PYTHON_DIR

I fixed zope-native rpm-native and libxml-native recipes. They needed a bit of restructuring.

Now I get correct build deps for these packages.

OK for .dev ?

-- 
Khem Raj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-patch
Size: 15519 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090324/2d5e8491/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090324/2d5e8491/attachment-0002.sig>


More information about the Openembedded-devel mailing list