All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v2] Add some python packages bb
@ 2016-07-04  8:06 mingli.yu
  2016-07-04  8:06 ` [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb mingli.yu
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

1, Add python-pbr bb file as python-mock depends on
   python-pbr-native

2, Update python-mock bb to add python-pbr-native dependency 
   for python-mock

3, Update python-mccabe bb to add python-pytest-runner 
   dependency for python-mccabe

4, Add python-pytest-runner bb as python-mccabe depends
   on python-pytest-runner

5, Add python-setuptools-scm bb as python-pytest-runner depends
   on python-setuptools-scm



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb
  2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
@ 2016-07-04  8:06 ` mingli.yu
  2016-07-08 17:03   ` Tim Orling
  2016-07-04  8:06 ` [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency mingli.yu
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

* Add python-pbr bb file as python-mock depends on
  python-pbr-native

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pbr_1.10.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
new file mode 100644
index 0000000..fd35197
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
@@ -0,0 +1,16 @@
+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] = "8e4968c587268f030e38329feb9c8f17"
+SRC_URI[sha256sum] = "186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c"
+
+inherit pypi setuptools
+
+DEPENDS_class-target += " \
+        python-pip \
+        "
+
+BBCLASSEXTEND = "native"
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency
  2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
  2016-07-04  8:06 ` [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb mingli.yu
@ 2016-07-04  8:06 ` mingli.yu
  2016-07-08 17:05   ` Tim Orling
  2016-07-04  8:06 ` [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency mingli.yu
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

* Add python-pbr-native dependency for python-mock

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
index eb473d2..849c99e 100644
--- a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
@@ -8,6 +8,9 @@ PYPI_PACKAGE_HASH = "0c53014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbf
 
 inherit pypi setuptools
 
+DEPENDS += " \
+    python-pbr-native"
+
 RDEPENDS_${PN} += " \
     python-prettytable \
     python-cmd2 \
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency
  2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
  2016-07-04  8:06 ` [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb mingli.yu
  2016-07-04  8:06 ` [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency mingli.yu
@ 2016-07-04  8:06 ` mingli.yu
  2016-07-08 17:06   ` Tim Orling
  2016-07-04  8:06 ` [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb mingli.yu
  2016-07-04  8:06 ` [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb mingli.yu
  4 siblings, 1 reply; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

* Add python-pytest-runner dependency for python-mccabe

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
index 0958f75..ba966eb 100644
--- a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
@@ -8,6 +8,9 @@ SRC_URI[sha256sum] = "9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca498226886
 
 inherit pypi setuptools
 
+DEPENDS += " \
+    python-pytest-runner"
+
 RDEPENDS_${PN} += " \
     python-prettytable \
     python-cmd2 \
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb
  2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
                   ` (2 preceding siblings ...)
  2016-07-04  8:06 ` [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency mingli.yu
@ 2016-07-04  8:06 ` mingli.yu
  2016-07-08 17:07   ` Tim Orling
  2016-07-04  8:06 ` [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb mingli.yu
  4 siblings, 1 reply; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

* Add python-pytest-runner bb as python-mccabe depends
  on python-pytest-runner

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../recipes-devtools/python/python-pytest-runner_2.8.bb    | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb

diff --git a/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb b/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb
new file mode 100644
index 0000000..a4685ec
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e38b971c2b4c33b978d1b9c9ece9ae63"
+
+SRC_URI[md5sum] = "041f3624f450d87a242e3907d7f90e8f"
+SRC_URI[sha256sum] = "1ec44deddaa551f85fd563c40a4c483a2609aca1f284a95399566a74d0680d5c"
+PYPI_PACKAGE_HASH = "466cff61a9e0d513222afa3529bdb565a465812b7e50b218a5afd705f46b258c"
+
+DEPENDS += " \
+    python-setuptools-scm"
+
+RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger python-json"
+
+inherit pypi setuptools
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
  2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
                   ` (3 preceding siblings ...)
  2016-07-04  8:06 ` [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb mingli.yu
@ 2016-07-04  8:06 ` mingli.yu
  2016-07-08 17:09   ` Tim Orling
  4 siblings, 1 reply; 14+ messages in thread
From: mingli.yu @ 2016-07-04  8:06 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

* Add python-setuptools-scm bb as python-pytest-runner depends
  on python-setuptools-scm

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../python/python-setuptools-scm_1.11.1.bb             | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb

diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
new file mode 100644
index 0000000..2a3b97d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "the blessed package to manage your versions by scm tags"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
+
+inherit pypi setuptools
+
+SRCNAME = "setuptools_scm"
+
+SRC_URI = "https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
+SRC_URI[sha256sum] = "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger python-json"
+
+
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb
  2016-07-04  8:06 ` [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb mingli.yu
@ 2016-07-08 17:03   ` Tim Orling
  0 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2016-07-08 17:03 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Built ok for beaglebone.

NOTE: Requires Derek's pypi.bbclass patch
https://patchwork.openembedded.org/patch/125551/ or else fetcher failure.

NOTE: SUMMARY is __strongly__ recommended (it helps with the layer index)
http://www.openembedded.org/wiki/Styleguide

Acked-by: Tim Orling (Intel OpenSource Technology Center) <
ticotimo@gmail.com>



On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
>
> * Add python-pbr bb file as python-mock depends on
>   python-pbr-native
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 16
> ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python-pbr_1.10.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
> b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
> new file mode 100644
> index 0000000..fd35197
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb
> @@ -0,0 +1,16 @@
> +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] = "8e4968c587268f030e38329feb9c8f17"
> +SRC_URI[sha256sum] =
> "186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c"
> +
> +inherit pypi setuptools
> +
> +DEPENDS_class-target += " \
> +        python-pip \
> +        "
> +
> +BBCLASSEXTEND = "native"
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency
  2016-07-04  8:06 ` [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency mingli.yu
@ 2016-07-08 17:05   ` Tim Orling
  0 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2016-07-08 17:05 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Built ok for beaglebone.

Acked-by: Tim Orling (Intel OpenSource Technology Center) <
ticotimo@gmail.com>

On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
>
> * Add python-pbr-native dependency for python-mock
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
> b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
> index eb473d2..849c99e 100644
> --- a/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
> +++ b/meta-python/recipes-devtools/python/python-mock_2.0.0.bb
> @@ -8,6 +8,9 @@ PYPI_PACKAGE_HASH =
> "0c53014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbf
>
>  inherit pypi setuptools
>
> +DEPENDS += " \
> +    python-pbr-native"
> +
>  RDEPENDS_${PN} += " \
>      python-prettytable \
>      python-cmd2 \
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency
  2016-07-04  8:06 ` [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency mingli.yu
@ 2016-07-08 17:06   ` Tim Orling
  0 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2016-07-08 17:06 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Built ok for beaglebone.

Acked-by: Tim Orling (Intel OpenSource Technology Center) <
ticotimo@gmail.com>

On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
>
> * Add python-pytest-runner dependency for python-mccabe
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
> b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
> index 0958f75..ba966eb 100644
> --- a/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
> +++ b/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb
> @@ -8,6 +8,9 @@ SRC_URI[sha256sum] =
> "9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca498226886
>
>  inherit pypi setuptools
>
> +DEPENDS += " \
> +    python-pytest-runner"
> +
>  RDEPENDS_${PN} += " \
>      python-prettytable \
>      python-cmd2 \
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb
  2016-07-04  8:06 ` [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb mingli.yu
@ 2016-07-08 17:07   ` Tim Orling
  0 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2016-07-08 17:07 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Built ok for beaglebone.

Acked-by: Tim Orling (Intel OpenSource Technology Center) <
ticotimo@gmail.com>

On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
>
> * Add python-pytest-runner bb as python-mccabe depends
>   on python-pytest-runner
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  .../recipes-devtools/python/python-pytest-runner_2.8.bb    | 14
> ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python-pytest-runner_2.8.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python-pytest-runner_2.8.bb b/meta-python/recipes-devtools/python/
> python-pytest-runner_2.8.bb
> new file mode 100644
> index 0000000..a4685ec
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "Invoke py.test as distutils command with dependency resolution"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e38b971c2b4c33b978d1b9c9ece9ae63"
> +
> +SRC_URI[md5sum] = "041f3624f450d87a242e3907d7f90e8f"
> +SRC_URI[sha256sum] =
> "1ec44deddaa551f85fd563c40a4c483a2609aca1f284a95399566a74d0680d5c"
> +PYPI_PACKAGE_HASH =
> "466cff61a9e0d513222afa3529bdb565a465812b7e50b218a5afd705f46b258c"
> +
> +DEPENDS += " \
> +    python-setuptools-scm"
> +
> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
> python-debugger python-json"
> +
> +inherit pypi setuptools
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
  2016-07-04  8:06 ` [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb mingli.yu
@ 2016-07-08 17:09   ` Tim Orling
  2016-07-11  9:23     ` Yu, Mingli
  0 siblings, 1 reply; 14+ messages in thread
From: Tim Orling @ 2016-07-08 17:09 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Built ok for beaglebone.

NOTE: SRC_URI probably not required with Derek's pypi.bbclass patch
https://patchwork.openembedded.org/patch/125551/ but I did not test for
that.


Acked-by: Tim Orling (Intel OpenSource Technology Center) <
ticotimo@gmail.com>

On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
>
> * Add python-setuptools-scm bb as python-pytest-runner depends
>   on python-setuptools-scm
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  .../python/python-setuptools-scm_1.11.1.bb             | 18
> ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python-setuptools-scm_1.11.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/
> python-setuptools-scm_1.11.1.bb
> new file mode 100644
> index 0000000..2a3b97d
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
> @@ -0,0 +1,18 @@
> +SUMMARY = "the blessed package to manage your versions by scm tags"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
> +
> +inherit pypi setuptools
> +
> +SRCNAME = "setuptools_scm"
> +
> +SRC_URI = "
> https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz
> "
> +
> +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
> +SRC_URI[sha256sum] =
> "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
> +
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
> python-debugger python-json"
> +
> +
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
  2016-07-08 17:09   ` Tim Orling
@ 2016-07-11  9:23     ` Yu, Mingli
  2016-07-11 12:41       ` Derek Straka
  0 siblings, 1 reply; 14+ messages in thread
From: Yu, Mingli @ 2016-07-11  9:23 UTC (permalink / raw)
  To: openembedded-devel



On 2016年07月09日 01:09, Tim Orling wrote:
> Built ok for beaglebone.
>
> NOTE: SRC_URI probably not required with Derek's pypi.bbclass patch
> https://patchwork.openembedded.org/patch/125551/ but I did not test for
> that.
We still need this SRC_URI as we do translation for the package 
python-setuptools-scm as the previous packages name as 
python-setuptools_scm which includes underline, but the package name 
part can't include underline for a recipe name.

Thanks,
Grace
>
>
> Acked-by: Tim Orling (Intel OpenSource Technology Center) <
> ticotimo@gmail.com>
>
> On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:
>
>> From: Mingli Yu <mingli.yu@windriver.com>
>>
>> * Add python-setuptools-scm bb as python-pytest-runner depends
>>    on python-setuptools-scm
>>
>> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
>> ---
>>   .../python/python-setuptools-scm_1.11.1.bb             | 18
>> ++++++++++++++++++
>>   1 file changed, 18 insertions(+)
>>   create mode 100644 meta-python/recipes-devtools/python/
>> python-setuptools-scm_1.11.1.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/
>> python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/
>> python-setuptools-scm_1.11.1.bb
>> new file mode 100644
>> index 0000000..2a3b97d
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb
>> @@ -0,0 +1,18 @@
>> +SUMMARY = "the blessed package to manage your versions by scm tags"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
>> +
>> +inherit pypi setuptools
>> +
>> +SRCNAME = "setuptools_scm"
>> +
>> +SRC_URI = "
>> https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz
>> "
>> +
>> +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
>> +SRC_URI[sha256sum] =
>> "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
>> +
>> +S = "${WORKDIR}/${SRCNAME}-${PV}"
>> +
>> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
>> python-debugger python-json"
>> +
>> +
>> --
>> 2.8.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
  2016-07-11  9:23     ` Yu, Mingli
@ 2016-07-11 12:41       ` Derek Straka
  2016-07-11 20:12         ` Tim Orling
  0 siblings, 1 reply; 14+ messages in thread
From: Derek Straka @ 2016-07-11 12:41 UTC (permalink / raw)
  To: openembeded-devel

Could you use PYPI_PACKAGE = "setuptools_scm" to override the default pypi
package name?

On Mon, Jul 11, 2016 at 5:23 AM, Yu, Mingli <mingli.yu@windriver.com> wrote:

>
>
> On 2016年07月09日 01:09, Tim Orling wrote:
>
>> Built ok for beaglebone.
>>
>> NOTE: SRC_URI probably not required with Derek's pypi.bbclass patch
>> https://patchwork.openembedded.org/patch/125551/ but I did not test for
>> that.
>>
> We still need this SRC_URI as we do translation for the package
> python-setuptools-scm as the previous packages name as
> python-setuptools_scm which includes underline, but the package name part
> can't include underline for a recipe name.
>
> Thanks,
> Grace
>
>>
>>
>> Acked-by: Tim Orling (Intel OpenSource Technology Center) <
>> ticotimo@gmail.com>
>>
>> On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:
>>
>> From: Mingli Yu <mingli.yu@windriver.com>
>>>
>>> * Add python-setuptools-scm bb as python-pytest-runner depends
>>>    on python-setuptools-scm
>>>
>>> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
>>> ---
>>>   .../python/python-setuptools-scm_1.11.1.bb             | 18
>>> ++++++++++++++++++
>>>   1 file changed, 18 insertions(+)
>>>   create mode 100644 meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>>
>>> diff --git a/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>> new file mode 100644
>>> index 0000000..2a3b97d
>>> --- /dev/null
>>> +++ b/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>> @@ -0,0 +1,18 @@
>>> +SUMMARY = "the blessed package to manage your versions by scm tags"
>>> +LICENSE = "MIT"
>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
>>> +
>>> +inherit pypi setuptools
>>> +
>>> +SRCNAME = "setuptools_scm"
>>> +
>>> +SRC_URI = "
>>>
>>> https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz
>>> "
>>> +
>>> +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
>>> +SRC_URI[sha256sum] =
>>> "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
>>> +
>>> +S = "${WORKDIR}/${SRCNAME}-${PV}"
>>> +
>>> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
>>> python-debugger python-json"
>>> +
>>> +
>>> --
>>> 2.8.1
>>>
>>> --
>>> _______________________________________________
>>> 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
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
  2016-07-11 12:41       ` Derek Straka
@ 2016-07-11 20:12         ` Tim Orling
  0 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2016-07-11 20:12 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

NOTE to self: we should update the README on meta-python to give best
practices for pypi packaging.

On Mon, Jul 11, 2016 at 5:41 AM, Derek Straka <derek@asterius.io> wrote:

> Could you use PYPI_PACKAGE = "setuptools_scm" to override the default pypi
> package name?
>
> On Mon, Jul 11, 2016 at 5:23 AM, Yu, Mingli <mingli.yu@windriver.com>
> wrote:
>
> >
> >
> > On 2016年07月09日 01:09, Tim Orling wrote:
> >
> >> Built ok for beaglebone.
> >>
> >> NOTE: SRC_URI probably not required with Derek's pypi.bbclass patch
> >> https://patchwork.openembedded.org/patch/125551/ but I did not test for
> >> that.
> >>
> > We still need this SRC_URI as we do translation for the package
> > python-setuptools-scm as the previous packages name as
> > python-setuptools_scm which includes underline, but the package name part
> > can't include underline for a recipe name.
> >
> > Thanks,
> > Grace
> >
> >>
> >>
> >> Acked-by: Tim Orling (Intel OpenSource Technology Center) <
> >> ticotimo@gmail.com>
> >>
> >> On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu@windriver.com> wrote:
> >>
> >> From: Mingli Yu <mingli.yu@windriver.com>
> >>>
> >>> * Add python-setuptools-scm bb as python-pytest-runner depends
> >>>    on python-setuptools-scm
> >>>
> >>> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> >>> ---
> >>>   .../python/python-setuptools-scm_1.11.1.bb             | 18
> >>> ++++++++++++++++++
> >>>   1 file changed, 18 insertions(+)
> >>>   create mode 100644 meta-python/recipes-devtools/python/
> >>> python-setuptools-scm_1.11.1.bb
> >>>
> >>> diff --git a/meta-python/recipes-devtools/python/
> >>> python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/
> >>> python-setuptools-scm_1.11.1.bb
> >>> new file mode 100644
> >>> index 0000000..2a3b97d
> >>> --- /dev/null
> >>> +++ b/meta-python/recipes-devtools/python/
> >>> python-setuptools-scm_1.11.1.bb
> >>> @@ -0,0 +1,18 @@
> >>> +SUMMARY = "the blessed package to manage your versions by scm tags"
> >>> +LICENSE = "MIT"
> >>> +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
> >>> +
> >>> +inherit pypi setuptools
> >>> +
> >>> +SRCNAME = "setuptools_scm"
> >>> +
> >>> +SRC_URI = "
> >>>
> >>>
> https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz
> >>> "
> >>> +
> >>> +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
> >>> +SRC_URI[sha256sum] =
> >>> "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
> >>> +
> >>> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> >>> +
> >>> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
> >>> python-debugger python-json"
> >>> +
> >>> +
> >>> --
> >>> 2.8.1
> >>>
> >>> --
> >>> _______________________________________________
> >>> 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
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-07-11 20:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04  8:06 [meta-python][PATCH v2] Add some python packages bb mingli.yu
2016-07-04  8:06 ` [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb mingli.yu
2016-07-08 17:03   ` Tim Orling
2016-07-04  8:06 ` [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency mingli.yu
2016-07-08 17:05   ` Tim Orling
2016-07-04  8:06 ` [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency mingli.yu
2016-07-08 17:06   ` Tim Orling
2016-07-04  8:06 ` [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb mingli.yu
2016-07-08 17:07   ` Tim Orling
2016-07-04  8:06 ` [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb mingli.yu
2016-07-08 17:09   ` Tim Orling
2016-07-11  9:23     ` Yu, Mingli
2016-07-11 12:41       ` Derek Straka
2016-07-11 20:12         ` Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.