gnu: python-parted: Update to 3.12.0.

* gnu/packages/disk.scm (python-parted): Update to 3.12.0.
[arguments]: Run the default 'check phase at the default time.
This commit is contained in:
Tobias Geerinckx-Rice 2022-06-12 02:00:05 +02:00
parent 824f2afcf0
commit 67ff676792
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -718,7 +718,7 @@ a card with a smaller capacity than stated.")
(define-public python-parted
(package
(name "python-parted")
(version "3.11.7")
(version "3.12.0")
(source
(origin
(method git-fetch)
@ -727,20 +727,8 @@ a card with a smaller capacity than stated.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01193fmkss9icjvqpw85szpk8ld1pnha7p9kqm7mpwk6rc6gi2m3"))))
(base32 "0jxc1i1g3lz32wvqvdbb9ng2ypin783004kjnp0pghiz813lpw1d"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs inputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
;; See <https://github.com/dcantrell/pyparted/issues/47>.
(substitute* "tests/test__ped_ped.py"
(("\"/tmp/temp-device-\"") "self.path"))
(invoke "python" "-m" "unittest" "discover" "-v")
#t)))))
(native-inputs
(list e2fsprogs pkg-config))
(propagated-inputs