aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-05-08 19:45:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-05-08 19:55:13 +0300
commite54a6543a09fe785824f7bdf47a6a8a7721190ce (patch)
treeca01cdaaa609da69b62b0806fb0445e03f0004ba
parent944bdb2afe1e13dd3da345744f5f4437aca43b0f (diff)
downloadguix-e54a6543a09fe785824f7bdf47a6a8a7721190ce.tar.gz
guix-e54a6543a09fe785824f7bdf47a6a8a7721190ce.zip
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.
-rw-r--r--gnu/packages/enlightenment.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 419bcbd564..7bb358e515 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -350,15 +350,25 @@ embedded systems.")
(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