From patchwork Sat Aug 24 17:12:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 48170 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A440C5472D for ; Sat, 24 Aug 2024 17:12:57 +0000 (UTC) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web11.16960.1724519571386014065 for ; Sat, 24 Aug 2024 10:12:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jD5JiHOO; spf=pass (domain: gmail.com, ip: 209.85.215.169, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7cb3db0932cso2227468a12.1 for ; Sat, 24 Aug 2024 10:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724519570; x=1725124370; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=l4ijIYU8STmzhI32gZj0a1IU1ao7uiQ42C4ZvyOtYfM=; b=jD5JiHOO76YSmo2Hw9fQycqMVUK+cS5jTtKRBKEmdYHWM6Z/NK4xhZmjEBdSMLBPEy raR/NHHScacuxrxE8b4Nn30lxguo6u1ytTqlpbFyACijugSkNhA1RQ/GeRpYUUVaBgs5 0/IWl/sMSKXy7n3UFgq1qXs2vFU9D3F4Ud81BD597ZQ/V0lENXAMJ6KgQ1wiS9p2VsYO w3sHosAR1q+OvcXZCdcd49jwE4GX6XQIgfDSzQ+krzjcHah+eRhfKcb6SWgTL2gVxH/z CTsivAu8scU2BLwT821i73e0HzVqbB5rDClCWfEfEWXjJAuZg3hLLev/D1sbL2EZq2+4 aoXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724519570; x=1725124370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l4ijIYU8STmzhI32gZj0a1IU1ao7uiQ42C4ZvyOtYfM=; b=mSMqZjSCV/XVrTqxDkqGdI+uQmqkFGT9uWhY35no4MemRhDF964vSB9tOfsp5WoQQ+ Nfni63Y1zg49gzuO3eQjxth3ykBp0Hqb3Df91SVeS7JIStsZc75dOrwaRs9NaWys9GHO wM/kcJVm0sQqecNfuLiaDEAU9zm+BQSsjQ7zNNjIye5dc4SRNYr29EokYnMKJPpevF8b D3Oxja/IZBUZ2ed6OEetXQoJViFmxyItBX8AXPs+XWcnzD72e5UcmMm0qzwklWQYXNRT o9e1tNogJjKEsPQFggq/nxDpL2LW/JegkfHXVTnamrM1tDdVfoa6qShqNc0aqklZDo0r hRWg== X-Gm-Message-State: AOJu0Yzdxao4l1kx0cHXA3B7TgVOu7EZhUZcjpCcwYzT6Tw6r+GgIh+b 701aWaAF9cT0yapAeVfV7vEWI0B0RPChks8LZs5/WurIrlVCOnPQ675eFw== X-Google-Smtp-Source: AGHT+IHeJngQGMylm8qz4NsvSaWx2YgK3CwkxbfMhG8NAA8sfljjs/GDrCohI8Gqoc2R2XuT06jFPA== X-Received: by 2002:a17:903:1c6:b0:202:100f:7b9b with SMTP id d9443c01a7336-2039e4ca62amr72184895ad.35.1724519570410; Sat, 24 Aug 2024 10:12:50 -0700 (PDT) Received: from apollo.localdomain ([2601:646:9d80:4380::77e7]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2038560dfd1sm44250405ad.206.2024.08.24.10.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2024 10:12:49 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 2/2] python3-pycocotools: Remove absolute paths from comments Date: Sat, 24 Aug 2024 10:12:46 -0700 Message-ID: <20240824171246.1359812-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240824171246.1359812-1-raj.khem@gmail.com> References: <20240824171246.1359812-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 24 Aug 2024 17:12:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/111920 _mask.c is generated by cython and encodes sourcepaths into comments which are absolute. Edit them out. Fixes buildpaths QA errors Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pycocotools_2.0.8.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb index 7226f0fb81..4d4251316c 100644 --- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb @@ -11,3 +11,7 @@ SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" + +do_compile:append() { + sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c +}