From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CLjKGjMBh2aKkQAA62LTzQ:P1 (envelope-from ) for ; Thu, 04 Jul 2024 20:08:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CLjKGjMBh2aKkQAA62LTzQ (envelope-from ) for ; Thu, 04 Jul 2024 22:08:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=GNyPQ29w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720123699; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VNHtEuHVNtIsVvSpAv0xKuKq0ORiD7G0TKtCdvY0law=; b=VUBAMNsPvxEUEYXyWRsAYx22iD4ycw9L8CqE46T30XDDZK38Duo6a1v9cYmizYoTnMUQYb 8tXl78AE8W2wH25kfiO0IHkSQlUU780pNGwan3Ssg0YEMEvabzDmQ8FWjQ3HPjcIarlJsg V+pRAzal9rJeEj1eEgKvWDoafwcgTNyQSKygjwTMq0F7gB+0pXVAprM2zyGCllz41wFW5c J5Paiyzx7WW9CWcQSRVWxiiUSx/lg/uSuGMLEMT6btViTZ1yo+iyT5mtE4luWvP4yA0HlD lJ2/92KSXXYPaBt2c3+oNBRV9sBvfI/aN87tuXFrGlg2sauAWoIDJxv5T7COKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720123699; a=rsa-sha256; cv=none; b=qSVWL2MrOFMBtrtUnIgm8IZrx1II61+H+PzdKxio9/tiq/S+jUcTmdKWjdciwXLY14eStD 8UrrupKcRKxkLQG4BgYw/18j8HQ8D0ntxWmGdn4nJajziSkMEKs/GoC+cJP8J+1pC3lhj4 uCaXz6BPretChQ6ULcmY/2F7jhSaRADs25/2GahezD7iQay3nBqjWxee6IaThjLClLCL9I o9AkM2RlVnWN9C2MzCwgGCL8SegBXj7VlwQuoI2Az4NCX7tUqh1QlZfaW3jO2uzIExLRKc x/ZtybolnrPCKIjBaX9aIBHLEG8DNW9fmoejT4DjO7YGDybjiQOhJQsgqSkT0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=GNyPQ29w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4FED915A29 for ; Thu, 4 Jul 2024 22:08:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPSkQ-0007ma-1l; Thu, 04 Jul 2024 16:08:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPSkO-0007lD-QZ for guix-patches@gnu.org; Thu, 04 Jul 2024 16:08:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPSkO-0002ob-Hk; Thu, 04 Jul 2024 16:08:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPSkN-00074d-Tr; Thu, 04 Jul 2024 16:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH v3 10/14] gnu: Add python-cle. Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 04 Jul 2024 20:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69074@debbugs.gnu.org Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.172012362827056 (code B ref 69074); Thu, 04 Jul 2024 20:08:03 +0000 Received: (at 69074) by debbugs.gnu.org; 4 Jul 2024 20:07:08 +0000 Received: from localhost ([127.0.0.1]:43105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSjU-00072D-54 for submit@debbugs.gnu.org; Thu, 04 Jul 2024 16:07:08 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:19989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSjO-0006yi-P1; Thu, 04 Jul 2024 16:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=VNHtEuHV NtIsVvSpAv0xKuKq0ORiD7G0TKtCdvY0law=; h=references:in-reply-to:date: subject:to:from; d=soeren-tempel.net; b=GNyPQ29wbFAI+MtYWDEB82MVFkzIRj LnReMz2HhVOOYWV0s5k1K3Ud8cLQEEZKFtUtnFH3yErzz8hqP58jWhXilRMPnGZsR6DWDX TVCaupOjrnzyvLCB3DZK1kUks+rjyUx+pxtg2GR8DLL5H6zSw2xM7ecJN70VnlIgC/ao5k 4= Received: from localhost (dynamic-2a02-3102-49da-001b-e21d-4fb5-a2ea-d7fd.310.pool.telefonica.de [2a02:3102:49da:1b:e21d:4fb5:a2ea:d7fd]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id e31832ac (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Thu, 4 Jul 2024 22:06:51 +0200 (CEST) From: soeren@soeren-tempel.net Date: Thu, 4 Jul 2024 22:05:19 +0200 Message-ID: <2e5839b90f61c94e94884340f5602bf27d7ebea8.1720123523.git.soeren@soeren-tempel.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: <885683d751fc62e227a6d4c6eeea928fed4387c9.1720123523.git.soeren@soeren-tempel.net> References: <885683d751fc62e227a6d4c6eeea928fed4387c9.1720123523.git.soeren@soeren-tempel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4FED915A29 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.29 X-Spam-Score: -4.29 X-TUID: LDJafh0yUm+R From: Sören Tempel * gnu/packages/python-xyz.scm (python-cle): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c1a9b04ec..e256a322e7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33805,6 +33805,32 @@ (define-public python-opcodes and BMI2).") (license license:bsd-2)))) +(define-public python-cle + (package + (name "python-cle") + ;; Must be the same version as python-angr. + (version "9.2.46") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cle" version)) + (sha256 + (base32 "0mswv9gd2p2ws7zfsshqv5ybbj27wkdwakdcknq4vsrx9ry9k4yc")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) + (propagated-inputs (list python-pefile python-pyelftools python-pyvex + python-sortedcontainers)) + (native-inputs (list python-cffi)) + (home-page "https://github.com/angr/cle") + (synopsis "Python loader for binaries and their associated libraries") + (description + "CLE loads binaries and their associated libraries, resolves +imports and provides an abstraction of process memory the same way as if +it was loader by the operating system's loader.") + (license license:bsd-2))) + (define-public python-pyvex (package (name "python-pyvex") @@ -33827,7 +33853,7 @@ (define-public python-pyvex (with-directory-excursion "tests" (invoke "python" "-m" "unittest"))))) - (add-before 'build 'set-cc-native + (add-before 'build 'set-cc (lambda _ (setenv "CC" #$(cc-for-target)) (setenv "CC_NATIVE" "gcc"))))))