diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-08-28 19:46:06 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 10:18:33 +0200 |
| commit | f50e344cffbf0e1513308f0a2c845e21b272f1b5 (patch) | |
| tree | bf04bd06ee0df92545b2aedd21477b76746691ca /meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb | |
| parent | 346d12ef942ef748821b04ab61df89c1ab506866 (diff) | |
| download | meta-openembedded-f50e344cffbf0e1513308f0a2c845e21b272f1b5.tar.gz | |
python-m2crypto: Upgrade to 0.26.0
Use proper LICENCE file for LIC_FILES_CHKSUM
Update homepage to point to gitlab
Fix cross-build arch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb deleted file mode 100644 index 72523bd7f0..0000000000 --- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | SUMMARY = "A Python crypto and SSL toolkit" | ||
| 2 | HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" | ||
| 3 | |||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a60" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35" | ||
| 8 | SRC_URI[sha256sum] = "ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef" | ||
| 9 | |||
| 10 | SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch " | ||
| 11 | |||
| 12 | PYPI_PACKAGE = "M2Crypto" | ||
| 13 | inherit pypi setuptools siteinfo | ||
| 14 | |||
| 15 | DEPENDS += "openssl swig-native" | ||
| 16 | RDEPENDS_${PN} += "python-typing" | ||
| 17 | |||
| 18 | DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" | ||
| 19 | DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}" | ||
| 20 | |||
| 21 | inherit setuptools | ||
| 22 | |||
| 23 | SWIG_FEATURES_x86-64 = "-D__x86_64__" | ||
| 24 | SWIG_FEATURES ?= "" | ||
| 25 | export SWIG_FEATURES | ||
| 26 | |||
| 27 | # Get around a problem with swig, but only if the | ||
| 28 | # multilib header file exists. | ||
| 29 | # | ||
| 30 | do_compile_prepend() { | ||
| 31 | if [ "${SITEINFO_BITS}" = "64" ];then | ||
| 32 | bit="64" | ||
| 33 | else | ||
| 34 | bit="32" | ||
| 35 | fi | ||
| 36 | |||
| 37 | if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then | ||
| 38 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
| 39 | sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" | ||
| 40 | done | ||
| 41 | elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then | ||
| 42 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
| 43 | sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" | ||
| 44 | done | ||
| 45 | fi | ||
| 46 | } | ||
| 47 | |||
| 48 | |||
| 49 | BBCLASSEXTEND = "native" | ||
