aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-07 22:52:30 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-07 23:46:01 +0100
commit00f2bf34332c9d98e5772d7d61d62f2626ee8c72 (patch)
treeaf57f526d26ed436c13b9139b2d70c901c8447e1
parent1be83341f6974a84a0923bdf6cac63ccd8d5cbb2 (diff)
downloadguix-00f2bf34332c9d98e5772d7d61d62f2626ee8c72.tar
guix-00f2bf34332c9d98e5772d7d61d62f2626ee8c72.tar.gz
gnu: python-pygobject: Define 'python2-variant'.
* gnu/packages/glib.scm (python-pygobject)[properties]: New field. (python2-pygobject): Use 'strip-python2-variant'.
-rw-r--r--gnu/packages/glib.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ec1b953c83..e7c51b73a6 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 <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
@@ -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)