guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: python-pygobject: Define 'python2-variant'.


From: Ludovic Courtès
Subject: 03/06: gnu: python-pygobject: Define 'python2-variant'.
Date: Sun, 07 Feb 2016 22:46:11 +0000

civodul pushed a commit to branch master
in repository guix.

commit 00f2bf34332c9d98e5772d7d61d62f2626ee8c72
Author: Ludovic Courtès <address@hidden>
Date:   Sun Feb 7 22:52:30 2016 +0100

    gnu: python-pygobject: Define 'python2-variant'.
    
    * gnu/packages/glib.scm (python-pygobject)[properties]: New field.
    (python2-pygobject): Use 'strip-python2-variant'.
---
 gnu/packages/glib.scm |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ec1b953..e7c51b7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2013, 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
@@ -26,6 +26,7 @@
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
@@ -551,10 +552,11 @@ useful for C++.")
     (synopsis "Python bindings for GObject")
     (description
      "Python bindings for GLib, GObject, and GIO.")
-    (license license:lgpl2.1+)))
+    (license license:lgpl2.1+)
+    (properties `((python2-variant . ,(delay python2-pygobject))))))
 
 (define-public python2-pygobject
-  (package (inherit python-pygobject)
+  (package (inherit (strip-python2-variant python-pygobject))
     (name "python2-pygobject")
     (inputs
      `(("python" ,python-2)



reply via email to

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