[oe-commits] [meta-openembedded] 03/09: python-m2crypto: update recipe to use the pypi class

git at git.openembedded.org git at git.openembedded.org
Mon Jul 11 13:18:21 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 1bef83379d62a636ccb3c179ae75e3508a9a44cf
Author: Derek Straka <derek at asterius.io>
AuthorDate: Thu Jun 23 12:03:01 2016 -0400

    python-m2crypto: update recipe to use the pypi class
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 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
index f6f0e1f..73d8bb1 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list