GNU bug report logs - #66065
[PATCH] gnu: python-fit-nbinom: Remove syntax error in setup.py.

Previous Next

Package: guix-patches;

Reported by: Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>

Date: Mon, 18 Sep 2023 04:43:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66065 in the body.
You can then email your comments to 66065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to rekado <at> elephly.net, guix-patches <at> gnu.org:
bug#66065; Package guix-patches. (Mon, 18 Sep 2023 04:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to rekado <at> elephly.net, guix-patches <at> gnu.org. (Mon, 18 Sep 2023 04:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: python-fit-nbinom: Remove syntax error in setup.py.
Date: Mon, 18 Sep 2023 06:35:33 +0200
* gnu/packages/python-xyz.scm (python-fit-nbinom)[arguments]: Add
phase remove-invalid-syntax.
---
 gnu/packages/python-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd3f987475..59f804128c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -582,6 +582,14 @@ (define-public python-fit-nbinom
                (base32
                 "12v8l5i35vjbpvh5i4lw29ys6vpr3z7pysyrx33hxaq09zr015mx"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-invalid-syntax
+            (lambda _
+              (substitute* "setup.py"
+                ((".\\*\"") "\"")))))))
     (propagated-inputs (list python-numpy python-scipy))
     (home-page "https://github.com/joachimwolff/fit_nbinom")
     (synopsis "Negative binomial maximum likelihood estimator")

base-commit: 1d30ec935126f316187dfc26446347bc7de9868b
-- 
2.41.0





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 18 Sep 2023 08:38:01 GMT) Full text and rfc822 format available.

Notification sent to Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>:
bug acknowledged by developer. (Mon, 18 Sep 2023 08:38:02 GMT) Full text and rfc822 format available.

Message #10 received at 66065-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 66065-done <at> debbugs.gnu.org
Subject: Re: [bug#66065] [PATCH] gnu: python-fit-nbinom: Remove syntax error
 in setup.py.
Date: Mon, 18 Sep 2023 10:37:21 +0200
Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de> writes:

> * gnu/packages/python-xyz.scm (python-fit-nbinom)[arguments]: Add
> phase remove-invalid-syntax.

Applied, thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Oct 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 207 days ago.

Previous Next


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