Message ID | 4f7ed71fab3045a19ff031ebfc293ac1aee052a2.1746708572.git.csantosb@inventati.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2107127BC4B; Thu, 8 May 2025 13:52:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED 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 95B0227BC49 for <patchwork@mira.cbaines.net>; Thu, 8 May 2025 13:52:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1uD0jV-0007CJ-4q; Thu, 08 May 2025 08:52:13 -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 <Debian-debbugs@debbugs.gnu.org>) id 1uD0jO-0007A2-BH for guix-patches@gnu.org; Thu, 08 May 2025 08:52:10 -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 <Debian-debbugs@debbugs.gnu.org>) id 1uD0jN-0005qi-V2 for guix-patches@gnu.org; Thu, 08 May 2025 08:52:06 -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=tmRqOHDvf6CAGHaLV4gkNwj11cThqLnonG5btARb7UQ=; b=Acms378O5swlezf+yGIsVl2svbvvwSGTc1DMkIYPihj/A+fY3LIriPe/kgEzqiw6dP35wKbqUD9AxbRijSsjsy6ckUVUeE3GwanTgTrj8Hou+tlnNCnCkKRFHJ96vPhi+g3sOJ9C4q8w/c3I8UQEYu7YjA4sJhr2xCuP1VcEgnxt7cr3FArzbdER5L0+/j8EsDmf1T3XRXzTE/cVssMIP0hybXD4c+rmFMV89ZOQPs+Le567kEAhcBvHsl0tFODnSkTtjQ9vZ5pwV/y0MwX9DHGU4FqN8/n3G83FufRmbvqevv2LQDMZgTRR9M/nfPAGDg/cL4yxcfqr6294n109Mg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uD0jM-0001SZ-QQ; Thu, 08 May 2025 08:52:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78316] [PATCH electronics-team] gnu: python-hdlmake: Update to 3.4dev1-0.9338e3e. Resent-From: Cayetano Santos <csantosb@inventati.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, gabriel@erlikon.ch, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 08 May 2025 12:52:04 +0000 Resent-Message-ID: <handler.78316.B.17467086674963@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78316@debbugs.gnu.org Cc: Cayetano Santos <csantosb@inventati.org>, Cayetano Santos <csantosb@inventati.org>, Ekaitz Zarraga <ekaitz@elenq.tech>, Gabriel Wicki <gabriel@erlikon.ch>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Cayetano Santos <csantosb@inventati.org>, Ekaitz Zarraga <ekaitz@elenq.tech>, Gabriel Wicki <gabriel@erlikon.ch>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.17467086674963 (code B ref -1); Thu, 08 May 2025 12:52:04 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2025 12:51:07 +0000 Received: from localhost ([127.0.0.1]:55286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1uD0iQ-0001Hy-Ja for submit@debbugs.gnu.org; Thu, 08 May 2025 08:51:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:60086) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <csantosb@inventati.org>) id 1uD0iM-0001HH-VP for submit@debbugs.gnu.org; Thu, 08 May 2025 08:51:03 -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@inventati.org>) id 1uD0iH-000773-4j for guix-patches@gnu.org; Thu, 08 May 2025 08:50:57 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <csantosb@inventati.org>) id 1uD0iE-0005nL-Op for guix-patches@gnu.org; Thu, 08 May 2025 08:50:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1746708651; bh=tmRqOHDvf6CAGHaLV4gkNwj11cThqLnonG5btARb7UQ=; h=From:To:Cc:Subject:Date:From; b=Yzdamj5kmNp8BSXscMo0lDvVT/UiIJf+LzbtILlPmDiNZb0we0IPDN4I5IzdFWEI2 m+eai3iyDx07j301DwKrJN9lOg9BUdcYi1TDpdGNELTxIHp0DkjGESxMan1x1tsolo RERJqSne7HfF/uFzmOwjf9dz587sG0QDkpY2R+do= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4ZtX6z156vz11Dq; Thu, 8 May 2025 12:50:51 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZtX6y72T4z1198; Thu, 8 May 2025 12:50:50 +0000 (UTC) Date: Thu, 8 May 2025 14:49:32 +0200 Message-ID: <4f7ed71fab3045a19ff031ebfc293ac1aee052a2.1746708572.git.csantosb@inventati.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.190.126.19; envelope-from=csantosb@inventati.org; helo=confino.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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Cayetano Santos <csantosb@inventati.org> X-ACL-Warn: , Cayetano Santos via Guix-patches <guix-patches@gnu.org> From: Cayetano Santos via Guix-patches via <guix-patches@gnu.org> 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 |
Series |
[bug#78316,electronics-team] gnu: python-hdlmake: Update to 3.4dev1-0.9338e3e.
|
|
Commit Message
Cayetano Santos
May 8, 2025, 12:49 p.m. UTC
* gnu/packages/fpga.scm (python-hdlmake): Update to 3.4dev1-0.9338e3e. Change-Id: Ied124a3ceb22be427c5255b5d139f5f63031e260 --- [source]: Update URL. [homepage]: Update URL. gnu/packages/fpga.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) base-commit: 4fe484ee7e9d598a9d0a249c375b75a14b95d1b4 -- 2.49.0
Comments
LGTM, but: Does the project officially change their home-page? If so, please state that in the commit message. Thanks for your time and effort! gabber
Hi, Cayetano Santos <csantosb@inventati.org> writes: > * gnu/packages/fpga.scm (python-hdlmake): Update to 3.4dev1-0.9338e3e. > > Change-Id: Ied124a3ceb22be427c5255b5d139f5f63031e260 > --- > > [source]: Update URL. > [homepage]: Update URL. Ah, these should have appeared in the change log (commit message), not in this patch metadata/comment area. I've fixed it locally. > gnu/packages/fpga.scm | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm > index 2298dde595..e2a0b19a7d 100644 > --- a/gnu/packages/fpga.scm > +++ b/gnu/packages/fpga.scm > @@ -776,26 +776,26 @@ (define-public openfpgaloader > (license license:asl2.0))) > > (define-public python-hdlmake > - (let ((commit "3cb248fdad601c579b59fd7c194402871209bc54") > + (let ((commit "9338e3e7a8784e63d16496a3fa8234d9e5aa7621") > (revision "0")) > (package > (name "python-hdlmake") > - (version (git-version "3.3" revision commit)) > + (version (git-version "3.4dev1" revision commit)) The version here is not correct, according to (info "(guix) Version Numbers"). The version string of a git snapshot should be based on the latest upstream version, which is still 3.3. Since we're not bumping the version the revision number needs to go up by one. > (source > (origin > (method git-fetch) > (uri (git-reference > - (url "https://ohwr.org/project/hdl-make") > + (url "https://gitlab.com/ohwr/project/hdl-make/") > (commit commit))) > (file-name (git-file-name name version)) > (sha256 > - (base32 "08ivnhxyp44agmifqb4pjbxj23p43qqcg73s2y2z1hqk2six3fdx")))) > + (base32 "13d0zvpch0k758r2c2vq3vhd9nbydy01jnv2ddfvb6d3xpb4wzrj")))) > (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") > + (home-page "https://gitlab.com/ohwr/project/hdl-make/") LGTM. Applied with the following fix-ups (I also enabled the tests): --8<---------------cut here---------------start------------->8--- 1 file changed, 7 insertions(+), 5 deletions(-) gnu/packages/fpga.scm | 12 +++++++----- modified gnu/packages/fpga.scm @@ -774,10 +774,10 @@ (define-public openfpgaloader (define-public python-hdlmake (let ((commit "9338e3e7a8784e63d16496a3fa8234d9e5aa7621") - (revision "0")) + (revision "1")) (package (name "python-hdlmake") - (version (git-version "3.4dev1" revision commit)) + (version (git-version "3.3" revision commit)) (source (origin (method git-fetch) @@ -788,9 +788,11 @@ (define-public python-hdlmake (sha256 (base32 "13d0zvpch0k758r2c2vq3vhd9nbydy01jnv2ddfvb6d3xpb4wzrj")))) (build-system pyproject-build-system) - (arguments - `(#:tests? #f)) - (native-inputs (list python-setuptools python-wheel)) + (arguments (list #:phases #~(modify-phases %standard-phases + (add-before 'check 'chdir + (lambda _ + (chdir "testsuite")))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-six)) (home-page "https://gitlab.com/ohwr/project/hdl-make/") (synopsis "Generate multi-purpose makefiles for HDL projects") [back] --8<---------------cut here---------------end--------------->8---
>lun. 12 mai 2025 at 21:52, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote: >> (define-public python-hdlmake >> - (let ((commit "3cb248fdad601c579b59fd7c194402871209bc54") >> + (let ((commit "9338e3e7a8784e63d16496a3fa8234d9e5aa7621") >> (revision "0")) >> (package >> (name "python-hdlmake") >> - (version (git-version "3.3" revision commit)) >> + (version (git-version "3.4dev1" revision commit)) > > The version here is not correct, according to (info "(guix) Version > Numbers"). The version string of a git snapshot should be based on the > latest upstream version, which is still 3.3. Since we're not bumping > the version the revision number needs to go up by one. Once built and installed, ‘hdlmake --version’ returns "3.4dev1" as for "hdlmake/_version.py", which is weird when one installs 3.3. C.
Hi Cayetano, Cayetano Santos <csantosb@inventati.org> writes: >>lun. 12 mai 2025 at 21:52, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote: > >>> (define-public python-hdlmake >>> - (let ((commit "3cb248fdad601c579b59fd7c194402871209bc54") >>> + (let ((commit "9338e3e7a8784e63d16496a3fa8234d9e5aa7621") >>> (revision "0")) >>> (package >>> (name "python-hdlmake") >>> - (version (git-version "3.3" revision commit)) >>> + (version (git-version "3.4dev1" revision commit)) >> >> The version here is not correct, according to (info "(guix) Version >> Numbers"). The version string of a git snapshot should be based on the >> latest upstream version, which is still 3.3. Since we're not bumping >> the version the revision number needs to go up by one. > > Once built and installed, ‘hdlmake --version’ returns "3.4dev1" as for > "hdlmake/_version.py", which is weird when one installs 3.3. I see. We could always use 3.4dev1 and add a comment telling the next person updating it where it comes from, e.g. ;; The git snapshot base version is taken from the 'hdlmake/_version.py' ;; source. It's a small thing though. I personally wouldn't bother.
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 2298dde595..e2a0b19a7d 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -776,26 +776,26 @@ (define-public openfpgaloader (license license:asl2.0))) (define-public python-hdlmake - (let ((commit "3cb248fdad601c579b59fd7c194402871209bc54") + (let ((commit "9338e3e7a8784e63d16496a3fa8234d9e5aa7621") (revision "0")) (package (name "python-hdlmake") - (version (git-version "3.3" revision commit)) + (version (git-version "3.4dev1" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://ohwr.org/project/hdl-make") + (url "https://gitlab.com/ohwr/project/hdl-make/") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "08ivnhxyp44agmifqb4pjbxj23p43qqcg73s2y2z1hqk2six3fdx")))) + (base32 "13d0zvpch0k758r2c2vq3vhd9nbydy01jnv2ddfvb6d3xpb4wzrj")))) (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") + (home-page "https://gitlab.com/ohwr/project/hdl-make/") (synopsis "Generate multi-purpose makefiles for HDL projects") (description "Hdlmake helps manage and share @acronym{HDL, hardware description