Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
To: Anuj Mittal <anuj.mittal@intel.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] python: consolidate common patches
Date: Thu, 4 Oct 2018 12:54:20 -0700	[thread overview]
Message-ID: <ce9fd909-e46b-202c-cde8-5628ca87df9f@xilinx.com> (raw)
In-Reply-To: <20181004050917.16006-2-anuj.mittal@intel.com>

Hey Anuj,


On 10/03/2018 10:09 PM, Anuj Mittal wrote:
> Move inclusion of common patches to .inc to simplify things a bit.
>
> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
> ---
>   meta/recipes-devtools/python/python-native_2.7.15.bb | 3 ---
>   meta/recipes-devtools/python/python.inc              | 3 +++
>   meta/recipes-devtools/python/python_2.7.15.bb        | 3 ---
>   3 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb b/meta/recipes-devtools/python/python-native_2.7.15.bb
> index 7c491fa3e0..ee2ec1082a 100644
> --- a/meta/recipes-devtools/python/python-native_2.7.15.bb
> +++ b/meta/recipes-devtools/python/python-native_2.7.15.bb
> @@ -11,10 +11,7 @@ SRC_URI += "\
>               file://debug.patch \
>               file://unixccompiler.patch \
>               file://nohostlibs.patch \
> -            file://multilib.patch \
> -            file://add-md5module-support.patch \
>               file://builddir.patch \
> -            file://parallel-makeinst-create-bindir.patch \
>               file://revert_use_of_sysconfigdata.patch \
>              "
>   
> diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
> index 66923678b1..38cc79cb41 100644
> --- a/meta/recipes-devtools/python/python.inc
> +++ b/meta/recipes-devtools/python/python.inc
> @@ -13,6 +13,9 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
>              file://0003-bpo-34834-Fix-test_ssl.test_options-to-account-for-O.patch \
>              file://0004-bpo-34836-fix-test_default_ecdh_curve-needs-no-tlsv1.patch \
>              file://0001-bpo-33354-Fix-test_ssl-when-a-filename-cannot-be-enc.patch \

The multilib.patch is actually a different file for the native and 
target packages, I suggest we rename it and keep it on each recipe 
separately.

Cheers,

Alejandro

> +           file://multilib.patch \
> +           file://add-md5module-support.patch \
> +           file://parallel-makeinst-create-bindir.patch \
>              "
>   
>   SRC_URI[md5sum] = "a80ae3cc478460b922242f43a1b4094d"
> diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
> index 472c1da4bf..8bc0f273ec 100644
> --- a/meta/recipes-devtools/python/python_2.7.15.bb
> +++ b/meta/recipes-devtools/python/python_2.7.15.bb
> @@ -12,10 +12,8 @@ SRC_URI += "\
>     file://03-fix-tkinter-detection.patch \
>     file://06-avoid_usr_lib_termcap_path_in_linking.patch \
>     ${DISTRO_SRC_URI} \
> -  file://multilib.patch \
>     file://cgi_py.patch \
>     file://setup_py_skip_cross_import_check.patch \
> -  file://add-md5module-support.patch \
>     file://host_include_contamination.patch \
>     file://fix_for_using_different_libdir.patch \
>     file://setuptweaks.patch \
> @@ -26,7 +24,6 @@ SRC_URI += "\
>     file://python-2.7.3-remove-bsdb-rpath.patch \
>     file://fix-makefile-for-ptest.patch \
>     file://run-ptest \
> -  file://parallel-makeinst-create-bindir.patch \
>     file://use_sysroot_ncurses_instead_of_host.patch \
>     file://add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch \
>     file://pass-missing-libraries-to-Extension-for-mul.patch \



  reply	other threads:[~2018-10-04 19:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04  5:09 [PATCH 1/2] python: fix failing ssl tests Anuj Mittal
2018-10-04  5:09 ` [PATCH 2/2] python: consolidate common patches Anuj Mittal
2018-10-04 19:54   ` Alejandro Enedino Hernandez Samaniego [this message]
2018-10-05  1:59     ` Anuj Mittal
2018-10-05  1:59     ` Anuj Mittal
2018-10-04  5:35 ` ✗ patchtest: failure for "python: fix failing ssl tests..." and 1 more Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce9fd909-e46b-202c-cde8-5628ca87df9f@xilinx.com \
    --to=alejandro.enedino.hernandez-samaniego@xilinx.com \
    --cc=anuj.mittal@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox