GNU bug report logs - #76320
[PATCH] gnu: python-awesomeversion: Set version.

Previous Next

Package: guix-patches;

Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>

Date: Sun, 16 Feb 2025 04:55:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Evgeny Pisemsky <mail <at> pisemsky.site>
To: 76320 <at> debbugs.gnu.org
Cc: Lars-Dominik Braun <lars <at> 6xq.net>, Marius Bakke <marius <at> gnu.org>, Munyoki Kilyungi <me <at> bonfacemunyoki.com>, Sharlatan Hellseher <sharlatanus <at> gmail.com>, Tanguy Le Carrour <tanguy <at> bioneland.org>, jgart <jgart <at> dismail.de>
Subject: [bug#76320] [PATCH] gnu: python-awesomeversion: Set version.
Date: Sun, 16 Feb 2025 07:53:48 +0300
* gnu/packages/python-xyz.scm (python-awesomeversion): Set version.
[source]: Set actual version in pyproject.toml file.

Change-Id: Ib0625d3094989d65f0031c002ae7ef3f531c0b56
---
 gnu/packages/python-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bb0ab777d5..236e39cf34 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -445,7 +445,11 @@ (define-public python-awesomeversion
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1kvzhhd2ah0sadlsp5xs3qbiknixq4xwhk3yb6kmhcdl2zcbi4cn"))))
+        (base32 "1kvzhhd2ah0sadlsp5xs3qbiknixq4xwhk3yb6kmhcdl2zcbi4cn"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "pyproject.toml"
+                    (("version = \"0\"")
+                     (format #f "version = \"~a\"" #$version))))))
     (build-system pyproject-build-system)
     (native-inputs
      (list python-poetry-core

base-commit: 696f2acbc7ba0ab7874d7ee4766135b623f88424
-- 
2.48.1





This bug report was last modified 93 days ago.

Previous Next


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