[OE-core] [PATCH 2/5] python3-pbr: add it for python3-testtools

Khem Raj raj.khem at gmail.com
Fri Jul 27 08:57:40 UTC 2018


please remove it from meta-python once its in core
On Fri, Jul 27, 2018 at 1:51 AM Robert Yang <liezhi.yang at windriver.com> wrote:
>
> - The python3-testtools RDEPENDS on it.
> - It is from meta-python, I extended it to nativesdk.
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta/recipes-devtools/python/python-pbr.inc       | 14 ++++++++++++++
>  meta/recipes-devtools/python/python3-pbr_3.1.1.bb |  2 ++
>  2 files changed, 16 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python-pbr.inc
>  create mode 100644 meta/recipes-devtools/python/python3-pbr_3.1.1.bb
>
> diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
> new file mode 100644
> index 0000000..74f67fb
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-pbr.inc
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run"
> +HOMEPAGE = "https://pypi.python.org/pypi/pbr"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
> +
> +SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00"
> +SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1"
> +
> +inherit pypi
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-pip"
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
> new file mode 100644
> index 0000000..97e7361
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-pbr.inc
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list