diff mbox series

[oe] python-pbr: add python3-pbr variant

Message ID 20180831145430.21569-1-ross.burton@intel.com
State New
Headers show
Series [oe] python-pbr: add python3-pbr variant | expand

Commit Message

Ross Burton Aug. 31, 2018, 2:54 p.m. UTC
Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta-python/recipes-devtools/python/python-pbr.inc     | 14 ++++++++++++++
 .../recipes-devtools/python/python-pbr_3.1.1.bb        | 18 ++----------------
 .../recipes-devtools/python/python3-pbr_3.1.1.bb       |  2 ++
 3 files changed, 18 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pbr.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb

-- 
2.11.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Khem Raj Aug. 31, 2018, 4:39 p.m. UTC | #1
python3-pbr is already added to OE-Core see
http://git.openembedded.org/openembedded-core/commit/?id=4cc30de57d
On Fri, Aug 31, 2018 at 7:54 AM Ross Burton <ross.burton@intel.com> wrote:
>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>  meta-python/recipes-devtools/python/python-pbr.inc     | 14 ++++++++++++++

>  .../recipes-devtools/python/python-pbr_3.1.1.bb        | 18 ++----------------

>  .../recipes-devtools/python/python3-pbr_3.1.1.bb       |  2 ++

>  3 files changed, 18 insertions(+), 16 deletions(-)

>  create mode 100644 meta-python/recipes-devtools/python/python-pbr.inc

>  create mode 100644 meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb

>

> diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc

> new file mode 100644

> index 0000000000..d8847f6502

> --- /dev/null

> +++ b/meta-python/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"

> diff --git a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb

> index bdff867f30..8f7f924dab 100644

> --- a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb

> +++ b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb

> @@ -1,16 +1,2 @@

> -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 setuptools

> -

> -RDEPENDS_${PN}_class-target += " \

> -        python-pip \

> -        "

> -

> -BBCLASSEXTEND = "native"

> +inherit setuptools

> +require python-pbr.inc

> diff --git a/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb

> new file mode 100644

> index 0000000000..97e7361b16

> --- /dev/null

> +++ b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb

> @@ -0,0 +1,2 @@

> +inherit setuptools3

> +require python-pbr.inc

> --

> 2.11.0

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc
new file mode 100644
index 0000000000..d8847f6502
--- /dev/null
+++ b/meta-python/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"
diff --git a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
index bdff867f30..8f7f924dab 100644
--- a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
@@ -1,16 +1,2 @@ 
-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 setuptools
-
-RDEPENDS_${PN}_class-target += " \
-        python-pip \
-        "
-
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-pbr.inc
diff --git a/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb
new file mode 100644
index 0000000000..97e7361b16
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb
@@ -0,0 +1,2 @@ 
+inherit setuptools3
+require python-pbr.inc