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.

Full log


View this message in rfc822 format

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: 66065 <at> debbugs.gnu.org
Cc: rekado <at> elephly.net
Subject: [bug#66065] [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





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

Previous Next


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