Subject: bug#74763: closed (Re: [bug#74763] [PATCH] gnu: Add python-hdlmake.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 07 Jan 2025 18:04:02 +0000

Your bug report

#74763: [PATCH] gnu: Add python-hdlmake.

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 [email-masked].

-- 
74763: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74763
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#74763] [PATCH] gnu: Add python-hdlmake.
From: Ludovic Courtès <[email-masked]>
To: Cayetano Santos <[email-masked]>
Cc: [email-masked]
Date: Tue, 07 Jan 2025 19:03:25 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Cayetano Santos <[email-masked]> skribis:

> * gnu/packages/fpga.scm (python-hdlmake): New variable.
>
> Change-Id: I4f19d2cceb7fe46bbc359f9bc5197ae3113bb3d7

Applied with the changes below, thanks!

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 80d21bab08..c757353ac6 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages fpga)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages algebra)
@@ -66,6 +67,7 @@ (define-module (gnu packages fpga)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
@@ -764,9 +766,12 @@ (define-public python-hdlmake
       (build-system pyproject-build-system)
       (arguments
        `(#:tests? #f))
+      (native-inputs (list python-setuptools python-wheel))
       (propagated-inputs (list python-six))
       (home-page "https://ohwr.org/projects/hdl-make")
       (synopsis "Generate multi-purpose makefiles for HDL projects")
       (description
-       "Hdlmake helps to manage and share HDL code by automatically finding file dependencies, writing synthesis and simulation Makefiles.")
+       "Hdlmake helps manage and share @acronym{HDL, hardware description
+language} code by automatically finding file dependencies, writing synthesis
+and simulation Makefiles.")
       (license license:gpl3+))))

Subject: [PATCH] gnu: Add python-hdlmake.
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>
Date: Tue, 10 Dec 2024 11:41:08 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/fpga.scm (python-hdlmake): New variable.

Change-Id: I4f19d2cceb7fe46bbc359f9bc5197ae3113bb3d7
---
 gnu/packages/fpga.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index e69169b980..234f19003f 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -635,3 +635,28 @@ (define-public openfpgaloader
 to an FPGA.")
     (home-page "https://trabucayre.github.io/openFPGALoader")
     (license license:asl2.0)))
+
+(define-public python-hdlmake
+  (let ((commit "3cb248fdad601c579b59fd7c194402871209bc54")
+        (revision "0"))
+    (package
+      (name "python-hdlmake")
+      (version (git-version "3.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://ohwr.org/project/hdl-make")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "08ivnhxyp44agmifqb4pjbxj23p43qqcg73s2y2z1hqk2six3fdx"))))
+      (build-system pyproject-build-system)
+      (arguments
+       `(#:tests? #f))
+      (propagated-inputs (list python-six))
+      (home-page "https://ohwr.org/projects/hdl-make")
+      (synopsis "Generate multi-purpose makefiles for HDL projects")
+      (description
+       "Hdlmake helps to manage and share HDL code by automatically finding file dependencies, writing synthesis and simulation Makefiles.")
+      (license license:gpl3+))))

base-commit: 93e1586116f39a30ba1fcb67bd839a43533dfaf4
-- 
2.46.0