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
1 changed files with 13 additions and 3 deletions

View File

@ -350,15 +350,25 @@ embedded systems.")
(define-public python-efl (define-public python-efl
(package (package
(name "python-efl") (name "python-efl")
(version "1.21.0") (version "1.22.0")
(source (source
(origin (origin
(method url-fetch) (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")) "python/python-efl-" version ".tar.xz"))
(sha256 (sha256
(base32 (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) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases