From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +LAZBoROkGbltAAAqHPOHw:P1 (envelope-from ) for ; Thu, 11 Jul 2024 21:28:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +LAZBoROkGbltAAAqHPOHw (envelope-from ) for ; Thu, 11 Jul 2024 23:28:36 +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=ApvkcqUd; 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=1720733316; 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=wFSGJxsTVVdBgvN1aVK9lennaNiX749AjNtd+we0+HM=; b=kqwEJBiJngPZoEW8KI2X/4szSMMtCHJqq+sYQuDYl4X50cgij/rHjT3izZ1LB62rGDhRH5 pcNfK8lnS4VsXIOo01UzIRq/P66Y1hrwXc0CQMXgv1mKBpGGyxMOF5k+tpfOHsfqv031zR /1GNpfTJUermSaKPPhW+32I/2N9N8bRTXZh/3PgHs1EcEwxTy6vC1OfSXXboG7kxOrxvIQ yyxL7zJ7HwjDQh9ZhoaDEQgejIcWfGrs74NBxFv5tDoxPhujvcmzrKzvpVjdEV5EIvTaZH yTitqFY717mXu31vOLCM4zBI9H+wCSU+hn/KOEuSAzi1w52JKrMehFfXD1gp1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720733316; a=rsa-sha256; cv=none; b=d3xOrNJGq79wuHEOUtnsa2tTW39XEVOgQKN+rJBG/cfThZojhWVNlJKhccvxkuC06IbvR/ cvCy/3nvaJN0J6IChT35xNcGOA8V+NxIos+lEAdgcASDp7VK+WoFgw48icQLY/IVtjxPyA Z6zRI+u4VnVvCM5aZfqRd/vM4Q0k9BlHolOue8U2y8zNvie/K5nW5DdmX29OrwS8ippAIQ ApzZKCjTHTIL+zmnpzfBbdIs/Ha6Se3LT1OSP8MmVumJYMy8DygiauCULmZkrs7xQjum05 NHBqMmM8SEPpbGZVATtTFKCCSCY1RRadhWQsKIdlq64GmfvZTJWemD3P1g8dRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=ApvkcqUd; 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 F19D76235D for ; Thu, 11 Jul 2024 23:28:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sS1Ko-00076k-V7; Thu, 11 Jul 2024 17:28:14 -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 1sS1Kl-00074e-13 for guix-patches@gnu.org; Thu, 11 Jul 2024 17:28:11 -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 1sS1Kk-0003aw-Od; Thu, 11 Jul 2024 17:28:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sS1Kd-000402-S2; Thu, 11 Jul 2024 17:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH 06/11] gnu: Add python-claripy. 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, 11 Jul 2024 21:28: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: jgart@dismail.de, 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.172073327415292 (code B ref 69074); Thu, 11 Jul 2024 21:28:03 +0000 Received: (at 69074) by debbugs.gnu.org; 11 Jul 2024 21:27:54 +0000 Received: from localhost ([127.0.0.1]:52711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS1KU-0003yU-69 for submit@debbugs.gnu.org; Thu, 11 Jul 2024 17:27:54 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:29360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS1KJ-0003wh-6O; Thu, 11 Jul 2024 17:27:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=wFSGJxsT VVdBgvN1aVK9lennaNiX749AjNtd+we0+HM=; h=references:in-reply-to:date: subject:cc:to:from; d=soeren-tempel.net; b=ApvkcqUdm+AhYVc39/v3Pwi5AV9 /Z5bSoXdVQt7ypeWt34iUJ49E2aUE6UVm1MXmFvj+SdXyDzlFbivdyA9CHqLnObHsu7cuS etPs+mFeg+ANAqO0xhmDlqFVYLPvpO+cpbpzrp5+W6iOKkMzP8i6yr9VQRyIQdNnscQbFI eeMU= Received: from localhost (dynamic-2a02-3102-49da-001b-5547-c145-a90a-e426.310.pool.telefonica.de [2a02:3102:49da:1b:5547:c145:a90a:e426]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 0760922e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Thu, 11 Jul 2024 23:27:37 +0200 (CEST) From: soeren@soeren-tempel.net Date: Thu, 11 Jul 2024 23:27:17 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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-Spam-Score: -1.30 X-Spam-Score: -1.30 X-Migadu-Queue-Id: F19D76235D X-Migadu-Scanner: mx11.migadu.com X-TUID: BzVeQWtLH1Zr From: Sören Tempel * gnu/packages/python-xyz.scm (python-claripy): New variable. --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index df9f5d742c..dc92d4db08 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33787,6 +33787,46 @@ (define-public python-opcodes and BMI2).") (license license:bsd-2)))) +(define-public python-claripy + (package + (name "python-claripy") + ;; Must be the same version as python-angr. + (version "9.2.46") + (source + (origin + ;; Fetching from Git as pypi release doesn't include all test files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/angr/claripy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nmawpi1596d9plafrp2db36cjsidy2fagkzkja51jwlx2m1ngai")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "setup.cfg" + ;; Relax the z3 version constraint. + ;; See https://github.com/angr/claripy/commit/d1fe2df + (("z3-solver==4.10.2.0") + "")))))) + (build-system pyproject-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "python" "-m" "unittest")))))))) + (propagated-inputs (list python-cachetools python-decorator python-pysmt + z3)) + (home-page "https://github.com/angr/claripy") + (synopsis "Abstraction layer for constraint solvers") + (description + "This Python module provides an abstraction layer for interacting +with constraint solvers. Specifically, it is intended to be used with +SMT solvers and is built on top of the Z3 solver.") + (license license:bsd-2))) + (define-public python-pysmt (package (name "python-pysmt")