guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: bambam: Remove wrap-binary phase.


From: Eric Bavier
Subject: 01/01: gnu: bambam: Remove wrap-binary phase.
Date: Wed, 31 Aug 2016 17:19:40 +0000 (UTC)

bavier pushed a commit to branch master
in repository guix.

commit 46a0622481c398bd9337522e93f6f9082d2b9015
Author: Eric Bavier <address@hidden>
Date:   Wed Aug 31 12:16:19 2016 -0500

    gnu: bambam: Remove wrap-binary phase.
    
    Functionality provided already by python-build-system.
    
    * gnu/packages/games.scm (bambam)[arguments]: Remove 'wrap-binary phase.
    [synopsis]: Capitalize first word.
---
 gnu/packages/games.scm |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9e44fbc..88330c7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2798,8 +2798,7 @@ programmers may also add their own favorite language.")
          (add-before 'install 'patch-data-dir-location
            (lambda _
              (substitute* "bambam.py"
-                          (("'data'")
-                           "'../share/bambam/data'"))
+               (("'data'") "'../share/bambam/data'"))
              #t))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
@@ -2810,18 +2809,11 @@ programmers may also add their own favorite language.")
                (copy-file "bambam.py" (string-append bin "/bambam"))
                (install-file "bambam.6" (string-append share "/man/man6"))
                (copy-recursively "data" (string-append share "/bambam/data")))
-             #t))
-         (add-after 'install 'wrap-binary
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (bin (string-append out "/bin/bambam")))
-               (wrap-program bin
-                 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))
              #t)))))
     (inputs
      `(("python-pygame" ,python-pygame)))
     (home-page "https://github.com/porridge/bambam";)
-    (synopsis "keyboard mashing and doodling game for babies")
+    (synopsis "Keyboard mashing and doodling game for babies")
     (description "Bambam is a simple baby keyboard (and gamepad) masher
 application that locks the keyboard and mouse and instead displays bright
 colors, pictures, and sounds.")



reply via email to

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