guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: python-pycairo: Define 'python2-variant'.


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

civodul pushed a commit to branch master
in repository guix.

commit 7ec42f1d8a81908ca25cd8e7d14a60e719b63145
Author: Ludovic Courtès <address@hidden>
Date:   Sun Feb 7 22:55:08 2016 +0100

    gnu: python-pycairo: Define 'python2-variant'.
    
    * gnu/packages/gtk.scm (python-pycairo)[properties]: New field.
    (python2-pycairo): Use 'strip-python2-variant'.
---
 gnu/packages/gtk.scm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 312bee8..6e2a67d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Andreas Enge <address@hidden>
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014 Eric Bavier <address@hidden>
 ;;; Copyright © 2015 Federico Beffa <address@hidden>
@@ -968,10 +968,11 @@ extensive documentation, including API reference and a 
tutorial.")
     (synopsis "Python bindings for cairo")
     (description
      "Pycairo is a set of Python bindings for the Cairo graphics library.")
-    (license license:lgpl3+)))
+    (license license:lgpl3+)
+    (properties `((python2-variant . ,(delay python2-pycairo))))))
 
 (define-public python2-pycairo
-  (package (inherit python-pycairo)
+  (package (inherit (strip-python2-variant python-pycairo))
     (name "python2-pycairo")
     (version "1.10.0")
     (source



reply via email to

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