gnu: python-cffi: Update to 1.2.1.

* gnu/packages/python.scm (python-cffi): Update to 1.2.1.
  [native-inputs]: Add python-pytest.
  [arguments]: Enable tests.
This commit is contained in:
Ricardo Wurmus 2015-09-21 22:41:53 +02:00
parent a77adfe022
commit 4179f952bf
1 changed files with 4 additions and 4 deletions

View File

@ -3390,14 +3390,14 @@ a front-end for C compilers or analysis tools.")
(define-public python-cffi (define-public python-cffi
(package (package
(name "python-cffi") (name "python-cffi")
(version "0.8.6") (version "1.2.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://pypi.python.org/packages/source/c/" (uri (string-append "https://pypi.python.org/packages/source/c/"
"cffi/cffi-" version ".tar.gz")) "cffi/cffi-" version ".tar.gz"))
(sha256 (sha256
(base32 "0406j3sgndmx88idv5zxkkrwfqxmjl18pj8gf47nsg4ymzixjci5")))) (base32 "0g8yfzinry1vsj6d1jlnd19338bh92lhhk207ksy4lm1n3g73dga"))))
(build-system python-build-system) (build-system python-build-system)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(inputs (inputs
@ -3407,10 +3407,10 @@ a front-end for C compilers or analysis tools.")
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx) ("python-sphinx" ,python-sphinx)
("python-pytest" ,python-pytest)
("python-setuptools" ,python-setuptools))) ("python-setuptools" ,python-setuptools)))
(arguments (arguments
`(#:tests? #f ; FIXME: requires pytest `(#:phases
#:phases
(alist-cons-after (alist-cons-after
'install 'install-doc 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)