[OE-core] [PATCH 28/45] swig: move to Python 3

Philip Balister philip at balister.org
Tue May 24 16:38:28 UTC 2016


I'm trying to get my head around how this change will impact python2
based programs that use swig, such as gnuradio.

Does this mean all programs that use swig will need to move to python3 now?

Philip

On 05/24/2016 07:54 AM, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
>  meta/recipes-devtools/swig/swig.inc | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
> index 9da40df..704bb27 100644
> --- a/meta/recipes-devtools/swig/swig.inc
> +++ b/meta/recipes-devtools/swig/swig.inc
> @@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
>  
>  SECTION = "devel"
>  
> -DEPENDS = "libpcre python"
> +DEPENDS = "libpcre python3"
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
>  
> -inherit autotools pythonnative
> +inherit autotools python3native
>  
>  EXTRA_OECONF = " \
> -    --with-python=${PYTHON} \
> +    --with-python3=${PYTHON} \
>      --without-allegrocl \
>      --without-android \
>      --without-boost \
> @@ -33,7 +33,6 @@ EXTRA_OECONF = " \
>      --without-perl5 \
>      --without-pike \
>      --without-php \
> -    --without-python3 \
>      --without-r \
>      --without-ruby \
>      --without-tcl \
> 



More information about the Openembedded-core mailing list