gnu: python-cssutils: Update to 2.6.0.
Resending second patch with a better commit message. * gnu/packages/python-web.scm (python-cssutils): Update to 2.6.0. [build-system]: Switch to pyproject-build-system. [arguments]: Enable tests. [native-inputs]: Remove unzip; add python-pytest and python-jaraco-test. [homepage]: Update it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
6e80fa2f3c
commit
bac28a52cb
|
@ -1978,20 +1978,29 @@ for clients and servers.")
|
||||||
(define-public python-cssutils
|
(define-public python-cssutils
|
||||||
(package
|
(package
|
||||||
(name "python-cssutils")
|
(name "python-cssutils")
|
||||||
(version "1.0.2")
|
(version "2.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "cssutils" version))
|
(uri (pypi-uri "cssutils" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bxchrbqzapwijap0yhlxdil1w9bmwvgx77aizlkhc2mcxjg1z52"))))
|
"13l1y0xr3fgbl95w3pinb5av5dqk2ip39pih6vgrz47c3hyd5p7p"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs
|
|
||||||
(list unzip)) ; for unpacking the source
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ; tests require python-pbr < 1.7.0
|
(list
|
||||||
(home-page "https://cthedot.de/cssutils/")
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "pytest" "-vv" "-k"
|
||||||
|
;; disable tests requiring network
|
||||||
|
(string-append "not test_parseUrl "
|
||||||
|
"and not encutils "
|
||||||
|
"and not website.logging")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest python-jaraco-test))
|
||||||
|
(home-page "https://github.com/jaraco/cssutils")
|
||||||
(synopsis
|
(synopsis
|
||||||
"CSS Cascading Style Sheets library for Python")
|
"CSS Cascading Style Sheets library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue