From patchwork Mon Mar 10 10:48:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 40051 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 07A0A27BBEA; Mon, 10 Mar 2025 10:49:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 300A027BBE2 for ; Mon, 10 Mar 2025 10:49:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1trah0-0006Mq-OJ; Mon, 10 Mar 2025 06:49:07 -0400 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 1tragx-0006MS-IW for guix-patches@gnu.org; Mon, 10 Mar 2025 06:49:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tragx-0004rM-4j for guix-patches@gnu.org; Mon, 10 Mar 2025 06:49:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=jJeMiWYBHT7e0tkaoVNR1sDlMss/DE+tSvjRv3632Pk=; b=C4IF92aQDVPD9Me0mZL3dUsrSv939eAcoFywVPIXWPQ3I7C3nO3si2NjssgURBe5DwD190XzSYqcnrdB4m+y7neEOuw8kklXYCuzkSlvdH/GA4w2F0UXzAnuWHqVFojF8VjyHCi1Pm+F94kwf570UGvAcaA85jTxpd7x/0LPGmTvOduiJ6DShVpt0zs+o0m/5u0hTnZIZfriOWZ/Rmc7GwjL7V2uUFHiOx6YJtt100UbPgHDuoABdJowCc3NAziwU8ZwMODCr/GiCIlOTi/5cTyxVvFYedleDe2jqD1iJUdH9GLUYBP5fMfQ3/p6x02vlbOuWgRwuXEohPGc1NPS7w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tragw-000385-MO for guix-patches@gnu.org; Mon, 10 Mar 2025 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76913] [PATCH] gnu: Add python-vsg. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Mar 2025 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76913 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76913@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174160374212022 (code B ref -1); Mon, 10 Mar 2025 10:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2025 10:49:02 +0000 Received: from localhost ([127.0.0.1]:36470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tragv-00037n-EV for submit@debbugs.gnu.org; Mon, 10 Mar 2025 06:49:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56900) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tragt-00037Z-6r for submit@debbugs.gnu.org; Mon, 10 Mar 2025 06:48:59 -0400 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 1tragn-0006Lc-PY for guix-patches@gnu.org; Mon, 10 Mar 2025 06:48:53 -0400 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tragk-0004p9-Qk for guix-patches@gnu.org; Mon, 10 Mar 2025 06:48:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1741603719; bh=jJeMiWYBHT7e0tkaoVNR1sDlMss/DE+tSvjRv3632Pk=; h=From:To:Cc:Subject:Date:From; b=IWcbqgPUPIMauzVJaNoqKc88f1aQddPnT9lpesxRruJqmseglngfGjkC5KA446t+8 8xanVIIegQBb5/qM1tggPvDgqxHatejsi6wEvrb1Gc2e+AmIHQJFaUtUo1/e/a1B57 b0FToNdywbKAg5S7kz+2FDi6KNSH2f18xdRVc7YA= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4ZBDCC3tNRz6vTD; Mon, 10 Mar 2025 10:48:39 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZBDCC2H3Tz6vN2; Mon, 10 Mar 2025 10:48:39 +0000 (UTC) Date: Mon, 10 Mar 2025 11:48:11 +0100 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: pass client-ip=198.167.222.108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/electronics.scm (python-vsg): New variable. Change-Id: I373fa187e7af7ad79e5d885574ee124183d37f9b --- gnu/packages/electronics.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) base-commit: 9866d32e173050ba99dc520b0a4d5aacb85e3fa0 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+)))