diff options
| author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2017-01-17 14:32:26 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-01-25 15:59:59 +0100 |
| commit | df522c53cecf3b0576e1e2c3ef21c164f5740165 (patch) | |
| tree | d3234db557a142219c7b99d407f280fd93d7040a /meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | |
| parent | 8db2f21a8325abe2398f912b055e09614d8a9501 (diff) | |
| download | meta-openembedded-df522c53cecf3b0576e1e2c3ef21c164f5740165.tar.gz | |
python-m2crypto: 0.23.0 -> 0.25.1
Upgrade python-m2crypto from 0.23.0 to 0.25.1.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb deleted file mode 100644 index ab665d4798..0000000000 --- a/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb +++ /dev/null | |||
| @@ -1,48 +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=68f7880de949412b2ea248932d97ed54" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "89557730e245294a6cab06de8ad4fb42" | ||
| 8 | SRC_URI[sha256sum] = "1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15a9567f" | ||
| 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 | |||
| 17 | DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" | ||
| 18 | DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}" | ||
| 19 | |||
| 20 | inherit setuptools | ||
| 21 | |||
| 22 | SWIG_FEATURES_x86-64 = "-D__x86_64__" | ||
| 23 | SWIG_FEATURES ?= "" | ||
| 24 | export SWIG_FEATURES | ||
| 25 | |||
| 26 | # Get around a problem with swig, but only if the | ||
| 27 | # multilib header file exists. | ||
| 28 | # | ||
| 29 | do_compile_prepend() { | ||
| 30 | if [ "${SITEINFO_BITS}" = "64" ];then | ||
| 31 | bit="64" | ||
| 32 | else | ||
| 33 | bit="32" | ||
| 34 | fi | ||
| 35 | |||
| 36 | if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then | ||
| 37 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
| 38 | sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" | ||
| 39 | done | ||
| 40 | elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then | ||
| 41 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
| 42 | sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" | ||
| 43 | done | ||
| 44 | fi | ||
| 45 | } | ||
| 46 | |||
| 47 | |||
| 48 | BBCLASSEXTEND = "native" | ||
