From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 16:21:03 2025 Received: (at submit) by debbugs.gnu.org; 26 Feb 2025 21:21:03 +0000 Received: from localhost ([127.0.0.1]:55773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnOpy-0001D7-NE for submit@debbugs.gnu.org; Wed, 26 Feb 2025 16:21:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47752) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnOpw-0001CF-16 for submit@debbugs.gnu.org; Wed, 26 Feb 2025 16:21:00 -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 1tnOpn-0002jO-Ls for guix-patches@gnu.org; Wed, 26 Feb 2025 16:20:52 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnOpk-0005M9-Jo for guix-patches@gnu.org; Wed, 26 Feb 2025 16:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1740604843; bh=CovM0JSG4Az1b6SVqv4lanxyC3P5sS+EaVcWLs7hne8=; h=From:To:Cc:Subject:Date:From; b=q1uJ8YZ5uogrrZaTclTmf4KZ+ap347MpHibcI9lSY1h7Uij/ltrgYuxaJihBwpYJb n0ZF1f0LHarznMxbiQL2kj9VFvTcKuP3apPaqEbl6ktrSKCCaSS2l8jgbqSeru20j1 pnW0UPKgpJ67lP3Gos8NJlJOo2ubGgqLZcwjTcPw= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Z36p33TVZz117R; Wed, 26 Feb 2025 21:20:43 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4Z36p315t6z113X; Wed, 26 Feb 2025 21:20:43 +0000 (UTC) From: Cayetano Santos To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-edalize. Date: Wed, 26 Feb 2025 22:20:16 +0100 Message-ID: <13b937dce6e3cace3e03ad52992557d8be7b4350.1740604816.git.csantosb@inventati.org> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: Cayetano Santos , Maxim Cournoyer Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=csantosb@inventati.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Cayetano Santos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/electronics.scm (python-edalize): New variable. Change-Id: Ia189a34ce01f46676654bf548bdb03c97f0d8082 --- gnu/packages/electronics.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index df0238c348..c65370e877 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -31,6 +31,7 @@ (define-module (gnu packages electronics) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system pyproject) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -52,6 +53,8 @@ (define-module (gnu packages electronics) #:use-module (gnu packages m4) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-build) #:use-module (gnu packages qt) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) @@ -522,3 +525,36 @@ (define-public minipro Additionally your user must be member of the @code{plugdev} group.") (home-page "https://gitlab.com/DavidGriffith/minipro") (license license:gpl3+)))) + +(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))) base-commit: 54ff5d33739ae95c19f4ed5bea38d2613f6f7d3c -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 04:50:38 2025 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) From: Cayetano Santos To: 76600@debbugs.gnu.org Subject: [PATCH v2] gnu: Add python-edalize. Date: Tue, 1 Apr 2025 10:50:13 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 76600 Cc: Cayetano Santos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/electronics.scm (python-edalize): New variable. Change-Id: I993421a9eb20b2124acf28d0a8187d3e9845ae77 --- gnu/packages/electronics.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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") base-commit: a9530d181d02e73896779cebd0687cf9cffb2c82 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 13 16:42:53 2025 Received: (at 76600-done) by debbugs.gnu.org; 13 Apr 2025 20:42:53 +0000 Received: from localhost ([127.0.0.1]:44093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u44AH-0001bb-26 for submit@debbugs.gnu.org; Sun, 13 Apr 2025 16:42:53 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:57610) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u44AF-0001bK-3S for 76600-done@debbugs.gnu.org; Sun, 13 Apr 2025 16:42:51 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43d04dc73b7so38872005e9.3 for <76600-done@debbugs.gnu.org>; Sun, 13 Apr 2025 13:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744576964; x=1745181764; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=qW4464N9PraBNmI9BCNx0mrA45awr6blhGnBR5N465M=; b=B35MR5z5Xv36XFe/D1jPtLYGVHJCKus6KrscmlGHqEY+JJ35WQLJwQzqUm7rfqM+1n QvV9w8ijqKYgMr/r9DrlDll0hdmVbQH031KLmPLtNjXOwGV4kEz+KkAH4iftFnK6hwsl n+wATO9ySWXWy6qLZZr7R6IW2oAge0IWrRPihRdBaBpsAPueLNWeMepUkUGzN1ITT1iC qGO0/uTHTVyaAlBTwxRuj+fFV1Z4xjZ60onBCqMXzBrMMqXEr7AYsiPc1319iLGROpvM UfOeE/G9v9yJLL4mDcpnFdNQTP/uRWd2xuNx2+2sHq6OV5qf6yKgh6JPrPV3Sh+3nLxA bRxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744576964; x=1745181764; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qW4464N9PraBNmI9BCNx0mrA45awr6blhGnBR5N465M=; b=Djrk6pl3qATj54ZjMYzsrJVMUyNTayn2x/gBVoYpsnJGOOEKKh8oh7u6BW1jJJnjgr ng8R0eWvj7QT27lFaYMko1e5gegs48OcjVxxJP6u92HKQFNt6FSmrY1/+SNwLyPNDKEf S7GmpZklVkE2ZbfcOAr39gjRylYW/elA+byZnjMAVDjjboeicUYAKTWdzmAUsw8h8Lj/ LsnASCJjvAQUEYZRZ3Pf6NPrHjn579B8epnmJxvJ9IQEDb6jk7PYyk81zEcii9Gti08B qQmO4gN/XEM6VujA3N1O+5nCExor09nvsPRUsED/Qy6PW489subx9jYKAEEMGsYZgBUU AASw== X-Gm-Message-State: AOJu0YyzQrLY4kg3KHOibxvvDaiefSKGlqeSWq3SlPFPziWCvoxNbkTM 8hO30zIzO0952En87yHskqvX3cZa0iBchSSCEpHFYVfcBDaLnnX0GHlBeBQV X-Gm-Gg: ASbGncuHcsOz+vnMNvD1TVlD2lR3NsOTzxVPGiDKT/fD4tITrLg0QlPe5NUQEsoZQ7Y vBO5KruzHgzMYJO6NLGY7halofT8+SuCOHomUwoR9ObmoeOuhjznCnjViDGFtZUDoHaEgeS9zZx grQFjYdN9J5P0qZ7nRwVsusVBRXAWlFA+z8t3ZJbubQTH6WonfsSQ/pimWIHfF/NgeH/Jw6gU6P TUpylsPayzFy1A4a8qRQzOWFJMCfMkRCHkWMwojz/09KZMeynBNP8stbuZxtgGnlm0/54V737Tj NbMGsrDPm5I12xLIC+rGOAhvKp8TtxU8g0FsH29emMMd/omfRbJA5f1mKgH+jeNSxI0nXS9Pa1i CfwGcqMIfT00peSj4hlMuwwMBvh4= X-Google-Smtp-Source: AGHT+IFZCue8du4edXSpL5rIKdKM+6Y8+rkrrZQxbQYwezvmeHvce5v9/r2kq4uUGEbNVOqMFQ22Og== X-Received: by 2002:a05:6000:40e0:b0:39c:1ef5:ff8b with SMTP id ffacd0b85a97d-39eaaedc31fmr7639497f8f.48.1744576964276; Sun, 13 Apr 2025 13:42:44 -0700 (PDT) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f2338d757sm154936345e9.5.2025.04.13.13.42.43 for <76600-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Apr 2025 13:42:43 -0700 (PDT) From: Sharlatan Hellseher To: 76600-done@debbugs.gnu.org Subject: [PATCH] gnu: Add python-edalize. Date: Sun, 13 Apr 2025 21:42:42 +0100 Message-ID: <87mscjeqt9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76600-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Thank you for the patch. I've refactored it to utilize #:test-flags instead adjusting 'check phase and improve it's description by adding more detail from project's README: --8<---------------cut here---------------start------------->8--- modified gnu/packages/electronics.scm @@ -583,18 +583,27 @@ (define-public python-edalize (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/") + (list + #:test-flags + #~(list "-k" (string-join + ;; XXX: Tests failing with assertion not equal, find out + ;; why. + (list "not test_gatemate" + "test_gatemate_minimal" + "test_vcs_tool_options" + "test_vcs_no_tool_options" + "test_vcs_minimal" + "test_vivado_edif_netlist" + "test_vivado_edif_netlist_no_link_design" + "test_xcelium") + " and not ")))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-jinja2)) + (home-page "https:/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 modified gnu/packages/electronics.scm @@ -604,11 +604,16 @@ (define-public python-edalize python-wheel)) (propagated-inputs (list python-jinja2)) - (home-page "https:/github.com/olofk/edalize/") + (home-page "https://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.") + "This package implements a functionality to create project files for +supported tools and run them in batch or GUI mode. All EDA tools such as +Icarus, Yosys, ModelSim, Vivado, Verilator, GHDL, Quartus etc get input HDL +files (Verilog and VHDL) and some tool-specific files (constraint files,memory +initialization files, IP description files etc). Together with the files, +perhaps a couple of Verilog `defines, some top-level parameters/generics or +some tool-specific options are set.") (license license:bsd-2)))0 --8<---------------cut here---------------end--------------->8--- Pushed to master as 8335a6d973c64a89f9a951c638a5d087b7bd8b61. -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmf8IcIWHHNoYXJsYXRh bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStTH4D/99bNiUpvgfnKawmN3uxhfwjUuX MN4A4GdYhhFF+x+0UNLb8d+VpAehp6ukzEACbYJ36Yfr+GWTaLU+7YGjjYiljBBx VPvZeNrfVnLKN5ay6bZWYc8opJLM2u/7G1Vv7u4UmZKsuVwrsof9EZ1smnvT604x vvwG7fYUW4FRsbQ1uNaz/pM/+FPZypSMxFiw/enEimARclJ0a21q/0wLf/tpM2rN tDYEtMp96uL0kRghVvMtX6sxNnU6J3zrhuVNhoNVMNXOxuqsaKUKgdy/GzfGB8sM POYJoMG/Gw5d5NvEV8XyJLl5KGKaM1XxurwqZxsGUKzoub9xlXRqqgoTQjUCYrax 6OaK0QiH4OqJ2uTgvLGtwWYPwi00Vw+v8j6930/uI3GnrBefpNtUoz8k3NAiFbMw PRgQp9tTt2S4/1pg2XPf5Q/N2qd56GEMJrtRWfrMLitGC1xBqi3iIARFyuK7Kv5Z YylDRFxDVS2KGQbtSvSiGKfGJfHlLQd4roiJNFJRs/qr5omuyzBGGp3rwNI0PRSD gdGeYpIM2i/NiWlM87YGoaeIyMrsLwzlkM2uq9SE0yA1NFMrJflO93uYAF5u5d7u P02UpD5h2y51pPHI9jdA8ZebKJWtyjJZ5m6vsji6qfRAiBySpoDm/mlzmo+rXB66 41ZGvKJYgRwC87BBsw== =iJIN -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 19:45:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 May 2025 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator