gnu: python-pycairo: Define 'python2-variant'.
* gnu/packages/gtk.scm (python-pycairo)[properties]: New field. (python2-pycairo): Use 'strip-python2-variant'.
This commit is contained in:
parent
00f2bf3433
commit
7ec42f1d8a
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
;;; 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, 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
||||||
|
@ -968,10 +968,11 @@ extensive documentation, including API reference and a tutorial.")
|
||||||
(synopsis "Python bindings for cairo")
|
(synopsis "Python bindings for cairo")
|
||||||
(description
|
(description
|
||||||
"Pycairo is a set of Python bindings for the Cairo graphics library.")
|
"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
|
(define-public python2-pycairo
|
||||||
(package (inherit python-pycairo)
|
(package (inherit (strip-python2-variant python-pycairo))
|
||||||
(name "python2-pycairo")
|
(name "python2-pycairo")
|
||||||
(version "1.10.0")
|
(version "1.10.0")
|
||||||
(source
|
(source
|
||||||
|
|
Loading…
Reference in New Issue