Message ID | 20250103095349.593992-1-yi.zhao@windriver.com |
---|---|
State | New |
Headers | show
Return-Path: <yi.zhao@eng.windriver.com> 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 54877E77188 for <webhook@archiver.kernel.org>; Fri, 3 Jan 2025 09:54:25 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web11.27368.1735898055409394085 for <yocto-patches@lists.yoctoproject.org>; Fri, 03 Jan 2025 01:54:15 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=30983b852f=yi.zhao@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5038bQhL006790; Fri, 3 Jan 2025 01:54:14 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2170.outbound.protection.outlook.com [104.47.58.170]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43tdg7cx1q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jan 2025 01:54:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HQM363LfR2bDu35zC3Tke91YslUwdVxVD66GI57l6F/egm0JQQr69faQ74N3Dupzj8dwANF8rStzW0VFtcv3EQQ3+rjMm18RqDv9nxKBlW7X4uP7QTzSj8d4gUlwl+7uW8wWj+DSw+9NbzvoZ9zejN+CLNgO/cLdF2+M4Z3u5XKNT6BiJxGxc/MWw6hBfm0JAGsXrPfj9faGoLknU9aYtSC6CAFKlKPS3OM7A82mgAbfILpYNPcg3Vp3110oNe+bDmWlH69OGFjVUw8BE1gQhQa6Vsx0w4L5Aons3R+c4xrbJ54HE2ISkJKi8BAY+rv5N3EuZjK2WXkbEBWWDZ7aPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8Rgvdsq2YOAmi2yPx+xoZDqIVGTY6KdXHHuAjtxPhSY=; b=j9gIvbznl/OciYLeXB5/gaSkUH2HnRgHVoMVwHiPeT9BppkCmYjajQAfI9uVrRVbc0rEZp/tW7G7qqmYvtDpYJABeupaRV9m1g8tXLwSza0vPbhV3SAaMtKw0Hn1f1owcwjWYLOEk0iSD7KZJ4aDs/zhAKCImxD1LPI1XWDyY4utq7TsBD0aGUQXxTshrpwK+xFaug/iXmbSJ6g1eiSWfto4hzyT+CnHCX666qWwJfbxZkcrykcWhgJlKO3WE/odlEC7NT7BQXDxzMoBohcqwL42wRw9WcpTim0l9AhoPezMFAs0dT/Du4r1w6XRNjI9EojAg4SuYCM+g+5b8ZZq4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by SA1PR11MB6918.namprd11.prod.outlook.com (2603:10b6:806:2bf::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.12; Fri, 3 Jan 2025 09:54:07 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.011; Fri, 3 Jan 2025 09:54:07 +0000 From: Yi Zhao <yi.zhao@windriver.com> To: yocto-patches@lists.yoctoproject.org, joe@deserted.net, joe.macdonald@siemens.com Subject: [meta-selinux][PATCH] setools: inherit cython class Date: Fri, 3 Jan 2025 17:53:49 +0800 Message-Id: <20250103095349.593992-1-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TY2PR02CA0011.apcprd02.prod.outlook.com (2603:1096:404:56::23) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|SA1PR11MB6918:EE_ X-MS-Office365-Filtering-Correlation-Id: cd59ec26-bbab-447c-aecf-08dd2bdc9043 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: Wvvn8TXKvEZfI537d3plzp2YJwT1+2s1Be5nke1BVAxhDr6ugWBeoEws5XKbsma1CJseJU/jkzyQViI1Z/MuUGdA/QWU6yY5RwPQbHIo9nuDKQ3Qsp+eUriZOopQBQYPEi5ZT6RYLWqu4hbBzoFKR6Bnu+kT4Pft+A7sOP+pBMdfWZmowhw3UocXIqaTXs7sf6yX4WBhxPlBTmEZVCnRsohyEpsoSbUuz6U2XhAgA4rCx5QBcyWKojnBCYZHq+Ebj3DatyJahYqh8BwI538V9/GA/TmAeCM7bhZLZO2TBK04FuSAutCuDIRhEJ0uZfHRrG3JdqOv8DmXu4Y09SpGCFjfs5ERQ1DsKMzZeqgAWTxA6H8obs5HJbaD4xVs0oM6EcvBp+GztDUrMWgNTL+ZeE7houCToNoAHHDqMSWfsnVN8E7K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en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB6399.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pazFLxZgBW9tG2/UaqrVBC4olB51IMfkN8kyJqBGmAElb6PPBQ09bVdCnO51tkONA9l79WIXHH38TuFzkkk9MM5cCFNuX31x7izw73Ck5WY0gvCZ/fz+5EqJ434TzQy/txFRXP6SZ59/ww+vKhrA5N0BYEqaGHZ/Clx7baHeJZeEp7S86N/rcvR+pQxI0D4ekT78KLhmOT+aVf0tGhqaPk24WWX48rJZSSvt1xPQ6UK5q9mg0k7K1w+WhW+pkTBjXm75wFQKQ3w5CNgD8EnAL5ysD6VXdOAb+q0vb7zdFQ0rW5bS77XRXlUDGqbkut1WEfNle+Om55xb/QoB+Wi2M9DX/LjU2nD2tZHPG3UAL7bfZev2BCX3Sezd84HbDfqkg76pQiHtinHWoPTfYdvsvHk7+fdUDWneHlhrPCtm/9gC8csKopkyR2mmqw9z0pl2qGxBePvMSiosE75614tKNp9DT6daYIeg37/F+s5i5aQu6TDt8AtvEc5d3uRwwOWRzyDFENuxyoB2ludedh3tgbJIbGV10+eZyY0SVnwKvelZDQ7GzVZumVwfRAnAnLQ6+iXlVFgmIP+vSbu98babUGUOs4Z7596k1NjIq8/dt5aJfvm90yGTH9/B8PH4W6le23fGQx32/qIrPRTnRrDeQ/JrA/XGjVcVEyqrDGJfVLnDc2rb+eca9Tq4aHmVkWGAeNSQLuYVIwuYDEaNKEdp/Pqbpe6yJI5WwXERMqvsPShk1Zn1ZlIHUAmh7e9N2dAaGBdh624nGFI07ECtpiu1w1yG9rFOVdv+s589N3w/DoNSgEmhRIzt/AvAoWBiYQCDIwUnAtdPAtJcOQhPQ7Jy0iQGSISXFgPQVE+53rdK4vFsvEpJS1f3nYvbVoUcpDReNl86/Iyznab1LraEiHg+aH83xVzTGfEzTD8nYyUC7KogAEARQxtF+tnHbjYyBIqoNu6ZLM689WGcOnBCHvompB5ywjqzyeICBpaeg3/bILs+cwHatGjcpbOXofLpt4lkAXfDMHFMhTWG4yiNFud3AsoDPn8OvhgPc3hdW4htv+umURCsLZXBWhLlQyTnhUD1pnTxP74d4uknyjP/X+5iubgn15GCs7MlPOW/AOKiHWn7up7vXJm5TgJsc0s7RbG+lztJvNHsIZsNkQrX4Jk8Ju/LZVzBnxFicdH3ym1U/COUi2OQtCaPwASsWICkkkp6yFFm4fABe4a4RKlv3YIMF+csGI6t+pY9stSGgiA/BJEPe+8EhSOgTVZGglryGFOT1ZVEYse4GxRHPQvLcdSCxNO8pus1B8Ck52SUrl6zlHjSii8C/61njFjLIuTpeX9m5fhB+iDCmm8p4GnCAsLdoibZCwYkoSWhEI/EkuxWvq0+ImkLDNQAMu5e5e1EO/7gra40IBzSpaC+mB9a4cuCt0HywGcp8lMF42FXw5+40BcPHueqlv+VYjwlCmfuJYtikKHNvIQhCHQFyrUe34zJwY5HgAXRCBAQH412M8O3xVzLfV2xYlD9HHkuL+XFK7hAWBSraS81BkkdTYaR6nVVafx6wJ8/i6ArL6pub1Yl5CWNb/tVocq+5N1xXiM4L3KC X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd59ec26-bbab-447c-aecf-08dd2bdc9043 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2025 09:54:07.2218 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KOB6yah6v77ROglmOvlJI9LFgC+vtwbiDdd4HvfkNlxWgCbyT9Rt3Ytrc010kwT8XIAQ3iqnr9NYFXzF5XpEjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6918 X-Proofpoint-ORIG-GUID: TCuG4Nc0AGImMOozTXGzlwEzbUxyiBUR X-Authority-Analysis: v=2.4 cv=AokU3P9P c=1 sm=1 tr=0 ts=6777b3c5 cx=c_pps a=sGbpJkUcFVeWJOR+0qTsNQ==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=hTR_DVrNJsjELbYIYI4A:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: TCuG4Nc0AGImMOozTXGzlwEzbUxyiBUR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 priorityscore=1501 phishscore=0 bulkscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=666 suspectscore=0 impostorscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501030086 List-Id: <yocto-patches.lists.yoctoproject.org> 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 <yocto-patches@lists.yoctoproject.org>; Fri, 03 Jan 2025 09:54:25 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/964 |
Series |
[meta-selinux] setools: inherit cython class
|
expand
|
diff --git a/recipes-security/setools/setools_4.5.1.bb b/recipes-security/setools/setools_4.5.1.bb index 9b6745e..723eeb0 100644 --- a/recipes-security/setools/setools_4.5.1.bb +++ b/recipes-security/setools/setools_4.5.1.bb @@ -16,17 +16,13 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \ S = "${WORKDIR}/git" -DEPENDS = "python3-cython-native libsepol libselinux" +DEPENDS = "libsepol libselinux" RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" RPROVIDES:${PN} = "${PN}-console" -inherit python_setuptools_build_meta - -do_install:prepend() { - sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c -} +inherit python_setuptools_build_meta cython do_install:append() { # Need PyQt6 support, disable gui tools
Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> --- recipes-security/setools/setools_4.5.1.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)