guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 12/13] gnu: Add python2-pygtk.


From: Ludovic Courtès
Subject: Re: [PATCH 12/13] gnu: Add python2-pygtk.
Date: Fri, 21 Nov 2014 23:10:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Eric Bavier <address@hidden> skribis:

> * gnu/packages/gtk.scm (python2-pygtk): New variable.

[...]

> +       #:phases (alist-cons-after
> +                 'install 'install-pth
> +                 (lambda* (#:key inputs outputs #:allow-other-keys)
> +                   (let* ((out    (assoc-ref outputs "out"))
> +                          (site   (string-append out "/lib/python"
> +                                                 ,(version-major+minor
> +                                                   (package-version 
> python-2))
> +                                                 "/site-packages")))
> +                     (call-with-output-file (string-append site "/pygtk.pth")
> +                       (lambda (port)
> +                         (format port "gtk-2.0~%")))))

Please add a comment below ‘lambda*’ explaining what’s being done here.

> +    (synopsis "Python bindings for GTK")

“GTK+”

> +    (description
> +     "PyGTK allows you to write full featured GTK programs in Python.  It is
> +targetted at GTK 2.x, and can be used in conjunction with gnome-python to
> +write Gnome applications.")

Should be “GTK+” and “GNOME”.

OK to push with these changes!

Ludo’.



reply via email to

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