all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: 66065@debbugs.gnu.org
Cc: rekado@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	[thread overview]
Message-ID: <20230918044214.18582-1-madalinionel.patrascu@mdc-berlin.de> (raw)

* 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	other threads:[~2023-09-18  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18  4:35 Mădălin Ionel Patrașcu [this message]
2023-09-18  8:37 ` bug#66065: [PATCH] gnu: python-fit-nbinom: Remove syntax error in setup.py Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230918044214.18582-1-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=66065@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.