GNU bug report logs - #78077
[PATCH electronics-team] gnu: python-vunit: Update to 5.0.0-dev.5.

Previous Next

Package: guix-patches;

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

Date: Sat, 26 Apr 2025 17:29:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78077 <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: 78077 <at> debbugs.gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [PATCH electronics-team v2] gnu: python-vunit: Update to 5.0.0-dev.5.
Date: Sun, 27 Apr 2025 10:56:07 +0200
* gnu/packages/fpga.scm (python-vunit): Update to 5.0.0-dev.5.

Change-Id: Idde0283b73906209799fcc2be9bbb72df8d2aa20
---

Update to release 5.0.0-dev.5, updating 2 years old 4.7.0.

[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests> Activate.
<#:phases> Remove license test.
[propgated-inputs]: Remove python.
[native-inputs]: Add all necessary for building and testing.

 gnu/packages/fpga.scm | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index dfbe1a2894..9d7b563729 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -72,6 +72,7 @@ (define-module (gnu packages fpga)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
@@ -523,7 +524,7 @@ (define-public python-myhdl
 (define-public python-vunit
   (package
     (name "python-vunit")
-    (version "4.7.0")
+    (version "5.0.0-dev.5") ;v4.7.0 dates back from 2 years ago.
     (source
      (origin
        (method git-fetch)
@@ -533,17 +534,32 @@ (define-public python-vunit
              (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0s7j5bykbv34wgnxy5cl4zp6g0caidvzs8pd9yxjq341543xkjwm"))))
-    (build-system python-build-system)
+        (base32 "1sfnl1l6bgaqa8c2sk8k8f232bnq2drjg6rg7jvscmyz18yfih0b"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:tests? #f))                ;XXX: requires setuptools_scm >= 2.0.0, <3
-    (propagated-inputs (list python python-colorama))
+     (list #:phases #~(modify-phases %standard-phases
+                        ;; See https://github.com/VUnit/vunit/issues/1111
+                        (add-before 'check 'remove-failure
+                          (lambda _
+                            (delete-file "tests/lint/test_license.py"))))))
+    (native-inputs (list
+                    ;; tests
+                    nvc
+                    python-coverage
+                    python-mypy
+                    python-pycodestyle
+                    python-pygments
+                    python-pylint
+                    python-pytest
+                    ;;
+                    python-setuptools
+                    python-wheel))
+    (propagated-inputs (list python-colorama))
     (home-page "https://vunit.github.io")
     (synopsis "Unit testing framework for VHDL/SystemVerilog")
     (description
      "VUnit features the functionality needed to realize continuous and
 automated testing of HDL code.")
-
     ;; According to 'LICENSE.rst', VUnit itself is under MPL but two
     ;; subdirectories are under ASL.
     (license (list license:mpl2.0 license:asl2.0))))

base-commit: edeafb19c4a83eb81fe7e47a6a94f238db9cccf1
--
2.49.0





This bug report was last modified 24 days ago.

Previous Next


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