[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’.
- Re: [PATCH 08/13] gnu: Add python-elib.intl., (continued)
- [PATCH 09/13] guix: Add MPL1.1 license., Eric Bavier, 2014/11/21
- [PATCH 10/13] gnu: Add python-pycairo., Eric Bavier, 2014/11/21
- [PATCH 11/13] gnu: Add python-pygobject., Eric Bavier, 2014/11/21
- [PATCH 13/13] gnu: Add gourmet., Eric Bavier, 2014/11/21
- [PATCH 12/13] gnu: Add python2-pygtk., Eric Bavier, 2014/11/21
- Re: [PATCH 12/13] gnu: Add python2-pygtk.,
Ludovic Courtès <=
- Re: [PATCH 00/13] Add gourmet (and dependent python packages), Andreas Enge, 2014/11/21