gnu: python-debian: Update to 0.1.36.
* gnu/packages/python-xyz (python-debian): Update to 0.1.36. [source]: Switch to using git-fetch. [arguments]: Add phase to delete tests depending on tools not yet present in guix. [propagated-inputs]: Add python-chardet.master
parent
f791b1eecc
commit
9f74bd317f
|
@ -7490,17 +7490,31 @@ serve the same purpose: provide Python bindings for libmagic.")))
|
||||||
(package
|
(package
|
||||||
(name "python-debian")
|
(name "python-debian")
|
||||||
(home-page "https://salsa.debian.org/python-debian-team/python-debian")
|
(home-page "https://salsa.debian.org/python-debian-team/python-debian")
|
||||||
(version "0.1.28")
|
(version "0.1.36")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
;; Use git-fetch, as pypi doesn't include test suite.
|
||||||
(uri (pypi-uri name version))
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url home-page)
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i15f0xzx679sd0ldq2sls9pnnps9fv6vhqvnv9dzf4qhma42i0y"))))
|
"0qy6x28bj6yfikhjww932v5xq4mf5bm1iczl7acy4c7zm6mwhqfa"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-debian-specific-tests
|
||||||
|
;; python-apt, apt and dpkg are not yet available in guix,
|
||||||
|
;; and these tests heavily depend on them.
|
||||||
|
(lambda _
|
||||||
|
(delete-file "lib/debian/tests/test_deb822.py")
|
||||||
|
(delete-file "lib/debian/tests/test_debfile.py")
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-six" ,python-six)))
|
`(("python-six" ,python-six)
|
||||||
|
("python-chardet" ,python-chardet)))
|
||||||
(synopsis "Debian package related modules")
|
(synopsis "Debian package related modules")
|
||||||
(description
|
(description
|
||||||
;; XXX: Use @enumerate instead of @itemize to work around
|
;; XXX: Use @enumerate instead of @itemize to work around
|
||||||
|
|
Reference in New Issue