From patchwork Wed Nov 27 14:00:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 180300 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6157031ilf; Wed, 27 Nov 2019 06:00:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwjxvWXLVdMgbVS+VEbN+gbmwDl2AnFKd/rgb/WQWMC7LSERGX66sJzBlqRjmdsDk2OYxMp X-Received: by 2002:a17:902:9f91:: with SMTP id g17mr4199949plq.286.1574863246067; Wed, 27 Nov 2019 06:00:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574863246; cv=none; d=google.com; s=arc-20160816; b=QnTAI6ZpaAMhyf/I5kOY6YR6h22UgeqU6HDTTsXLDnYnYInkH7MWhnv8fTg1xwsEAM G6eD4RUqZrS1ykg5zlURbo0T5Phq0Uc912HLbQfuavTdbgr3bIXFxzYum//d40Jh1U4A /bKqTMotArWeXFItaGUssx3wqamXNC+fwrZAhdsb3WplK4okodWeDBiNQ26VgA0ZD6iI b3KU5EQu+9sEBmMiUXBWyx4+kHFj1QEg6Y1g+nW+Cp07CgpoC4T0C5ABnAq+rNdBQjsz nDYJ9G9csIri4NGdlani7fBikySo2Yqz5xHDkxeTHhzvG7/Z8c9Y4khEDjanKYhpdEXy zy8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=TDBylWIbK4InEtIcuYeiuAtTJvcla8JgmZ4tbx57zIs=; b=oNvQp4S+3scqUEadziGJEADsAM+oAyGFctv9ZIARNR1wvo4sMvlW1Y8+IGm0cUSlaE eeR02fLmpxqQUZzSHRgx3maFcVkCUiV9srrMNulNbnJDYPgW+3Ow2F9eH9+96FI7zKlq BH76t/oF+dK6OX+Z4/fIGsVI7PEa9P1VgqDB9r3viDR4TeX/qFqBPgfzVRGROIOnc0Q3 xdvmWk2fF9ClLoC0MiMweKblxWQknTnAo59yjXsJWCbUhGnMdG44ozWSI12+mcMo4EH+ GNvxqYhZrbabbEOW0bgH5lmXQTH9AIWegyqukv4mE8xoCQ33v125iwByn5PsITlrFYk6 aFEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=cGRWYTiH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s23si15512274pgh.280.2019.11.27.06.00.45; Wed, 27 Nov 2019 06:00:46 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=cGRWYTiH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BA7CA7FC18; Wed, 27 Nov 2019 14:00:40 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id A0BE67FC0C for ; Wed, 27 Nov 2019 14:00:37 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n1so26820427wra.10 for ; Wed, 27 Nov 2019 06:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=5cJjUG1a3bmsMm5Oa0wAoGpp01I4V5fHIofG00dya7k=; b=cGRWYTiHi3zki4G32yKnJ/tkfeWVMtAoQ8POQDTQ+OuTAof1FmfmaEbLiKAUl20b78 SUnJxA+Kzw19xwkAVozLOduMlQnJG6UgEeMulon0nZD8W7j2ndM2oFmYxiWwo3qVaIQB dKEOsaSaHAz7rgWoWuij92wOfC1vQy+poS5lTqw8fwPHBnGydb3E4kAojViWWcd4qAZN Z8zkeOOBhTBMv1n28jIsaamnB/enUkOEBQEUcrdlg/sROx7RSBSrK6X4W0Bo/ovVonlQ wm3qI6Gfl3oUFBXCts0cYGEfXRarIMaidFq2THZoLHCInSaY+p2a8t2w5DqqGdXmuMTC vCfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5cJjUG1a3bmsMm5Oa0wAoGpp01I4V5fHIofG00dya7k=; b=OyMxwnwLAxrUO5D4JTQG+l1TBOU/ve2RlFOJ2Cb4EqizKJ17fIpU8Bw6Q1QnYNzT30 A/cUeH/D1Pwbs1AK7dgyd5D8zeOZ3G5ahCvy2MvdyPwIQrl0wSd/xgrbWQoFafz7RQ31 5FcnaSiiLtIL0tt7ujhcdazNd4HdSApjg1V7nzUjW+F4AuuPCkbWc3A4wtEvJ/ACOQ4+ iZHGxyrajVi6C6iPgPaonqgZ7ujHJcR/i/CfspuraQR+VxtEGrs5cNFsLCPwYDCJ+bWy tzclQe8xZ3Qq6TZURuMFPD+UX3b/2sP7S3FwYN8rFHYedrxCe+94149VMUKr2y6nS4G/ DKGA== X-Gm-Message-State: APjAAAVxwj2C4CDewqUfzN/uItimmeN2RM4rx2v1WX1j5+AhjukUydaO FtLmevE0knITSm24dj5bZj7leaKRAF4= X-Received: by 2002:adf:f709:: with SMTP id r9mr41456456wrp.8.1574863237945; Wed, 27 Nov 2019 06:00:37 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id o1sm19372284wrs.50.2019.11.27.06.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 06:00:37 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 27 Nov 2019 14:00:27 +0000 Message-Id: <20191127140030.7838-3-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191127140030.7838-1-ross.burton@intel.com> References: <20191127140030.7838-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/6] python: package .pyo files too 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org The manifest parsing code was only adding .py and .pyc paths to FILES, generalise the latter to .py? so it catches .pyo files too. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python_2.7.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python/python_2.7.17.bb b/meta/recipes-devtools/python/python_2.7.17.bb index ef5d5644812..5807f63db44 100644 --- a/meta/recipes-devtools/python/python_2.7.17.bb +++ b/meta/recipes-devtools/python/python_2.7.17.bb @@ -218,7 +218,7 @@ python(){ d.appendVar('FILES_' + pypackage, ' ' + value) if include_pycs == '1': if value.endswith('.py'): - d.appendVar('FILES_' + pypackage, ' ' + value + 'c') + d.appendVar('FILES_' + pypackage, ' ' + value + '?') for value in python_manifest[key]['rdepends']: # Make it work with or without $PN