GNU bug report logs - #76913
[PATCH] gnu: Add python-vsg.

Previous Next

Package: guix-patches;

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

Date: Mon, 10 Mar 2025 10:49:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76913: closed ([PATCH] gnu: Add python-vsg.)
Date: Fri, 21 Mar 2025 12:40:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 21 Mar 2025 13:39:32 +0100
with message-id <87r02q8smz.fsf <at> gnu.org>
and subject line Re: [bug#76913] [PATCH] gnu: Add python-vsg.
has caused the debbugs.gnu.org bug report #76913,
regarding [PATCH] gnu: Add python-vsg.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76913: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76913
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Cayetano Santos <csantosb <at> inventati.org>
To: guix-patches <at> gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [PATCH] gnu: Add python-vsg.
Date: Mon, 10 Mar 2025 11:48:11 +0100
* gnu/packages/electronics.scm (python-vsg): New variable.

Change-Id: I373fa187e7af7ad79e5d885574ee124183d37f9b
---
 gnu/packages/electronics.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 93e37cf9ee..c4a70565cc 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)
@@ -53,6 +54,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-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages swig)
@@ -566,3 +569,31 @@ (define-public uhdm
      "UHDM is a complete modeling of the IEEE SystemVerilog Object Model with
 VPI Interface, Elaborator, Serialization, Visitor and Listener.")
     (license license:asl2.0)))
+
+(define-public python-vsg
+  (package
+    (name "python-vsg")
+    (version "3.30.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jeremiah-c-leary/vhdl-style-guide/")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kgknd491s4ldmcw9s5j38frcfs55kxfifl52svy5q0vgg1qixq1"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools
+                         python-wheel
+                         ;; tests
+                         python-coverage
+                         python-pytest
+                         python-pytest-cov
+                         python-pytest-html
+                         python-pytest-xdist))
+    (propagated-inputs (list python-pyyaml))
+    (home-page "https://github.com/jeremiah-c-leary/vhdl-style-guide/")
+    (synopsis "VHDL Style Guide")
+    (description "Style guide enforcement for VHDL.")
+    (license license:gpl3+)))

base-commit: 9866d32e173050ba99dc520b0a4d5aacb85e3fa0
-- 
2.48.1



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Cayetano Santos <csantosb <at> inventati.org>
Cc: 76913-done <at> debbugs.gnu.org
Subject: Re: [bug#76913] [PATCH] gnu: Add python-vsg.
Date: Fri, 21 Mar 2025 13:39:32 +0100
[Message part 4 (text/plain, inline)]
Cayetano Santos <csantosb <at> inventati.org> skribis:

> * gnu/packages/electronics.scm (python-vsg): New variable.
>
> Change-Id: I373fa187e7af7ad79e5d885574ee124183d37f9b

Applied with the changes below, in accordance with the
synopses/descriptions guidelines.

Thanks,
Ludo’.

[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index c4a70565cc..ce35b19432 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -594,6 +594,8 @@ (define-public python-vsg
                          python-pytest-xdist))
     (propagated-inputs (list python-pyyaml))
     (home-page "https://github.com/jeremiah-c-leary/vhdl-style-guide/")
-    (synopsis "VHDL Style Guide")
-    (description "Style guide enforcement for VHDL.")
+    (synopsis "Coding style enforcement for VHDL")
+    (description
+     "VSG lets you define a VHDL coding style and provides a command-line tool
+to enforce it.")
     (license license:gpl3+)))

This bug report was last modified 63 days ago.

Previous Next


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