Archived
1
0
Fork 0

gnu: python-efl: Update to 1.26.0.

* gnu/packages/enlightenment.scm (python-efl): Update to 1.26.0.
[inputs]: Add python-packaging.
[arguments]: Remove trailing #t from phases.
This commit is contained in:
Efraim Flashner 2022-09-13 12:05:25 +03:00
parent 1d7402c4ed
commit c2f9064f9b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -385,7 +385,7 @@ embedded systems.")
(define-public python-efl (define-public python-efl
(package (package
(name "python-efl") (name "python-efl")
(version "1.25.0") (version "1.26.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -393,7 +393,7 @@ embedded systems.")
"python/python-efl-" version ".tar.xz")) "python/python-efl-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0bk161xwlz4dlv56r68xwkm8snzfifaxd1j7w2wcyyk4fgvnvq4r")) "0dj6f24n33hkpy0bkdclnzpxhvs8vpaxqaf7hkw0di19pjwrq25h"))
(modules '((guix build utils))) (modules '((guix build utils)))
;; Remove files generated by Cython ;; Remove files generated by Cython
(snippet (snippet
@ -404,8 +404,7 @@ embedded systems.")
(when (file-exists? generated-file) (when (file-exists? generated-file)
(delete-file generated-file)))) (delete-file generated-file))))
(find-files "efl" "\\.pyx$")) (find-files "efl" "\\.pyx$"))
(delete-file "efl/eo/efl.eo_api.h") (delete-file "efl/eo/efl.eo_api.h")))))
#t))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -418,20 +417,18 @@ embedded systems.")
(lambda _ (lambda _
(setenv "CFLAGS" (setenv "CFLAGS"
(string-append "-I" (assoc-ref %build-inputs "python-dbus") (string-append "-I" (assoc-ref %build-inputs "python-dbus")
"/include/dbus-1.0")) "/include/dbus-1.0"))))
#t))
(add-before 'check 'set-environment (add-before 'check 'set-environment
(lambda _ (lambda _
;; Some tests require write access to HOME. ;; Some tests require write access to HOME.
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
;; These tests try to connect to the internet. ;; These tests try to connect to the internet.
(delete-file "tests/ecore/test_09_file_download.py") (delete-file "tests/ecore/test_09_file_download.py")
(delete-file "tests/ecore/test_11_con.py") (delete-file "tests/ecore/test_11_con.py"))))))
#t)))))
(native-inputs (native-inputs
(list pkg-config python-cython)) (list pkg-config python-cython))
(inputs (inputs
(list efl python-dbus)) (list efl python-dbus python-packaging))
(home-page "https://www.enlightenment.org/") (home-page "https://www.enlightenment.org/")
(synopsis "Python bindings for EFL") (synopsis "Python bindings for EFL")
(description (description