From patchwork Tue Apr 1 08:50:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 41124 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E930E27BBE2; Tue, 1 Apr 2025 09:51:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CA7A427BBE9 for ; Tue, 1 Apr 2025 09:51:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzXKt-0000y7-BY; Tue, 01 Apr 2025 04:51:08 -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 1tzXKp-0000xo-44 for guix-patches@gnu.org; Tue, 01 Apr 2025 04:51:03 -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 1tzXKo-00035Y-K3 for guix-patches@gnu.org; Tue, 01 Apr 2025 04:51:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=pu6y+MHp37LIkJojmCbWqpKGOeibet+7IfvFLyfFrQI=; b=hJ9Mak7bqM1S1vXQTQ/3bTlgF4Qy9JUQgvh/VsdfG3fAat1tmKx1pF8+iDsDwS4sB5BRrenRNwRohWUI+MiEbr8eFEpCIMNvE9EExO3llrI6uujYL2Qm/lQ7QMU1r3ZlY7WFOYokVxvC4io6DAu3CmOcmHzyUWygzvHRLFuN6y/gGkPAWHb6FlTFxEJQId7HQqecWnrhSmeKWjhIv4zPMLzzNziyQBPtF5zZgpsnpbcBWHXRbE7hauL923m3kyJZ+QgHHrKYzEtMTer62kiTUqDiE+HfhYJJ34FECsaOQH4CupXmC3+RjGZxp6QOY1ZaX2YudF+3YKq0X2mTnjfG9Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzXKo-0006T4-Ee for guix-patches@gnu.org; Tue, 01 Apr 2025 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76600] [PATCH v2] gnu: Add python-edalize. References: <13b937dce6e3cace3e03ad52992557d8be7b4350.1740604816.git.csantosb@inventati.org> In-Reply-To: <13b937dce6e3cace3e03ad52992557d8be7b4350.1740604816.git.csantosb@inventati.org> Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76600 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76600@debbugs.gnu.org Cc: Cayetano Santos Received: via spool by 76600-submit@debbugs.gnu.org id=B76600.174349743824825 (code B ref 76600); Tue, 01 Apr 2025 08:51:02 +0000 Received: (at 76600) by debbugs.gnu.org; 1 Apr 2025 08:50:38 +0000 Received: from localhost ([127.0.0.1]:45651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzXKQ-0006SK-1R for submit@debbugs.gnu.org; Tue, 01 Apr 2025 04:50:38 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:47865) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzXKN-0006SA-2x for 76600@debbugs.gnu.org; Tue, 01 Apr 2025 04:50:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1743497431; bh=pu6y+MHp37LIkJojmCbWqpKGOeibet+7IfvFLyfFrQI=; h=From:To:Cc:Subject:Date:From; b=UT7W4yGdjB2cRBzzgHOvLmle87DKdteGG7UYdC7hNGh1EdcpBm/F7R4k3jL51D//H JKGGIqWgmKBFsq7iMB/qqCvdxEuqDuralTntZSqLIJWNf9Zdj26LWSrGPF4x/sER3O Bp/YhxDZK3w7QbV2mXRSxbtvVVj8rVQFbnXBGh/I= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZRhXl6mt0zGp3Z; Tue, 1 Apr 2025 08:50:31 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZRhXl5gFLzGp35; Tue, 1 Apr 2025 08:50:31 +0000 (UTC) Date: Tue, 1 Apr 2025 10:50:13 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/electronics.scm (python-edalize): New variable. Change-Id: I993421a9eb20b2124acf28d0a8187d3e9845ae77 --- gnu/packages/electronics.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: a9530d181d02e73896779cebd0687cf9cffb2c82 diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index ce35b19432..6a7f8d4653 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -570,6 +570,39 @@ (define-public uhdm VPI Interface, Elaborator, Serialization, Visitor and Listener.") (license license:asl2.0))) +(define-public python-edalize + (package + (name "python-edalize") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olofk/edalize/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gfysk6wj3mxndyzma604i3y2lkfn1im0bdmzxv5rn4x2nyk68sc")))) + (build-system pyproject-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + ;; Skip erroneous tests + (invoke "pytest" "tests" "-vv" "-k" + (string-append "not test_gatemate " + "and not test_vivado_edif_netlist " + "and not test_xcelium " "and not test_vcs")))))))) + (native-inputs (list python-setuptools python-wheel python-jinja2 + python-pytest)) + (home-page "https:/test_vivado_edif_netlist/github.com/olofk/edalize/") + (synopsis "Python Library for interacting with EDA tools") + (description + "Edalize can create project files for supported tools and run them in +batch or GUI mode.") + (license license:bsd-2))) + (define-public python-vsg (package (name "python-vsg")