From 00f2bf34332c9d98e5772d7d61d62f2626ee8c72 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 7 Feb 2016 22:52:30 +0100 Subject: 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 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/packages') 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 +;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2014, 2015 Mark H Weaver @@ -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) -- cgit v1.2.3