guix-commits
[Top][All Lists]
Advanced

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

19/25: gnu: python-shellingham: Update to 1.3.2.


From: guix-commits
Subject: 19/25: gnu: python-shellingham: Update to 1.3.2.
Date: Sat, 13 Jun 2020 18:49:32 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a5d40ee7acd80d0472c64cd697f27045fffa4167
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jun 13 21:07:11 2020 +0200

    gnu: python-shellingham: Update to 1.3.2.
    
    * gnu/packages/python-xyz.scm (python-shellingham): Update to 1.3.2.
    [arguments]: Add ‘restore-setup.py’ phase.
---
 gnu/packages/python-xyz.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf2e7de..7506f78 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11749,17 +11749,26 @@ implementation has been adapted, improved, and fixed 
from Molten.")
 (define-public python-shellingham
   (package
     (name "python-shellingham")
-    (version "1.3.1")
+    (version "1.3.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "shellingham" version))
        (sha256
-        (base32
-         "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq"))))
+        (base32 "07kmia2hvd2q7wik89m82hig9mqr2faynvy38vxq5fm0ps11jv2p"))))
     (build-system python-build-system)
-    (home-page
-     "https://github.com/sarugaku/shellingham";)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'restore-setup.py
+           ;; setup.py will return in the next release.
+           ;; <https://github.com/sarugaku/shellingham/issues/33>
+           (lambda _
+             (with-output-to-file "setup.py"
+               (lambda _
+                 (display "from setuptools import setup\nsetup()\n")))
+             #t)))))
+    (home-page "https://github.com/sarugaku/shellingham";)
     (synopsis "Tool to detect surrounding shell")
     (description
      "Shellingham detects what shell the current Python executable is



reply via email to

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