Eric Bavier <ericbav...@gmail.com> 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