From 1bef83379d62a636ccb3c179ae75e3508a9a44cf Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 23 Jun 2016 12:03:01 -0400 Subject: python-m2crypto: update recipe to use the pypi class Signed-off-by: Derek Straka Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'meta-python') 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 index f6f0e1f0e8..73d8bb1278 100644 --- a/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb @@ -4,17 +4,13 @@ HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=68f7880de949412b2ea248932d97ed54" -SRCNAME = "M2Crypto" -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz" - SRC_URI[md5sum] = "89557730e245294a6cab06de8ad4fb42" SRC_URI[sha256sum] = "1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15a9567f" SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch " -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit setuptools +PYPI_PACKAGE = "M2Crypto" +inherit pypi setuptools DEPENDS += "openssl swig-native" -- cgit v1.2.3-54-g00ecf