GNU bug report logs - #76600
[PATCH] gnu: Add python-edalize.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Wed, 26 Feb 2025 21:22:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cayetano Santos <csantosb <at> inventati.org>
To: 76600 <at> debbugs.gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [bug#76600] [PATCH v2] gnu: Add python-edalize.
Date: Tue,  1 Apr 2025 10:50:13 +0200
* 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





This bug report was last modified 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.