gnu: python-efl: Update to 1.21.0.

* gnu/packages/enlightenment.scm (python-efl): Update to 1.21.0.
[source]: Don't use pypi source.
[arguments]: Delete network tests.
This commit is contained in:
Efraim Flashner 2018-09-03 17:32:21 +03:00
parent 290bef39f6
commit 0cc6447669
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -312,35 +312,36 @@ embedded systems.")
(define-public python-efl (define-public python-efl
(package (package
(name "python-efl") (name "python-efl")
(version "1.20.0") (version "1.21.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (list (uri (string-append "http://download.enlightenment.org/rel/bindings/"
(pypi-uri "python-efl" version) "python/python-efl-" version ".tar.xz"))
(string-append "http://download.enlightenment.org/rel/bindings/"
"python/python-efl-" version ".tar.gz")))
(sha256 (sha256
(base32 (base32
"1680pgpf501nhbc9arm0nfj6rpcw17aryh0pgmmmszxlgpifpdzy")))) "08x2cv8hnf004c3711250wrax21ffj5y8951pvk77h98als4pq47"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'build (replace 'build
(lambda _ (lambda _
(zero? (setenv "ENABLE_CYTHON" "1")
(system* "env" "ENABLE_CYTHON=1" "python" "setup.py" "build")))) (invoke "python" "setup.py" "build")))
(add-before 'build 'set-flags (add-before 'build 'set-flags
(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)) #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.
(delete-file "tests/ecore/test_09_file_download.py")
(delete-file "tests/ecore/test_11_con.py")
#t))))) #t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)