From 9536713ef427444eae7fc2e94af05731e46bcc34 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Tue, 5 Apr 2016 13:45:33 +0800 Subject: python-m2crypto: Fix issue with swig 3.0.5 The version 0.22.3 of python-m2crypto fails to work after swig updated to 3.0.5+: AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN' It's fixed since 0.22.4 and we could update it to latest version, but docker-registry depends on the version 0.22.3, so backport the patch to fix the issue with swig 3.0.5. Signed-off-by: Jackie Huang Signed-off-by: Bruce Ashfield --- recipes-devtools/python/python-m2crypto_0.22.3.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-devtools/python/python-m2crypto_0.22.3.bb') diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb index 33254552..95d6eecf 100644 --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb @@ -14,7 +14,9 @@ LICENSE = "BSD" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e" SRCNAME = "M2Crypto" -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz" +SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \ + file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \ +" SRC_URI[md5sum] = "573f21aaac7d5c9549798e72ffcefedd" SRC_URI[sha256sum] = "6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72" -- cgit v1.2.3-54-g00ecf