gnu: python-webassets: Update to 2.0.
* gnu/packages/python-web.scm (python-webassets): Update to 2.0. [arguments]: New field.
This commit is contained in:
parent
384aa00c7d
commit
e2ac59f984
1 changed files with 16 additions and 2 deletions
|
@ -3173,15 +3173,29 @@ for Flask.")
|
||||||
(define-public python-webassets
|
(define-public python-webassets
|
||||||
(package
|
(package
|
||||||
(name "python-webassets")
|
(name "python-webassets")
|
||||||
(version "0.12.1")
|
(version "2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "webassets" version))
|
(uri (pypi-uri "webassets" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nrqkpb7z46h2b77xafxihqv3322cwqv6293ngaky4j3ff4cing7"))))
|
"1kc1042jydgk54xpgcp0r1ib4gys91nhy285jzfcxj3pfqrk4w8n"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'check 'disable-some-tests
|
||||||
|
(lambda _
|
||||||
|
;; This test requires 'postcss' and 'babel' which are
|
||||||
|
;; not yet available in Guix.
|
||||||
|
(delete-file "tests/test_filters.py")
|
||||||
|
#t))
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH"
|
||||||
|
(string-append "./build/lib:"
|
||||||
|
(getenv "PYTHONPATH")))
|
||||||
|
(invoke "pytest" "-vv"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-jinja2" ,python-jinja2)
|
`(("python-jinja2" ,python-jinja2)
|
||||||
("python-mock" ,python-mock)
|
("python-mock" ,python-mock)
|
||||||
|
|
Reference in a new issue