python-config: Revert to using distutils.sysconfig The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in 12-distutils-prefix-is-inside-staging-area.patch makes distutils.sysconfig affect the native runtime as well as cross building. Use the old, patched implementation which returns paths in the staging directory and for the target, as appropriate. Upstream-Status: Inappropriate [Embedded Specific] Signed-off-by: Tyler Hall : Index: Python-3.3.3/Misc/python-config.in =================================================================== --- Python-3.3.3.orig/Misc/python-config.in +++ Python-3.3.3/Misc/python-config.in @@ -4,7 +4,7 @@ import getopt import os import sys -import sysconfig +from distutils import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir'] @@ -32,14 +32,14 @@ if '--help' in opt_flags: for opt in opt_flags: if opt == '--prefix': - print(sysconfig.get_config_var('prefix')) + print(sysconfig.PREFIX) elif opt == '--exec-prefix': - print(sysconfig.get_config_var('exec_prefix')) + print(sysconfig.EXEC_PREFIX) elif opt in ('--includes', '--cflags'): - flags = ['-I' + sysconfig.get_path('include'), - '-I' + sysconfig.get_path('platinclude')] + flags = ['-I' + sysconfig.get_python_inc(), + '-I' + sysconfig.get_python_inc(plat_specific=True)] if opt == '--cflags': flags.extend(getvar('CFLAGS').split()) print(' '.join(flags)) href='/cgit/multitech-oe.git/commit/packages/opie-notesapplet?id=61825463885dc6b821e78aade4a4c6daa613fd9b'>commitdiff
path: root/packages/opie-notesapplet
AgeCommit message (Expand)AuthorFiles
2006-12-31remove extra whitespace at end-of-line in about 900 bb files.Rolf Leggewie2
2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi1
2006-08-05packages: sed -i s/^"include "/"require "/ */*.bb GNU sed rocks!Holger Freyther2
2006-07-02Opie: Rename Opie 1.2.1 to 1.2.2, Remove PRsHolger Freyther1
2006-01-12Correct Opie PV format to preserve upgradability of packages but note where c...Richard Purdie1
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYY...Richard Purdie1