diff options
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 | 30 |
1 files changed, 30 insertions, 0 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 new file mode 100644 index 0000000000..af8ca09545 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 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 | SRCNAME = "M2Crypto" | ||
| 8 | SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz" | ||
| 9 | |||
| 10 | SRC_URI[md5sum] = "89557730e245294a6cab06de8ad4fb42" | ||
| 11 | SRC_URI[sha256sum] = "1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15a9567f" | ||
| 12 | |||
| 13 | SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch " | ||
| 14 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 16 | |||
| 17 | inherit setuptools | ||
| 18 | |||
| 19 | DEPENDS += "openssl swig-native" | ||
| 20 | |||
| 21 | DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" | ||
| 22 | DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}" | ||
| 23 | |||
| 24 | inherit setuptools | ||
| 25 | |||
| 26 | SWIG_FEATURES_x86-64 = "-D__x86_64__" | ||
| 27 | SWIG_FEATURES ?= "" | ||
| 28 | export SWIG_FEATURES | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native" | ||
