From patchwork Sun Nov 10 15:59:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 52264 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 D69B4D12D47 for ; Sun, 10 Nov 2024 15:59:43 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web11.38432.1731254379450841537 for ; Sun, 10 Nov 2024 07:59:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jz8VUygC; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: gudni.m.g@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4316cce103dso47119105e9.3 for ; Sun, 10 Nov 2024 07:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731254377; x=1731859177; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oqb3u3mtIXl59Au42fEd34Vaff81vyiPeIFQb6N8R28=; b=jz8VUygC0C8ocq4VfXuuhe8A1G8Z+TBqWlqSekDeXjD0uD2YXId1DpHmxzwAODFPhs jvWKSs1pRFYzfQxYxwRglfQEZwULhwyg73TLZYU4WrXAYfZKvKTS+7e1rgcfx3o5YL72 AT+wpu3gkBMbUw76IjEwEazafCc3h9VX309AyplSBTpEFEjYAQWLcqHxksIqF5TM1Idp oAVRMvfYWUZyFiWSCyHCbYEc6OrLtsahwEdhvF0Ix4c/zNRi/eH3WB4FiMAMJRmqnWqh PfLfrkgbGSslLXVNPV95WODQUQq1xzoOoJPWcM6/FGiYxkXDiowoBaK63NcaofNQmpyT F0zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731254377; x=1731859177; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oqb3u3mtIXl59Au42fEd34Vaff81vyiPeIFQb6N8R28=; b=c86GNggyQfbF+CsmqazQM7XzrOM++XCIyu+jQAasdoP4iyEdWmytyyL21wjohGAq24 g/lcaREfJ0SxPXFScGtNq4slCJNBYm2/s0AWtfHP7FObjj7FF7/CUJJvlzp68GycV+Yx bIgekSiRlPPmYhGgEe8YqJtrA6sJZpP9RXoTobaPYmk2wHzHHV1cX3h8zVo5fdO4oSol atR60xgpTxnF6iWpXSehNReTQVSk7WjmEu9N1sWmtlF8TJViwAWElqXC5658BR4tF74X el5rR1WT152PHUDg2uVIBXmDaKUz9KN9BIs613RKRgtEsmDOSJ1b86fP2Rceh1OPORql YlaQ== X-Gm-Message-State: AOJu0Yw9PZZNN9vQTGQg68F8Srn9PdrPoLWzg8vysDO7GXeHyidd60I1 PzWRKCwFf+QWTbuq/cF32pXEM+C95twqIIJ/p3m1JW3RMz5r7BxyE4qYPA== X-Google-Smtp-Source: AGHT+IG6JG5b2gX8HNxWwcMcW191AyDzrdp8E0Yy+zu7tstQrl5uYbCHlpLxq+T9SDtLS/bbvnfEPw== X-Received: by 2002:a05:6000:1acc:b0:381:eb8a:b81b with SMTP id ffacd0b85a97d-381f1872402mr11210991f8f.33.1731254377043; Sun, 10 Nov 2024 07:59:37 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed9ea587sm10851882f8f.78.2024.11.10.07.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 07:59:36 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-devel@lists.openembedded.org Cc: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= Subject: [meta-python][PATCH 1/2] python3-twisted: remove do_install append Date: Sun, 10 Nov 2024 15:59:28 +0000 Message-ID: <20241110155929.4678-1-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 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 ; Sun, 10 Nov 2024 15:59:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113777 It looks like it doesn't remove any files today. So I propose we simply remove this append to do_install to clean up the recipe Signed-off-by: Guðni Már Gilbert --- .../recipes-devtools/python/python3-twisted_24.10.0.bb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb index 056ddf428..b097cb7fb 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb @@ -10,11 +10,6 @@ SRC_URI[sha256sum] = "02951299672595fea0f70fa2d5f7b5e3d56836157eda68859a6ad6492d inherit pypi python_hatchling -do_install:append() { - # remove some useless files before packaging - find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; -} - PACKAGES =+ "\ ${PN}-zsh \ ${PN}-test \ From patchwork Sun Nov 10 15:59:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 52265 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 C2101D12D48 for ; Sun, 10 Nov 2024 15:59:53 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.web10.38648.1731254388156675712 for ; Sun, 10 Nov 2024 07:59:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VCCkvg1j; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: gudni.m.g@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-37d3e8d923fso2671783f8f.0 for ; Sun, 10 Nov 2024 07:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731254386; x=1731859186; 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=qe/Xb8n2OVrViFERSREpprZcZqJ0sZdFXPj5it4MpCQ=; b=VCCkvg1jv9qZZnSrC01jIKZFSR2Y/bjZVBbYiR0CBYtIgG0ZUhyWtaVjsXZ0pcwh5K 99KVEfrtoQq9kb71fYoofaq8rmsTqrT0W8SySEcDzjiW7er9DWJl3EVJ0tmo3mVblV0s RMjcIyOfUT+k4KrDH7mkoDCQiK3EY+Fnn4XEzNVPitMuUR+QhVPGq4ul+v2dEQRccGBs 8cUIlR+yj+tcVmL8C7mZDnFzUkTpQUX/0OtJITtuPdRYmr+Ne4G+bfLv8V9eWbnYlZiN ON3x1z9gOUKKB8CadxZvtFPeWCdSVCBFcfJVES7ezCsIReUMuHjmeWNbtJx0q72Ch4My gKAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731254386; x=1731859186; 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=qe/Xb8n2OVrViFERSREpprZcZqJ0sZdFXPj5it4MpCQ=; b=IoFro3ti89k2KJIS+f7khRtkv7PgwY2mQL9dm4j0tpmwer7/VLpgbjgLoYYPtQob2c pEh+N4I0AHfsOty/486ZGZyPDh2DyI6WbRYgvP4084/p4PqjfWPTvXK63AXBTXc6DNpx 1kfxkHBzN25xCmm8yZx5mAdLpSlhuFR0YUtPn7x1eiPkSE1Ij54JOYEz6Q5ySPltpAce efKvjPDXqRKlA5NK0ZJ3WXrIvT95f4bOAY9beo2cUDcUll0NCp8W59BnZQBlY6D39Gax jsakndL1RlyR1iY+SKhrI5XISa+q737bW8LWEoQc7+vxBndQYM1koI/occPZ1RnZIKag NNDA== X-Gm-Message-State: AOJu0Yyq5cCU/j4NuY2LBdkitUTtz9dyf/P/NCVMsI2e/pn5vn9/KRP3 6G+1rOGhRIf0/eDRV5KfBQeIwOuNr3j0UqrG827FC44IJ2fRXhkaXFk8tA== X-Google-Smtp-Source: AGHT+IHX14rNCQcESKPkMN/dc6RoWBV1Rsp4SkVKkp1TqX3kE+XPZLg3rG+NhPtNeGuQ+cJt0K4heQ== X-Received: by 2002:a05:6000:1aca:b0:37d:2db5:b50c with SMTP id ffacd0b85a97d-381f1866bc9mr8539173f8f.8.1731254385835; Sun, 10 Nov 2024 07:59:45 -0800 (PST) Received: from localhost.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed9ea587sm10851882f8f.78.2024.11.10.07.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 07:59:45 -0800 (PST) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-devel@lists.openembedded.org Cc: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= Subject: [meta-python][PATCH 2/2] python3-twisted: move appdirs from core package Date: Sun, 10 Nov 2024 15:59:29 +0000 Message-ID: <20241110155929.4678-2-gudni.m.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241110155929.4678-1-gudni.m.g@gmail.com> References: <20241110155929.4678-1-gudni.m.g@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 ; Sun, 10 Nov 2024 15:59:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113778 python3-appdirs is currently only a dependency when python3-twisted-conch is installed. I propose to remove python3-appdirs from python3-twisted-core such that it's not installed in the final image when python3-twisted-conch is not installed. Signed-off-by: Guðni Már Gilbert --- .../recipes-devtools/python/python3-twisted_24.10.0.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb index b097cb7fb..865190fac 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.10.0.bb @@ -42,8 +42,7 @@ RDEPENDS:${PN} = "\ ${PN}-zsh \ " -RDEPENDS:${PN}-core = "python3-appdirs \ - python3-asyncio \ +RDEPENDS:${PN}-core = "python3-asyncio \ python3-attrs \ python3-automat \ python3-constantly \ @@ -57,7 +56,7 @@ RDEPENDS:${PN}-core = "python3-appdirs \ python3-zopeinterface \ " RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" -RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle" +RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-appdirs python3-bcrypt python3-cryptography python3-pickle" RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" RDEPENDS:${PN}-names = "${PN}-core" RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols"