mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-distro: Update to 1.9.0.
* gnu/packages/python-xyz.scm (python-distro): Update to 1.9.0. [build-system]: Use pyproject. [arguments] <test-flags>: Skip 3 tests. [native-inputs]: Add python-setuptools. [home-page]: Fix permanent redirect. Change-Id: I64acf4c3811f2b0e97abc2a6f568fe55a0ab9693
This commit is contained in:
parent
cbd0a06042
commit
63a2a321a4
1 changed files with 17 additions and 8 deletions
|
@ -31646,20 +31646,29 @@ for manual interpretation.")
|
||||||
(define-public python-distro
|
(define-public python-distro
|
||||||
(package
|
(package
|
||||||
(name "python-distro")
|
(name "python-distro")
|
||||||
(version "1.6.0")
|
(version "1.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "distro" version))
|
(uri (pypi-uri "distro" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1vfvkgfvrjpxpb48pf8rs2l5wfxij0plmffnw5p123wlv1ppr9rg"))))
|
||||||
"09441261dd3c8b2gv15vhw1cryzg60lmgpkk07v6hpwwkyhfbxc3"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-k" (string-join
|
||||||
|
;; We are not on Ubunto distro:
|
||||||
|
;; AssertionError: assert '' == 'ubuntu'.
|
||||||
|
(list "not test_ubuntu14normal_lsb_release"
|
||||||
|
"test_trailingblanks_lsb_release"
|
||||||
|
"test_ubuntu14nomodules_lsb_release")
|
||||||
|
" and not "))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest
|
||||||
(home-page "https://github.com/nir0s/distro")
|
python-setuptools))
|
||||||
(synopsis
|
(home-page "https://github.com/python-distro/distro")
|
||||||
"OS platform information API")
|
(synopsis "OS platform information API")
|
||||||
(description
|
(description
|
||||||
"@code{distro} provides information about the OS distribution it runs on,
|
"@code{distro} provides information about the OS distribution it runs on,
|
||||||
such as a reliable machine-readable ID, or version information.
|
such as a reliable machine-readable ID, or version information.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue