From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com [209.85.160.174]) by mail.openembedded.org (Postfix) with ESMTP id C48586607F for ; Wed, 2 Jul 2014 01:58:58 +0000 (UTC) Received: by mail-yk0-f174.google.com with SMTP id 19so6112311ykq.5 for ; Tue, 01 Jul 2014 18:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=3oute9/ZYdR2+VtSHaVpHeHjWbUHq/j3tQVNyhfrkto=; b=zxA/GVjYxgAnchpr7m5n1NRUeXc8I/CqsppNYOqXT+/jvjY2/ZEd34o3DJEwjcpHSG lO/2HJkzjLpNOw2RcKNi2fkFB+BrZl25HJFCyBiVA8yHs+m7xKnvJ94zZBjfiW1Taw9q Jv8dP2P4rK8zKhd0JeP0CheJt80bTSOsCKdCaRaztnAoctcYB+aXwrEZMVprpfP7VBAe QtB4szLUcq3qt/pPorA+Bom4Vi7YYnD41YokeV12U5y3/H6p/+vXiFT+vzwHHWNZ6WdZ gs1roKjVYBzgJQ+geqdVe+HoRMHBVANw/557BqFTmJ7jOiWTo0UxiC0C6Y783farSb5m EK8w== X-Received: by 10.236.151.35 with SMTP id a23mr27718912yhk.110.1404266339648; Tue, 01 Jul 2014 18:58:59 -0700 (PDT) Received: from localhost.localdomain ([201.53.220.248]) by mx.google.com with ESMTPSA id d71sm28106373yho.24.2014.07.01.18.58.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Jul 2014 18:58:59 -0700 (PDT) From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Ferreira=20de=20Freitas?= To: openembedded-core@lists.openembedded.org Date: Tue, 1 Jul 2014 22:58:47 -0300 Message-Id: <1404266329-13524-2-git-send-email-joaohf@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404266329-13524-1-git-send-email-joaohf@gmail.com> References: <1404266329-13524-1-git-send-email-joaohf@gmail.com> MIME-Version: 1.0 Cc: paul.eggleton@linux.intel.com Subject: [PATCH 1/2] python-distribute: add nativesdk to BBCLASSEXTEND X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 01:58:59 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, python tools that need python-distribute doesn't install in SDK generated by OE. Signed-off-by: João Henrique Ferreira de Freitas --- meta/recipes-devtools/python/python-distribute_0.6.32.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb b/meta/recipes-devtools/python/python-distribute_0.6.32.bb index 58bb8b4..d576a4c 100644 --- a/meta/recipes-devtools/python/python-distribute_0.6.32.bb +++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb @@ -39,6 +39,11 @@ do_install_append() { echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth } +do_install_append_class-nativesdk() { + sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${PYTHON_SITEPACKAGES_DIR}/distribute-${PV}-py${PYTHON_BASEVERSION}.egg/setuptools/tests/test_resources.py + sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${bindir}/easy_install +} + RDEPENDS_${PN} = "\ python-distutils \ python-compression \ @@ -46,4 +51,4 @@ RDEPENDS_${PN} = "\ RPROVIDES_${PN} += "python-setuptools" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" -- 1.9.1