Skip to contentSkip to conversation

Add some python packages bb

PATCH Superseded [email protected] 3 participants 10 messages Jun 29, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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

#1 lore raw

PATCH 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
new file mode 100644
index 0000000..fd35197
@@ -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
#2 lore raw

PATCH 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
index eb473d2..849c99e 100644
@@ -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
#3 lore raw

PATCH 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
index 0958f75..ba966eb 100644
@@ -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
#4 lore raw

PATCH 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     | 13 +++++++++++++
 1 file changed, 13 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 +13 -0
new file mode 100644
index 0000000..e091e01
@@ -0,0 +1,13 @@
+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"
+
+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
#5 lore raw

PATCH 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
new file mode 100644
index 0000000..0b306f4
@@ -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/source/s/${SRCNAME}/${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
#6 lore raw

Re: [meta-python][PATCH 5/5] python-setuptools-scm: Add python-setuptools-scm bb

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Fetcher failure:
Fetch command failed with exit code 8, output:https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz:

2016-06-29 07:45:31 ERROR 404: Not Found.

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Function failed:
Fetcher failure for URL:
'https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/python-setuptools-scm/1.11.1-r0/temp/log.do_fetch.7515

Quoted 52 lines · On Wed, Jun 29, 2016 at 10:22 AM, <[email protected]> wrote:

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

(quoted diff) +0 -0

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..0b306f4

meta-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 = "

https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

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

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

#7 lore raw

Re: [meta-python][PATCH 5/5] python-setuptools-scm: Add python-setuptools-scm bb

Has pypi changed it's URL format?
https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/setuptools_scm-1.11.1.tar.gz#md5=4d19b2bc9580016d991f665ac20e2e8f

is the link on pypi....

Quoted 80 lines · Martin Jansa

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Fetcher failure:
Fetch command failed with exit code 8,
output:
https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz
:

2016-06-29 07:45:31 ERROR 404: Not Found.

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Function failed:
Fetcher failure for URL:
'
https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz
'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/python-setuptools-scm/1.11.1-r0/temp/log.do_fetch.7515

meta-python/recipes-devtools/python/

Quoted 20 lines · On Wed, Jun 29, 2016 at 10:22 AM, <[email protected]> wrote:

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

(quoted diff) +0 -0

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..0b306f4

meta-python/recipes-devtools/python/ new file +0 -0

python-setuptools-scm_1.11.1.bb

meta-python/recipes-devtools/python/ line 9

Quoted 11 lines
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 = "

https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz

Quoted 15 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-argparse

python-debugger python-json"

meta-python/recipes-devtools/python/ new file +2 -1
+
+
--

2.8.1

Quoted 6 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

#8 lore raw

Re: [meta-python][PATCH 5/5] python-setuptools-scm: Add python-setuptools-scm bb

It might be related to this:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107959.html

Quoted 100 lines · Tim Orling

Has pypi changed it's URL format?

https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/setuptools_scm-1.11.1.tar.gz#md5=4d19b2bc9580016d991f665ac20e2e8f

is the link on pypi....

Quoted 4 lines · Martin Jansa

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Fetcher failure:
Fetch command failed with exit code 8,
output:

https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz

Quoted 7 lines

:

2016-06-29 07:45:31 ERROR 404: Not Found.

ERROR: python-setuptools-scm-1.11.1-r0 do_fetch: Function failed:
Fetcher failure for URL:
'

https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.11.1.tar.gz

Quoted 5 lines

'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/python-setuptools-scm/1.11.1-r0/temp/log.do_fetch.7515

Quoted 25 lines · On Wed, Jun 29, 2016 at 10:22 AM, <[email protected]> wrote:

meta-python/recipes-devtools/python/

Quoted 21 lines

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

(quoted diff) +0 -0

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..0b306f4

meta-python/recipes-devtools/python/ new file +0 -0

python-setuptools-scm_1.11.1.bb

Quoted 4 lines

meta-python/recipes-devtools/python/ line 3

Quoted 4 lines
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

meta-python/recipes-devtools/python/ line 9

Quoted 7 lines
meta-python/recipes-devtools/python/ new file +6 -0
+
+inherit pypi setuptools
+
+SRCNAME = "setuptools_scm"
+
+SRC_URI = "

https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz

Quoted 15 lines
Quoted 15 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-argparse

python-debugger python-json"

meta-python/recipes-devtools/python/ new file +2 -1
+
+
--

2.8.1

Quoted 12 lines
Quoted 6 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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#9 lore raw
In reply to [email protected]

Hi Mingli,

In the future, when you send a second version of a patch, you should have [PATCH v2] etc. in the subject line. Again, remember that these patches are being consumed by automated processes. If you look at
https://patchwork-next.openembedded.org/project/oe/series/?ordering=-last_updated
you can get an idea about how the patches are organized by the automatic patchwork service.

These are the guidelines for submitting patches:
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

Thank you for contributing.

Cheers,

Tim

Quoted 20 lines · On Wed, Jun 29, 2016 at 1:22 AM, <[email protected]> wrote:

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
--
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel