gnu: python-cairocffi: Update to 0.9.0.
* gnu/packages/python.scm (python-cairocffi): Update to 0.9.0. [source](uri): Use PYPI-URI. [native-inputs]: Add PYTHON-PYTEST-COV and PYTHON-PYTEST-RUNNER. [arguments]: Remove #:tests? and outdated comment.
This commit is contained in:
parent
a1d3874293
commit
57dac1ee93
|
@ -4078,17 +4078,14 @@ support for Python 3 and PyPy. It is based on cffi.")
|
||||||
(define-public python-cairocffi
|
(define-public python-cairocffi
|
||||||
(package
|
(package
|
||||||
(name "python-cairocffi")
|
(name "python-cairocffi")
|
||||||
(version "0.8.0")
|
(version "0.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
;; The archive on pypi is missing the 'utils' directory!
|
(uri (pypi-uri "cairocffi" version))
|
||||||
(uri (string-append "https://github.com/Kozea/cairocffi/archive/v"
|
|
||||||
version ".tar.gz"))
|
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1rk2dvy3fxrga6bvvxc2fi5lbaynm5h4a0w0aaxyn3bc77rszjg9"))
|
"0dq3k4zhqd8cwsf3nyjqvjqm8wkvrjn1wjf44rl3v0h8kqx6qf0m"))
|
||||||
(patches (search-patches "python-cairocffi-dlopen-path.patch"))))
|
(patches (search-patches "python-cairocffi-dlopen-path.patch"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
|
@ -4101,14 +4098,14 @@ support for Python 3 and PyPy. It is based on cffi.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("python-pytest" ,python-pytest)
|
("python-pytest" ,python-pytest)
|
||||||
|
("python-pytest-cov" ,python-pytest-cov)
|
||||||
|
("python-pytest-runner" ,python-pytest-runner)
|
||||||
("python-sphinx" ,python-sphinx)
|
("python-sphinx" ,python-sphinx)
|
||||||
("python-docutils" ,python-docutils)))
|
("python-docutils" ,python-docutils)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-xcffib" ,python-xcffib))) ; used at run time
|
`(("python-xcffib" ,python-xcffib))) ; used at run time
|
||||||
(arguments
|
(arguments
|
||||||
`(;; FIXME: Tests cannot find 'libcairo.so.2'.
|
`(#:phases
|
||||||
#:tests? #t
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-paths
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue