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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76913 in the body.
You can then email your comments to 76913 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76913; Package guix-patches. (Mon, 10 Mar 2025 10:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cayetano Santos <csantosb <at> inventati.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 10 Mar 2025 10:49:02 GMT) Full text and rfc822 format available.

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

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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 21 Mar 2025 12:40:02 GMT) Full text and rfc822 format available.

Notification sent to Cayetano Santos <csantosb <at> inventati.org>:
bug acknowledged by developer. (Fri, 21 Mar 2025 12:40:03 GMT) Full text and rfc822 format available.

Message #10 received at 76913-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (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+)))

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Apr 2025 11:24:31 GMT) Full text and rfc822 format available.

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.