guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-fit-nbinom: Remove syntax error in se


From: guix-commits
Subject: branch master updated: gnu: python-fit-nbinom: Remove syntax error in setup.py.
Date: Mon, 18 Sep 2023 04:36:55 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 83598dafb9 gnu: python-fit-nbinom: Remove syntax error in setup.py.
83598dafb9 is described below

commit 83598dafb971fda9206f14cf46d072e04e27fd43
Author: Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
AuthorDate: Mon Sep 18 06:35:33 2023 +0200

    gnu: python-fit-nbinom: Remove syntax error in setup.py.
    
    * gnu/packages/python-xyz.scm (python-fit-nbinom)[arguments]: Add
    phase 'remove-invalid-syntax.
    
    Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
 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..e96f4a2d0d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -582,6 +582,14 @@ and variables you'll need already imported and created.
                (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]