From unknown Mon Aug 18 11:26:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45310] [PATCH] gnu: Add python-migen. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Dec 2020 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45310@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160828269919744 (code B ref -1); Fri, 18 Dec 2020 09:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2020 09:11:39 +0000 Received: from localhost ([127.0.0.1]:37662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnT-00058L-D4 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:49790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnQ-00058C-0x for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnP-00036A-Hu for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnK-0006z7-RX for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 165E616005F for ; Fri, 18 Dec 2020 10:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1608282682; bh=B8CUQ1ueeA1Se/ETAcheG1yFCuc/QqEd88HuJRUs4Ek=; h=From:To:Cc:Subject:Date:From; b=KMoC1FFfX/+ChYtGy/j39tRD3QX+9acZpySqpCAAfYHB75uMLaU1u4geYLUW/e3Ri 5/AutK6uK+0X849gdZ18+WB49SEhQAIi7Oj1ly24zo6/Ao4VzwJsfiDY4uwRa9VX7A mcJNV1S4oNsAHoe47MQeOgK35qT0F0owl9si5z9Tw2Inz67fUbRsxklIxVAeT3l0vZ alTRMxmjEUfkYHmBe895jn4pxeIdjj7i8nsp/A7b5UDiA7/oPqee7VOPR4v/K1vERr TBl9K6LMc9l8IH7JG2lSZDLXVl3cX23TeoBwVnSHrP+gMEv+cOqrzHweTJKPkcBVwx VwMUGjPEwq/Gw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cy3515XMVz6tmN; Fri, 18 Dec 2020 10:11:16 +0100 (CET) From: Vinicius Monego Date: Fri, 18 Dec 2020 06:11:00 -0300 Message-Id: <20201218091100.22318-1-monego@posteo.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/fpga.scm (python-migen): New variable. --- gnu/packages/fpga.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 1802e0ed14..7dee6d4eef 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2016, 2017 Theodoros Foradis ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Amin Bandali +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (gnu packages tcl) #:use-module (gnu packages readline) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages bison) #:use-module (gnu packages flex) #:use-module (gnu packages gtk) @@ -376,6 +378,33 @@ simulator trace files (@dfn{FST}).") ;; Exception against free government use in tcl_np.c and tcl_np.h. (license (list license:gpl2+ license:expat license:tcl/tk)))) +(define-public python-migen + (package + (name "python-migen") + (version "0.9.2") + (source + (origin + ;; Tests fail in the PyPI tarball due to missing files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/m-labs/migen") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kq11if64zj84gv4w1q7l16fp17xjxl2wv5hc9dibr1z3m1gy67l")))) + (build-system python-build-system) + (propagated-inputs + `(("python-colorama" ,python-colorama))) + (home-page "https://m-labs.hk/gateware/migen") + (synopsis "Python toolbox for building complex digital hardware") + (description + "Migen FHDL is a Python library that replaces the event-driven +paradigm of Verilog and VHDL with the notions of combinatorial and +synchronous statements, has arithmetic rules that make integers always +behave like mathematical integers, and allows the design's logic to be +constructed by a Python program.") + (license license:bsd-2))) + (define-public python-myhdl (package (name "python-myhdl") -- 2.29.2 From unknown Mon Aug 18 11:26:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#45310: closed (Re: [bug#45310] [PATCH] gnu: Add python-migen.) Message-ID: References: <87wnwz5zj3.fsf@gnu.org> <20201218091100.22318-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 45310 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 45310@debbugs.gnu.org Date: Wed, 30 Dec 2020 11:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1609326122-26464-1" This is a multi-part message in MIME format... ------------=_1609326122-26464-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45310: [PATCH] gnu: Add python-migen. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45310@debbugs.gnu.org. --=20 45310: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45310 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1609326122-26464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45310-done) by debbugs.gnu.org; 30 Dec 2020 11:01:06 +0000 Received: from localhost ([127.0.0.1]:41980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuZE1-00066Q-IT for submit@debbugs.gnu.org; Wed, 30 Dec 2020 06:01:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuZE0-00060P-AJ for 45310-done@debbugs.gnu.org; Wed, 30 Dec 2020 06:01:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51549) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuZDv-0000d1-1k; Wed, 30 Dec 2020 06:00:59 -0500 Received: from [2a01:cb18:832e:5f00:1419:7f05:4215:aaad] (port=46026 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kuZDm-00073q-Hi; Wed, 30 Dec 2020 06:00:52 -0500 From: Mathieu Othacehe To: Vinicius Monego Subject: Re: [bug#45310] [PATCH] gnu: Add python-migen. References: <20201218091100.22318-1-monego@posteo.net> Date: Wed, 30 Dec 2020 12:00:48 +0100 In-Reply-To: <20201218091100.22318-1-monego@posteo.net> (Vinicius Monego's message of "Fri, 18 Dec 2020 06:11:00 -0300") Message-ID: <87wnwz5zj3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45310-done Cc: 45310-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey, > * gnu/packages/fpga.scm (python-migen): New variable. Pushed, thanks! Mathieu ------------=_1609326122-26464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Dec 2020 09:11:39 +0000 Received: from localhost ([127.0.0.1]:37662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnT-00058L-D4 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:49790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnQ-00058C-0x for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnP-00036A-Hu for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnK-0006z7-RX for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 165E616005F for ; Fri, 18 Dec 2020 10:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1608282682; bh=B8CUQ1ueeA1Se/ETAcheG1yFCuc/QqEd88HuJRUs4Ek=; h=From:To:Cc:Subject:Date:From; b=KMoC1FFfX/+ChYtGy/j39tRD3QX+9acZpySqpCAAfYHB75uMLaU1u4geYLUW/e3Ri 5/AutK6uK+0X849gdZ18+WB49SEhQAIi7Oj1ly24zo6/Ao4VzwJsfiDY4uwRa9VX7A mcJNV1S4oNsAHoe47MQeOgK35qT0F0owl9si5z9Tw2Inz67fUbRsxklIxVAeT3l0vZ alTRMxmjEUfkYHmBe895jn4pxeIdjj7i8nsp/A7b5UDiA7/oPqee7VOPR4v/K1vERr TBl9K6LMc9l8IH7JG2lSZDLXVl3cX23TeoBwVnSHrP+gMEv+cOqrzHweTJKPkcBVwx VwMUGjPEwq/Gw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cy3515XMVz6tmN; Fri, 18 Dec 2020 10:11:16 +0100 (CET) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-migen. Date: Fri, 18 Dec 2020 06:11:00 -0300 Message-Id: <20201218091100.22318-1-monego@posteo.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/fpga.scm (python-migen): New variable. --- gnu/packages/fpga.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 1802e0ed14..7dee6d4eef 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2016, 2017 Theodoros Foradis ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Amin Bandali +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (gnu packages tcl) #:use-module (gnu packages readline) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages bison) #:use-module (gnu packages flex) #:use-module (gnu packages gtk) @@ -376,6 +378,33 @@ simulator trace files (@dfn{FST}).") ;; Exception against free government use in tcl_np.c and tcl_np.h. (license (list license:gpl2+ license:expat license:tcl/tk)))) +(define-public python-migen + (package + (name "python-migen") + (version "0.9.2") + (source + (origin + ;; Tests fail in the PyPI tarball due to missing files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/m-labs/migen") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kq11if64zj84gv4w1q7l16fp17xjxl2wv5hc9dibr1z3m1gy67l")))) + (build-system python-build-system) + (propagated-inputs + `(("python-colorama" ,python-colorama))) + (home-page "https://m-labs.hk/gateware/migen") + (synopsis "Python toolbox for building complex digital hardware") + (description + "Migen FHDL is a Python library that replaces the event-driven +paradigm of Verilog and VHDL with the notions of combinatorial and +synchronous statements, has arithmetic rules that make integers always +behave like mathematical integers, and allows the design's logic to be +constructed by a Python program.") + (license license:bsd-2))) + (define-public python-myhdl (package (name "python-myhdl") -- 2.29.2 ------------=_1609326122-26464-1--