Add some python packages bb
PATCH v2 1/1 Add some python packages bb
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
PATCH v2 1/5 python-pbr: Add python-pbr bb
From: Mingli Yu <[email protected]>
* Add python-pbr bb file as python-mock depends on python-pbr-native
--- 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
meta-python/recipes-devtools/python/python-pbr_1.10.0.bb new file +16 -0
@@ -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"
Signature · 1 line
2.8.1
Re: [meta-python][PATCH v2 1/5] python-pbr: Add python-pbr bb
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) < [email protected]>
Quoted 47 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-pbr bb file as python-mock depends on python-pbr-native
Signed-off-by Mingli Yu <[email protected]>--- 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
meta-python/recipes-devtools/python/python-pbr_1.10.0.bb new file +1
-0@@ -0,0 +1,16 @@ +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injectssome useful and sensible default behaviors into your setuptools run"
meta-python/recipes-devtools/python/python-pbr_1.10.0.bb new file +7
-0+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"meta-python/recipes-devtools/python/python-pbr_1.10.0.bb new file +8
-1+ +inherit pypi setuptools + +DEPENDS_class-target += " \ + python-pip \ + " + +BBCLASSEXTEND = "native" --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 2/5 python-mock: Add python-pbr-native dependency
In reply to [email protected]From: Mingli Yu <[email protected]>
* Add python-pbr-native dependency for python-mock
--- meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python-mock_2.0.0.bb +3 -0
@@ -8,6 +8,9 @@ PYPI_PACKAGE_HASH = "0c53014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbf inherit pypi setuptools +DEPENDS += " \ + python-pbr-native" + RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \
Signature · 1 line
2.8.1
Re: [meta-python][PATCH v2 2/5] python-mock: Add python-pbr-native dependency
Built ok for beaglebone.
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
Quoted 34 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-pbr-native dependency for python-mock
Signed-off-by Mingli Yu <[email protected]>--- meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 3 +++ 1 file changed, 3 insertions(+)meta-python/recipes-devtools/python/python-mock_2.0.0.bb +0
-0@@ -8,6 +8,9 @@ PYPI_PACKAGE_HASH ="
0c53014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbfinherit pypi setuptools
meta-python/recipes-devtools/python/python-mock_2.0.0.bb +3
-1+DEPENDS += " \ + python-pbr-native" + RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \ --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 3/5 python-mccabe: Add python-pytest-runner dependency
In reply to [email protected]From: Mingli Yu <[email protected]>
* Add python-pytest-runner dependency for python-mccabe
--- meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +3 -0
@@ -8,6 +8,9 @@ SRC_URI[sha256sum] = "9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca498226886 inherit pypi setuptools +DEPENDS += " \ + python-pytest-runner" + RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \
Signature · 1 line
2.8.1
Re: [meta-python][PATCH v2 3/5] python-mccabe: Add python-pytest-runner dependency
Built ok for beaglebone.
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
Quoted 34 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-pytest-runner dependency for python-mccabe
Signed-off-by Mingli Yu <[email protected]>--- meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb | 3 +++ 1 file changed, 3 insertions(+)meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +0
-0@@ -8,6 +8,9 @@ SRC_URI[sha256sum] ="
9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca498226886inherit pypi setuptools
meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +3
-1+DEPENDS += " \ + python-pytest-runner" + RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \ --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 4/5 python-pytest-runner: Add python-pytest-runner bb
In reply to [email protected]From: Mingli Yu <[email protected]>
* Add python-pytest-runner bb as python-mccabe depends on python-pytest-runner
--- .../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
meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb new file +14 -0
@@ -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
Signature · 1 line
2.8.1
Re: [meta-python][PATCH v2 4/5] python-pytest-runner: Add python-pytest-runner bb
Built ok for beaglebone.
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
Quoted 47 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-pytest-runner bb as python-mccabe depends on python-pytest-runner
Signed-off-by Mingli Yu <[email protected]>--- .../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
(quoted diff) +0
-0python-pytest-runner_2.8.bb b/meta-python/recipes-devtools/python/ python-pytest-runner_2.8.bb
new file mode 100644
index 0000000..a4685ecmeta-python/recipes-devtools/python/python-pytest-runner_2.8.bb new file +6
-0@@ -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"meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb new file +5
-0+ +DEPENDS += " \ + python-setuptools-scm" + +RDEPENDS_${PN} = "python-py python-setuptools python-argparsepython-debugger python-json"
meta-python/recipes-devtools/python/python-pytest-runner_2.8.bb new file +2
-1+ +inherit pypi setuptools --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 5/5 python-setuptools-scm: Add python-setuptools-scm bb
In reply to [email protected]From: Mingli Yu <[email protected]>
* Add python-setuptools-scm bb as python-pytest-runner depends on python-setuptools-scm
--- .../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
meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +18 -0
@@ -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" + +
Signature · 1 line
2.8.1
Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
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) < [email protected]>
Quoted 52 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-setuptools-scm bb as python-pytest-runner depends on python-setuptools-scm
Signed-off-by Mingli Yu <[email protected]>--- .../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
(quoted diff) +0
-0python-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..2a3b97dmeta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +9
-0@@ -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 = "meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +3
-0+ +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f" +SRC_URI[sha256sum] ="
8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +4
-0+ +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} = "python-py python-setuptools python-argparsepython-debugger python-json"
meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +2
-1+ + --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
Quoted 5 lines · Tim Orling
Built ok for beaglebone.
NOTE:
SRC_URIprobably 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
Quoted 59 lines
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
Quoted 52 lines · On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
* Add python-setuptools-scm bb as python-pytest-runner depends on python-setuptools-scm
Signed-off-by Mingli Yu <[email protected]>--- .../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(quoted diff) +0
-0python-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..2a3b97dmeta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +9
-0@@ -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 = "meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +3
-0+ +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f" +SRC_URI[sha256sum] ="
8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +4
-0+ +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} = "python-py python-setuptools python-argparsepython-debugger python-json"
meta-python/recipes-devtools/python/python-setuptools-scm_1.11.1.bb new file +2
-1+ + --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
Could you use PYPI_PACKAGE = "setuptools_scm" to override the default pypi package name?
Quoted 85 lines · Mingli
Quoted 6 lines · Tim Orling
Built ok for beaglebone.
NOTE:
SRC_URIprobably 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_URIas 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,
GraceQuoted 55 lines
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
Quoted 47 lines
* Add python-setuptools-scm bb as python-pytest-runner depends on python-setuptools-scm
Signed-off-by Mingli Yu <[email protected]>--- .../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(quoted diff) +0
-0python-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..2a3b97dmeta-python/recipes-devtools/python/ new file +0
-0python-setuptools-scm_1.11.1.bb
meta-python/recipes-devtools/python/ new file +9
-0@@ -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 = "meta-python/recipes-devtools/python/ new file +3
-0+ +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f" +SRC_URI[sha256sum] ="
8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"meta-python/recipes-devtools/python/ new file +4
-0+ +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} = "python-py python-setuptools python-argparsepython-debugger python-json"
meta-python/recipes-devtools/python/ new file +2
-1+ + --2.8.1
Quoted 7 lines
Quoted 7 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb
NOTE to self: we should update the README on meta-python to give best practices for pypi packaging.
Quoted 99 lines · Derek Straka
Could you use
PYPI_PACKAGE= "setuptools_scm" to override the default pypi package name?Quoted 38 lines · Mingli
Quoted 6 lines · Tim Orling
Built ok for beaglebone.
NOTE:
SRC_URIprobably 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_URIas 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,
GraceQuoted 20 lines
Acked-by: Tim Orling (Intel OpenSource Technology Center) < [email protected]>
On Mon, Jul 4, 2016 at 1:06 AM, <[email protected]> wrote:
From: Mingli Yu <[email protected]>
Quoted 12 lines
* Add python-setuptools-scm bb as python-pytest-runner depends on python-setuptools-scm
Signed-off-by Mingli Yu <[email protected]>--- .../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.bbQuoted 12 lines
Quoted 4 lines
Quoted 4 lines
(quoted diff) +0
-0python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/ python-setuptools-scm_1.11.1.bb
new file mode 100644Quoted 8 lines
meta-python/recipes-devtools/python/ line 3
Quoted 8 lines
index 0000000..2a3b97d
meta-python/recipes-devtools/python/ new file +0
-0python-setuptools-scm_1.11.1.bb
meta-python/recipes-devtools/python/ new file +3
-0@@ -0,0 +1,18 @@ +SUMMARY = "the blessed package to manage your versions by scm tags" +LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
Quoted 8 lines
Quoted 8 lines
meta-python/recipes-devtools/python/ line 9
Quoted 8 lines
meta-python/recipes-devtools/python/ new file +6
-0+ +inherit pypi setuptools + +SRCNAME = "setuptools_scm" + +SRC_URI = "Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
"
meta-python/recipes-devtools/python/ new file +3
-0+ +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f" +SRC_URI[sha256sum] ="
8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"meta-python/recipes-devtools/python/ new file +4
-0+ +S = "${WORKDIR}/${SRCNAME}-${PV}" + +RDEPENDS_${PN} = "python-py python-setuptools python-argparsepython-debugger python-json"
meta-python/recipes-devtools/python/ new file +2
-1+ + --2.8.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 6 lines
Quoted 1 line
Quoted 1 line
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel