emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#53046: closed ([PATCH] gnu: python-args: Patch reference to basestri


From: GNU bug Tracking System
Subject: bug#53046: closed ([PATCH] gnu: python-args: Patch reference to basestring.)
Date: Thu, 04 Aug 2022 09:10:02 +0000

Your message dated Thu, 04 Aug 2022 11:09:39 +0200
with message-id <874jyspe7g.fsf_-_@gnu.org>
and subject line Re: bug#53046: [PATCH] gnu: python-args: Patch reference to 
basestring.
has caused the debbugs.gnu.org bug report #53046,
regarding [PATCH] gnu: python-args: Patch reference to basestring.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
53046: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53046
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python-args: Patch reference to basestring. Date: Thu, 6 Jan 2022 11:21:02 +0100
This fixes a build failure in the 'sanity-check' phase.

* gnu/packages/python-xyz.scm (python-args)[arguments]:
Replace reference to basestring with str.
---
 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 c9a0b7d6bf..0d9bfb1711 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13013,6 +13013,14 @@ (define-public python-args
                (base32
                 "057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-args.py
+           (lambda _
+             (substitute* "args.py"
+               (("basestring") "str"))
+             #t)))))
     (home-page "https://github.com/kennethreitz/args";)
     (synopsis "Command-line argument parser")
     (description
-- 
2.34.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#53046: [PATCH] gnu: python-args: Patch reference to basestring. Date: Thu, 04 Aug 2022 11:09:39 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Hi Tanguy,

Tanguy Le Carrour <tanguy@bioneland.org> skribis:

> * gnu/packages/python-xyz.scm (python-args)[source]: Use the latest version
> from the git repository to get the test suite.
> [home-page]: Update URL.
> [native-inputs]: Add python-nose.
> [arguments]: Replace reference to basestring with str. Invoke nosetests.

Finally applied, sorry for the delay, and thanks for reminding us!  :-)

Ludo’.


--- End Message ---

reply via email to

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