python-mock: add missing dependencies
cover python-mock: add missing dependencies
From: Jackie Huang <[email protected]>
--
The following changes since commit 044e5189549de11b2a94efd29a6009a76162b8f1:
smbnetfs gnome-disk-utility contacts kexecboot initramfs-kexecboot-klibc-image system-config-keyboard system-setup-keyboard geany geany-plugins efivar efibootmgr gimp system-config-keyboard tumbler: Blacklist (2017-02-13 20:34:21 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib.git jhuang0/d_python-mock_170216
http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_python-mock_170216
Jackie Huang (2):
python-funcsigs: add now recipe
python-mock: add RDEPENDS on python-pbr and python-funcsigs
.../recipes-devtools/python/python-funcsigs_1.0.2.bb | 18 ++++++++++++++++++ .../recipes-devtools/python/python-mock_2.0.0.bb | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb
Signature · 1 line
2.8.3
PATCH 1/2 python-funcsigs: add now recipe
From: Jackie Huang <[email protected]>
python-funcsigs is required by python-mock.
--- .../recipes-devtools/python/python-funcsigs_1.0.2.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb
meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+" +DESCRPTION = " \ +funcsigs is a backport of the `PEP 362`_ function signature features from \ +Python 3.3's `inspect`_ module. The backport is compatible with Python 2.6, \ +2.7 as well as 3.3 and up. 3.2 was supported by version 0.4, but with \ +setuptools and pip no longer supporting 3.2, we cannot make any statement \ +about 3.2 compatibility. \ +" + +HOMEPAGE = "http://funcsigs.readthedocs.org" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6bc91dc8e5793892189fe7481a2d354" + +SRC_URI[md5sum] = "7e583285b1fb8a76305d6d68f4ccc14e" +SRC_URI[sha256sum] = "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" + +inherit pypi setuptools
Signature · 1 line
2.8.3
PATCH 2/2 python-mock: add RDEPENDS on python-pbr and python-funcsigs
In reply to [email protected]From: Jackie Huang <[email protected]>
python-pbr and python-funcsigs are required by python-mock, or it fails with:
Quoted 1 line
Quoted 1 line
Quoted 1 line
import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 69, in <module>
from pbr.version import VersionInfo
ImportError: No module named pbr.version
Quoted 1 line
Quoted 1 line
Quoted 1 line
import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 80, in <module>
import funcsigs
ImportError: No module named funcsigs
--- meta-python/recipes-devtools/python/python-mock_2.0.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-mock_2.0.0.bb +4 -1
@@ -16,4 +16,7 @@ RDEPENDS_${PN} += " \ python-pyparsing \ python-mccabe \ python-pep8 \ - python-pyflakes" + python-pyflakes \ + python-pbr \ + python-funcsigs \ +"
Signature · 1 line
2.8.3
Re: [PATCH 1/2] python-funcsigs: add now recipe
In reply to [email protected]Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Thursday, February 16, 2017 10:49 AM
To: [email protected]
Subject: [oe] [PATCH 1/2] python-funcsigs: add now recipe
s/now/new/
Sorry for the typo, I will send v2 for this.
Thanks,
Jackie
Quoted 44 lines
From: Jackie Huang <[email protected]>
python-funcsigs is required by python-mock.
Signed-off-by Jackie Huang <[email protected]>--- .../recipes-devtools/python/python-funcsigs_1.0.2.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bbmeta-python/recipes- renamed from meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb +0
-0devtools/python/python-funcsigs_1.0.2.bb
new file mode 100644
index 0000000..dad15eemeta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb new file +18
-1@@ -0,0 +1,18 @@ +SUMMARY = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+" +DESCRPTION = " \ +funcsigs is a backport of the `PEP 362`_ function signature features from \ +Python 3.3's `inspect`_ module. The backport is compatible with Python 2.6, \ +2.7 as well as 3.3 and up. 3.2 was supported by version 0.4, but with \ +setuptools and pip no longer supporting 3.2, we cannot make any statement \ +about 3.2 compatibility. \ +" + +HOMEPAGE = "http://funcsigs.readthedocs.org" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6bc91dc8e5793892189fe7481a2d354" + +SRC_URI[md5sum] = "7e583285b1fb8a76305d6d68f4ccc14e" +SRC_URI[sha256sum] = "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" + +inherit pypi setuptools --2.8.3
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel