[oe] [meta-python][PATCH] python-lockfile: Fix build error as following:
Lei, Maohui
leimaohui at cn.fujitsu.com
Wed Jun 13 01:24:12 UTC 2018
Hi,
This patch also applies to sumo, please merge to sumo.
Best regards.
Lei
> -----Original Message-----
> From: Lei, Maohui
> Sent: Sunday, May 20, 2018 5:43 AM
> To: openembedded-devel at lists.openembedded.org
> Cc: Lei, Maohui
> Subject: [oe] [meta-python][PATCH] python-lockfile: Fix build error as
> following:
>
> "distutils.errors.DistutilsError: Could not find suitable distribution for
> Requirement.parse('pbr>=1.8')"
>
> Signed-off-by: Lei Maohui <leimaohui at cn.fujitsu.com>
> ---
> meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
> b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
> index cd15760..9ad865d 100644
> --- a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
> +++ b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
> @@ -11,3 +11,9 @@ inherit pypi setuptools
>
> SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
> SRC_URI[sha256sum] =
> "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> + python-pbr-native \
> + "
> +
> --
> 1.9.1
More information about the Openembedded-devel
mailing list