From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uC7AIaEyymV5uwAA62LTzQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 16:00:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uC7AIaEyymV5uwAA62LTzQ (envelope-from ) for ; Mon, 12 Feb 2024 16:00:49 +0100 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=E5FSzXil; 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-Seal: i=1; s=key1; d=yhetil.org; t=1707750049; a=rsa-sha256; cv=none; b=RQiB4jPV37Xjyf6HHuAt9H5+qrcelT4naVYTw9s9cU94ELk/2jWD4/sLTK5p0keFowlpwf GD3Aj7ULznEitz0QEI5Klt3eQZCVndzdACMTBPGFdtgFU208XWEEpXDnZ/8eNAQL9/5Q5V PLTw1Kv+agmo9gnxgDSX6hKzOe/2hheRCbk0YJiIw1XiI2cQ7F/a1Pa3KSaIJnQx0FSeTk 8TBTewFIhG6Ub7RswiQ0YO+IrLmocjpxJxaZ77SUlq2BunaIyKbxueA7caKp0klp/EHDbM HqkHJ8w3wIC0SHOaaOvuwVTq4+idjvVZfeHvGjT5fUjr6BGus25zSK2ZDMAhAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=E5FSzXil; 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=1707750049; 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=ELV3fieXVbbsTpw5Mo0zngxUBIKaGI5Ixm6UN6iB8So=; b=AAFtSZt3DZNkZO1Mho7ZDEhUb0HcB09Zh5cGgaujs/ewYXFgjL+SsjmcsrBMIttCgUue+u JBONUwCyOm4LClvdoAyrlLW1QF44JL68EoTbScxLvS+mRfRyMvOxw7rm4XbBzZ/yCW9VE+ +YZ3TOw5oBs6lMDBin/lm5JjspAP6LSKM1HVheZMxOWcrUdcBVpfh1dAR5QSOlJo5X3wQf RAtuey3ejMqVO0OzDuMGvbMMadknK3Mha12u5TXfSzJHLRl47tD26oxdALz2Q8vzGtDNr4 F42KvtMxEJQhOyp4sD0sNS4o68HtMRgp8nqEWoIXh4+rf1JoB7SQlXqkvVTd0w== 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 4372D6ECBF for ; Mon, 12 Feb 2024 16:00:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZXn2-00071P-4I; Mon, 12 Feb 2024 10:00:12 -0500 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 1rZXmx-0006zL-T5 for guix-patches@gnu.org; Mon, 12 Feb 2024 10:00:09 -0500 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 1rZXmx-00044q-Gm; Mon, 12 Feb 2024 10:00:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZXmy-0006xy-JB; Mon, 12 Feb 2024 10:00:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH] 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, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 15:00:08 +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 , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.170774996226140 (code B ref 69074); Mon, 12 Feb 2024 15:00:08 +0000 Received: (at 69074) by debbugs.gnu.org; 12 Feb 2024 14:59:22 +0000 Received: from localhost ([127.0.0.1]:35389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXmC-0006n9-Hn for submit@debbugs.gnu.org; Mon, 12 Feb 2024 09:59:21 -0500 Received: from magnesium.8pit.net ([2001:19f0:6c01:4ae:5400:ff:fe66:af9d]:36117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXm4-0006lY-47; Mon, 12 Feb 2024 09:59:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=meJeKETcFw 26/vBb5x0nwn03sc8avJimzZlRcLIYjzA=; h=references:in-reply-to:date: subject:to:from; d=soeren-tempel.net; b=E5FSzXilCh3b4RV9vDtABilR6M3epq XGvdfrlRynHm5e9WQjhZMYxO8Uac2sjTFxa5B4sHt0nOyuqQp7Ppy5CVu70YjRdXCDwnfy dY/SZhqcxqWDaRYFJG6N6gJeEkViy/C/N2eJZ+nXMulXL0pn1Lq8I6YmzKTcZb2DpQ471P 4= Received: from localhost (dynamic-2a02-3102-49da-001b-6371-147f-665b-ad6e.310.pool.telefonica.de [2a02:3102:49da:1b:6371:147f:665b:ad6e]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id f142ad52 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Mon, 12 Feb 2024 15:58:49 +0100 (CET) From: soeren@soeren-tempel.net Date: Mon, 12 Feb 2024 15:58:22 +0100 Message-ID: X-Mailer: git-send-email 2.43.1 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-Scanner: mx10.migadu.com X-Spam-Score: -4.58 X-Migadu-Queue-Id: 4372D6ECBF X-Migadu-Spam-Score: -4.58 X-TUID: P2XytdBWidAN From: Sören Tempel * gnu/packages/python-xyz.scm (python-claripy): New variable. --- gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 055f7ea553..6c73948dd8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32303,6 +32303,44 @@ (define-public python-opcodes and BMI2).") (license license:bsd-2)))) +(define-public python-claripy + (package + (name "python-claripy") + (version "9.2.46") + (source + (origin + (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")