gnu: python-efl: Update to 1.22.0.

* gnu/packages/enlightenment.scm (python-efl): Update to 1.22.0.
[source]: Use https.  Add snippet to remove files generated by cython.
This commit is contained in:
Efraim Flashner 2019-05-08 19:45:58 +03:00
parent 944bdb2afe
commit e54a6543a0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -350,15 +350,25 @@ (define-public enlightenment
(define-public python-efl
(package
(name "python-efl")
(version "1.21.0")
(version "1.22.0")
(source
(origin
(method url-fetch)
(uri (string-append "http://download.enlightenment.org/rel/bindings/"
(uri (string-append "https://download.enlightenment.org/rel/bindings/"
"python/python-efl-" version ".tar.xz"))
(sha256
(base32
"08x2cv8hnf004c3711250wrax21ffj5y8951pvk77h98als4pq47"))))
"1qhy63c3fs2bxkx2np5z14hyxbr12ii030crsjnhpbyw3mic0s63"))
(modules '((guix build utils)))
;; Remove files generated by Cython
(snippet
'(begin
(copy-file "efl/dbus_mainloop/e_dbus.c" "efl/dbus_mainloop/e_dbus.q")
(for-each delete-file (find-files "efl" ".*\\.c$"))
(delete-file "efl/eo/efl.eo_api.h")
(copy-file "efl/dbus_mainloop/e_dbus.q" "efl/dbus_mainloop/e_dbus.c")
(delete-file "efl/dbus_mainloop/e_dbus.q")
#t))))
(build-system python-build-system)
(arguments
'(#:phases