aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-07-30 18:31:25 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-18 11:52:31 +0200
commit74de7be5a464e184fed64661e2a45f2f6fac58a5 (patch)
tree308ff9543d24fb0734c0f2bc80d399a8236cb5b8 /meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
parent9cc54e10efa5ca70d9980f833a8e5a310e5ad21d (diff)
downloadmeta-openembedded-contrib-74de7be5a464e184fed64661e2a45f2f6fac58a5.tar.gz
python-m2crypto: Error fix for swig >= 3.0.5
After swig upgrade to 3.0.6, build the recipes which depends on python-m2crypto will occur errors like this: "SALT_LEN = m2.PKCS5_SALT_LEN AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'" Reference https://github.com/martinpaljak/M2Crypto/issues/60#issuecomment-75735489 Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
index 67ec9214ad..ff6203f205 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
@@ -7,7 +7,8 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz \
- file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch"
+ file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \
+ file://0001-M2Crypto-Error-fix.patch"
SRC_URI[md5sum] = "f93d8462ff7646397a9f77a2fe602d17"
SRC_URI[sha256sum] = "25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a"