GNU bug report logs - #78422
[PATCH electronics-team] gnu: Add python-apycula.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Cayetano Santos <csantosb@HIDDEN>; Keywords: moreinfo patch; dated Wed, 14 May 2025 10:31:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 78422 <at> debbugs.gnu.org:


Received: (at 78422) by debbugs.gnu.org; 15 May 2025 06:46:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 15 02:46:14 2025
Received: from localhost ([127.0.0.1]:50331 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFSM9-0000KX-SZ
	for submit <at> debbugs.gnu.org; Thu, 15 May 2025 02:46:14 -0400
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:39775)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <gabriel@HIDDEN>)
 id 1uFSM7-0000K5-DZ; Thu, 15 May 2025 02:46:11 -0400
Received: from coney (mob-194-230-148-150.cgn.sunrise.net [194.230.148.150])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA id 0A7791FF2B;
 Thu, 15 May 2025 08:46:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=erlikon.ch; s=20250312;
 t=1747291565;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=SyoehwmhxHW+57KX2gjBrTUvZUiG9jvULsGtWBwFtk0=;
 b=nGLEuNxGj7uVb8aSq8iSpFZ0VeJdEK0YpdolGt5lvDIlqGSLvU0og0zsSwtXlI3kMRiYl3
 29CuTj4RjWn7C3+9l4cMXkU0WZYAVBSA6GWZz2z3/NGwi4CBx7rdVmz1dhtYjsYNYHH3Ss
 5d4LvJWQ7HyTUQipSY++zMTAkZwdihgHnxYYPiOvkBVkDlre9/nepszxoCYjRcJRMAllF0
 LwmmCeFaldBoJU5oyj/ol6wa97SWNtB2mjZBByghzz//EUQFc5O5q082hqXcVO9MOHVUSR
 1/Xx4YysUcPEwvXv5KXtmEGyA++ZaATqcXsSgyhjIXJuwLt8xKiSmYH9YVcJSSO0zX1WT+
 /QA5X41cMNqejG5hsqogIP/zJcxTGjIRjnUS+OhxqDBvWcOqeONlSgwgUTFAXjSLFWlwL2
 ay4+d7FdwkY5CyIl4jLTobZ/AK1LGiZJeS5mcbPdCD3Sb/uZD6q+b3/PfLDkheSoIpVFnC
 tYHVShGLRl4gMBBkuGrjBktXLjebgdyQEbegBVEontVT/tVSMijZ8nba19QWiDQNuFB/Sr
 OqE9v6vG0Ha5QDl4vLVnIdV06ep1a/t9gyz3xlLud5fr68e3yKjtHifGZxZkZx4cdwle40
 6ascHWrAvLh4z4rR4htzO0qB2Law/H4ia3OlDv/7T7PMyXHEGdcJw=
Date: Thu, 15 May 2025 08:45:42 +0200
From: Gabriel Wicki <gabriel@HIDDEN>
To: Cayetano Santos <csantosb@HIDDEN>
Subject: Re: [bug#78425] [PATCH electronics-team v2] gnu: Add python-apycula.
Message-ID: <nv3ayouu6rt6cjy3pfuxbimioiftiicht2dizwer4y7ankv3vs@37pxhi5f43dt>
References: <9f73e46791667e7bf10f749debcec6152cc0320e.1747225452.git.csantosb@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9f73e46791667e7bf10f749debcec6152cc0320e.1747225452.git.csantosb@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78422
Cc: 78425 <at> debbugs.gnu.org, 78422 <at> debbugs.gnu.org,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Ekaitz Zarraga <ekaitz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi!

It seems like you did neither answer nor address any of my questions
from the previous review.  And I have a hard time finding any
differences between the original patch and this v2 (at least by naked
eye).  Is this by mistake?  Would you mind answering my questions, so we
can find ways for this patch to land optimally?

Thanks - again - for your time and effort!

gabber




Information forwarded to guix-patches@HIDDEN:
bug#78422; Package guix-patches. Full text available.

Message received at 78422 <at> debbugs.gnu.org:


Received: (at 78422) by debbugs.gnu.org; 14 May 2025 12:24:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 14 08:24:39 2025
Received: from localhost ([127.0.0.1]:41000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFBA5-0003uz-Rm
	for submit <at> debbugs.gnu.org; Wed, 14 May 2025 08:24:39 -0400
Received: from latitanza.investici.org ([82.94.249.234]:65193)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1uFBA1-0003tx-EG
 for 78422 <at> debbugs.gnu.org; Wed, 14 May 2025 08:24:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1747225471;
 bh=ulFoyUc/YjvcdUVM078IU1Vuqt2FzxRBR8NQ9swhSis=;
 h=From:To:Cc:Subject:Date:From;
 b=rUJWl0DYLDHanj3/uaxRqLcPbRZSufPOXI+zzExgzR2kgbAWMwi4xcNCgY7CqmLqG
 dIEIr4zwO0edl2qdTnSFCxnq6sBDX7WhL7Q+kKq30SFBWUbdKOVtAymQNiCBs3OncF
 lRvVvEB4aAxgo4kJVDB9nlFJfyjRLaR39u9F/6Zg=
Received: from mx3.investici.org (unknown [127.0.0.1])
 by latitanza.investici.org (Postfix) with ESMTP id 4ZyCFq38gxzGp8L;
 Wed, 14 May 2025 12:24:31 +0000 (UTC)
Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4ZyCFq1SCTzGp7F; 
 Wed, 14 May 2025 12:24:31 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: 78422 <at> debbugs.gnu.org
Subject: [PATCH electronics-team v2] gnu: Add python-apycula.
Date: Wed, 14 May 2025 14:24:12 +0200
Message-ID: <9f73e46791667e7bf10f749debcec6152cc0320e.1747225452.git.csantosb@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
X-Debbugs-Cc: Cayetano Santos <csantosb@HIDDEN>,
 Ekaitz Zarraga <ekaitz@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 78422
Cc: Cayetano Santos <csantosb@HIDDEN>,
 Cayetano Santos via Guix-patches via <guix-patches@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

From: Cayetano Santos via Guix-patches via <guix-patches@HIDDEN>

* gnu/packages/electronics.scm (python-apycula): New variable.

Change-Id: I8e65416c1a555be189e9b8433d1ec7165aee16e9
Signed-off-by: Cayetano Santos <csantosb@HIDDEN>
---
 gnu/packages/electronics.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index da37a9fb33..4dc9264fbf 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages electronics)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system pyproject)
+  #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -563,6 +564,36 @@ (define-public pulseview
 for sigrok.")
     (license license:gpl3+)))
 
+(define-public python-apycula
+  (package
+    (name "python-apycula")
+    (version "0.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Apycula" version))
+       (sha256
+        (base32 "167jif24568q5b9d9zdrp60c1qnjxmanhld6q3wx251i3sgrfilx"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f                       ;requires network
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'sanity-check-fix
+            (lambda _
+              (substitute* "setup.py"
+                (("'gowin_bba")
+                 "# 'gowin_bbva")))))))
+    (propagated-inputs (list python-crc))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/YosysHQ/apicula/")
+    (synopsis "Gowin FPGA bitstream format")
+    (description
+     "The project Apycula provides tools to support development and
+generating bitstreams with Gowin FPGAs.")
+    (license license:expat)))
+
 (define-public python-edalize
   (package
     (name "python-edalize")

base-commit: 5f5d84beccc180f1b51474c0e47eb6e0d0c9175f
-- 
2.49.0





Information forwarded to csantosb@HIDDEN, ekaitz@HIDDEN, gabriel@HIDDEN, maxim.cournoyer@HIDDEN, guix-patches@HIDDEN:
bug#78422; Package guix-patches. Full text available.

Message received at 78422 <at> debbugs.gnu.org:


Received: (at 78422) by debbugs.gnu.org; 14 May 2025 10:39:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 14 06:39:46 2025
Received: from localhost ([127.0.0.1]:40124 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uF9Wb-0002aH-PF
	for submit <at> debbugs.gnu.org; Wed, 14 May 2025 06:39:46 -0400
Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:36175)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <gabriel@HIDDEN>)
 id 1uF9WY-0002YX-4p
 for 78422 <at> debbugs.gnu.org; Wed, 14 May 2025 06:39:43 -0400
Received: from silvi (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA id 9E9E41FF54;
 Wed, 14 May 2025 12:39:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=erlikon.ch; s=20250312;
 t=1747219175;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=yYs70R0+tt2IzKOTWe2FYFOjpxxxYPHx7BDCTGZyJr0=;
 b=bAu0OPz5DMzJZvSTdcG4AWHtOaME/PqVIy32Ys+t+khuQh/614MzcEr2AKltgIp1ZPt/6u
 O5B2W22fAoSEMHV2Pu1vW6FsBJm4v7fSAyNxJZ2iqfbsthnmD4ynjvqpDG2mpfw0GPLXOr
 uXPMGqD86jW5lb5VK1CCflh8bOXMA3Safkyevn5lyb90Zzq/awjuWEiTLW0jx3F82IRf/8
 PwTfijW7VkQASY5brlnGS5tCYK5SPnrUVeWgbnNXx175pp94TbKbNEbtXNeb+06D1iTBwr
 lE8SggvzE26elwZEdqa7zLc+RVASTAuNc3lKnQJy+QXGq7GL1ik/3o7Gju7dSStB25dRwg
 olZZFmW9/ON9kND5P8InNvhcD+W0i0Y1tmKL26yrtVbMHk9FOX070VNFD4um2nbbztcfaO
 8kSn0NHGU0+ZAfXYGVle2buLxQu/UymEgg/oZUi/Al5z4zcWWilyyvUp7YvpgCIDOqR4xg
 n83syDYE3v8pJRKM3tOtDwrQVtPMqxrfj2dbBJWrb1VRsesGPk7aY2nZ3iqak2Dt0juqaQ
 HuYe08Dj8/ZJ4onvb+0CPg9c6/MhKTkrvPXLLwrgSkNATN3k+6sd+lXMbKzN0sS9w45v6v
 O+bayKPCx4t0lfx7lqIziHgEOdiHX01OtU1YAUV81DbvRBF8StPXQ=
Date: Wed, 14 May 2025 12:39:31 +0200
From: Gabriel Wicki <gabriel@HIDDEN>
To: Cayetano Santos <csantosb@HIDDEN>
Subject: Re: [bug#78422] [PATCH electronics-team] gnu: Add python-apycula.
Message-ID: <pdksmdzl4crkoa7n6d5pm5z3yqukmn6lwhepzt5rx4z7euzzkp@nml4oeiro73l>
References: <bdbbe7aa15ba9167c6c0ad515b239281a23d625c.1747218607.git.csantosb@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <bdbbe7aa15ba9167c6c0ad515b239281a23d625c.1747218607.git.csantosb@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78422
Cc: 78422 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Ekaitz Zarraga <ekaitz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


On Wed, May 14, 2025 at 12:30:07PM +0200, Cayetano Santos wrote:
> +      #:tests? #f                       ;requires network
This is a pity - any chance we could disable just a single test that
needs networking or do all tests need it?
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-after 'unpack 'sanity-check-fix
> +            (lambda _
> +              (substitute* "setup.py"
> +                (("'gowin_bba")
> +                 "# 'gowin_bbva")))))))
You (probably) could just substitute with an empty string "" (aka
deleting) instead of commenting it out.  But it doesn't really matter.
Maybe a comment on why this fixes anything could be a nice pointer for
future us on why it is/was necessary?


Apart from these questions this LGTM.

If it builds, works as expected and the linter is happy this could be
merged IMO.


Thanks for your time and effort!
gabber




Information forwarded to guix-patches@HIDDEN:
bug#78422; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 May 2025 10:30:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 14 06:30:54 2025
Received: from localhost ([127.0.0.1]:40005 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uF9Nz-0001R9-R5
	for submit <at> debbugs.gnu.org; Wed, 14 May 2025 06:30:53 -0400
Received: from lists.gnu.org ([2001:470:142::17]:44860)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1uF9Nw-0001PB-0G
 for submit <at> debbugs.gnu.org; Wed, 14 May 2025 06:30:49 -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 <csantosb@HIDDEN>)
 id 1uF9Np-0006hp-Ci
 for guix-patches@HIDDEN; Wed, 14 May 2025 06:30:41 -0400
Received: from latitanza.investici.org ([82.94.249.234])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <csantosb@HIDDEN>)
 id 1uF9Nn-0004Fp-4K
 for guix-patches@HIDDEN; Wed, 14 May 2025 06:30:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1747218627;
 bh=1th6MR7wmt/+450UHtEzGbE2+lV1ehnMN9hs1wBzaic=;
 h=From:To:Cc:Subject:Date:From;
 b=cGul9AOEjDAJ1Qs4oApEAuB923TDhIMdQDjMTgNCY5qhjpZmKz7Uc/Yi0Lkjb0FjW
 Qm+TDGXt7r4Dq1RhbBYJr933hl3fY7ujItVVRqAxTQ9DjH7HMDEL+LJOxWoJPEfX6y
 fqkWkpKgyn9nOVNtVxUr3DOqC0FFIx2wRMEbTegc=
Received: from mx3.investici.org (unknown [127.0.0.1])
 by latitanza.investici.org (Postfix) with ESMTP id 4Zy8kC0lYVzGp6Y;
 Wed, 14 May 2025 10:30:27 +0000 (UTC)
Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4Zy8kB6d0bzGp6V; 
 Wed, 14 May 2025 10:30:26 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH electronics-team] gnu: Add python-apycula.
Date: Wed, 14 May 2025 12:30:07 +0200
Message-ID: <bdbbe7aa15ba9167c6c0ad515b239281a23d625c.1747218607.git.csantosb@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
X-Debbugs-Cc: Cayetano Santos <csantosb@HIDDEN>,
 Ekaitz Zarraga <ekaitz@HIDDEN>, Gabriel Wicki <gabriel@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=82.94.249.234;
 envelope-from=csantosb@HIDDEN; helo=latitanza.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-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Cayetano Santos <csantosb@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/electronics.scm (python-apycula): New variable.

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

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index da37a9fb33..36e1909d36 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -563,6 +563,39 @@ (define-public pulseview
 for sigrok.")
     (license license:gpl3+)))
 
+(define-public python-apycula
+  (package
+    (name "python-apycula")
+    (version "0.18")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/YosysHQ/apicula/")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0r1qx2q5dyjj3085g4ql41b21108m0s3wb7ylsy7xllvw527798l"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f                       ;requires network
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'sanity-check-fix
+            (lambda _
+              (substitute* "setup.py"
+                (("'gowin_bba")
+                 "# 'gowin_bbva")))))))
+    (propagated-inputs (list python-crc))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/YosysHQ/apicula/")
+    (synopsis "Gowin FPGA bitstream format")
+    (description
+     "The project Apycula provides tools to support development and
+generating bitstreams with Gowin FPGAs.")
+    (license license:expat)))
+
 (define-public python-edalize
   (package
     (name "python-edalize")

base-commit: 5f5d84beccc180f1b51474c0e47eb6e0d0c9175f
-- 
2.49.0





Acknowledgement sent to Cayetano Santos <csantosb@HIDDEN>:
New bug report received and forwarded. Copy sent to csantosb@HIDDEN, ekaitz@HIDDEN, gabriel@HIDDEN, maxim.cournoyer@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to csantosb@HIDDEN, ekaitz@HIDDEN, gabriel@HIDDEN, maxim.cournoyer@HIDDEN, guix-patches@HIDDEN:
bug#78422; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 16 May 2025 14:45:02 UTC

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