From patchwork Tue May 9 19:31:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 98949 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1985907qge; Tue, 9 May 2017 12:32:08 -0700 (PDT) X-Received: by 10.98.57.80 with SMTP id g77mr1732538pfa.111.1494358328280; Tue, 09 May 2017 12:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494358328; cv=none; d=google.com; s=arc-20160816; b=gZ6jsiheZ0zQrYlQk4TsZ9Dop20UYnJeRgStVA7JDN/CgBxCnPns5PCp+LadBcDH0y o7rp6IeUDizQgGwhqi1TSGtPm36ofoO8eGD6vhXdeGccbqtwjssU9gFPI9/uwY2TFnNJ I2H5I8tV5ZbFYV4USGzKE9Dj5iPufjFHOO0p4SqAA5Rsx4RUxYkhJSHD5Ow+UAUSwf3h PGrXlxK8dYjNEpGiwvA8urpZlBCqaMHAsmIDsG0H4qfzDcaqDX5r8+j/HuMYFrbtSRJ1 3o2zu149AnYn1qJXovgLr4oBvYNZwP2xlq/sQUTUlJfGJvWwxyjcYaKFNmxcqfhbb1rJ YUXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=v1pjF+eTyY9ZWa+5t6tUFpl2FomYHwbR9nVp2fx2Zgo=; b=e9JGyEMl8cTtxQ/gs3MazF1fBxTVbivO80GiqYHBcG4sJDFICY1QfJ5rVAO0wepI4A qWjinjTnCDXDsvp1B4Rj8UHGJKiciUB80toHwgFug+jSzqOOi5k7kWFvlDzyAPMw3Ock EPuTZfxrKQDUnkKwya8TegLjimM7O+L5ZzN/SG9ypg/UUfMFlEx3WiNibLqnMDQ8fxY4 944wyST8GofoKARe5Ujyjg1dp0S4TSh9yFPBzu/h3tCJqq/sWC9pNu1vev5srWJ77+5G ersVkrZiXtuEARKBrO2uIMDn/yqcVCfCQnp0yyHE74WHt/WO0fdmPdtDsPSO84CmXCkJ JRKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h86si738133pfd.291.2017.05.09.12.32.07; Tue, 09 May 2017 12:32:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0A46B60017; Tue, 9 May 2017 19:31:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id DCCC460017 for ; Tue, 9 May 2017 19:31:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 6284A208E0; Tue, 9 May 2017 19:31:57 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xtvG2W5k6Mde; Tue, 9 May 2017 19:31:57 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 3EAAD20873; Tue, 9 May 2017 19:31:56 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id B77C31624B1; Tue, 9 May 2017 15:31:55 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Tue, 9 May 2017 15:31:54 -0400 Message-Id: <1494358314-53536-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Cc: Denys Dmytriyenko Subject: [OE-core] [PATCH] python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Denys Dmytriyenko This resolves a conflict when both python-nose and python3-nose are pulled into an image and try to install ${bindir}/nosetests binary. This matches with how other distros are solving this problem, e.g. Debian: https://packages.debian.org/jessie/all/python3-nose/filelist Also, other packages like python3-setuptools are already doing the same with their binaries. Signed-off-by: Denys Dmytriyenko --- meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb b/meta/recipes-devtools/python/python3-nose_1.3.7.bb index 99bba44..1e2ff74 100644 --- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb +++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb @@ -17,6 +17,10 @@ S = "${WORKDIR}/nose-${PV}" inherit setuptools3 +do_install_append() { + mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3 +} + RDEPENDS_${PN}_class-target = "\ python3-unittest \ "