aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-07 22:55:08 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-07 23:46:01 +0100
commit7ec42f1d8a81908ca25cd8e7d14a60e719b63145 (patch)
treef15577b1051e0e8112ee730e853d856a9b9bfe0f
parent00f2bf34332c9d98e5772d7d61d62f2626ee8c72 (diff)
downloadguix-7ec42f1d8a81908ca25cd8e7d14a60e719b63145.tar
guix-7ec42f1d8a81908ca25cd8e7d14a60e719b63145.tar.gz
gnu: python-pycairo: Define 'python2-variant'.
* gnu/packages/gtk.scm (python-pycairo)[properties]: New field. (python2-pycairo): Use 'strip-python2-variant'.
-rw-r--r--gnu/packages/gtk.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 312bee8506..6e2a67d25c 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 <andreas@enge.fr>
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
@@ -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