Subject: [PATCH] gnu: Add python2-gyp

From: [email-masked]
Date: Fri, 02 Feb 2018 23:22:08 -0500

- From 1eff5aea55f171a09ab65bd7f75e39cd05ffd88b Mon Sep 17 00:00:00 2001
From: dpg <[email-masked]>
Date: Fri, 2 Feb 2018 20:44:32 -0500
Subject: [PATCH 1/2] Initial changes (not tested)

- ---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 832afe835..690666e1d 100644
- --- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;; Copyright © 2017 Muriithi Frederick Muriuki <[email-masked]>
 ;;; Copyright © 2017 Brendan Tildesley <[email-masked]>
+;;; Copyright © 2017 Ethan R. Jones <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12180,3 +12181,30 @@ such as figshare or Zenodo.")
 
 (define-public python2-semver
   (package-with-python2 python-semver))
+
+(define-public python-gyp
+  (package
+    (name "python-gyp")
+    ;; Google does not release versions, based on second most recent commit
date.
+    (version "2017-10-11")
+    (source
+     (origin
+     ;; Google does not release tarballs, git checkout is needed. 
+       (method git-fetch)
+          (uri (git-reference
+            (url "https://chromium.googlesource.com/external/gyp")
+            (commit "5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f")))
+      (sha256
+        (base32
+         "1xpswckilk29v5rkrkzy9w2ahbvqywp5j6l4c4ix57z360w1f4xi"))))
+    (build-system python-build-system)
+    (home-page "https://gyp.gsrc.io/")
+    (synopsis "GYP is a Meta-Build system")
+    (description
+     "GYP builds build systems for large, cross platform applications. 
+It can be used to generate XCode projects, Visual Studio projects, 
+Ninja build files, and Makefiles.").
+    (license license:bsd-3)))
+
+(define-public python2-gyp
+  (package-with-python2 python-gyp))
- -- 
2.14.1

- From dc8cc1e5fbc8211fc691530291428acc71274b3a Mon Sep 17 00:00:00 2001
From: DoublePlusGood <[email-masked]>
Date: Fri, 2 Feb 2018 23:02:37 -0500
Subject: [PATCH 2/2] gnu: Added python2-gyp

* gnu/packages/python.scm: New copyright
* gnu/packages/python.scm (python2-gyp): Added meta-builder gyp
- ---
 gnu/packages/python.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 690666e1d..967aad50a 100644
- --- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12185,25 +12185,27 @@ such as figshare or Zenodo.")
 (define-public python-gyp
   (package
     (name "python-gyp")
- -    ;; Google does not release versions, based on second most recent commit
date.
+    ;; Google does not release versions,
+    ;; based on second most recent commit date.
     (version "2017-10-11")
     (source
      (origin
- -     ;; Google does not release tarballs, git checkout is needed. 
+       ;; Google does not release tarballs,
+       ;; git checkout is needed.
        (method git-fetch)
- -          (uri (git-reference
- -            (url "https://chromium.googlesource.com/external/gyp")
- -            (commit "5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f")))
- -      (sha256
+       (uri (git-reference
+             (url "https://chromium.googlesource.com/external/gyp")
+             (commit "5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f")))
+       (sha256
         (base32
- -         "1xpswckilk29v5rkrkzy9w2ahbvqywp5j6l4c4ix57z360w1f4xi"))))
+         "0fr7nxcrk292djmxzpcjaphnsd123k31gp8jnd91vwknhq6snmv9"))))
     (build-system python-build-system)
     (home-page "https://gyp.gsrc.io/")
     (synopsis "GYP is a Meta-Build system")
     (description
- -     "GYP builds build systems for large, cross platform applications. 
- -It can be used to generate XCode projects, Visual Studio projects, 
- -Ninja build files, and Makefiles.").
+     "GYP builds build systems for large, cross platform applications.
+It can be used to generate XCode projects, Visual Studio projects,
+Ninja build files, and Makefiles.")
     (license license:bsd-3)))
 
 (define-public python2-gyp