mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-26 04:00:30 +02:00
gnu: python-pyfavicon: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pyfavicon): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend, #:test-flags>: Configure tests. [native-inputs]: Add python-setuptools. Change-Id: I358e4317f0a58d88bfdd95462256ba6c2aaacbef Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
129fc48834
commit
7909a4f872
@@ -28315,15 +28315,26 @@ user's @file{~/Trash} directory.")
|
||||
(version "0.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pyfavicon" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/bilelmoussaoui/pyfavicon")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "15wfpa99hvcfsv8j0m8iprmydi2p4qkhm86qfx485244y0ia5mgx"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "04mx8vbi6j9l8daqa18sv0kkcyqv4wbc9z4ma77w68baq6ss0jzf"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
;; There are no tests in the PyPI tarball and the tests from the
|
||||
;; repository require online data.
|
||||
'(#:tests? #f))
|
||||
(list
|
||||
#:test-backend #~'unittest
|
||||
#:test-flags
|
||||
#~(list "-k" (string-join (list
|
||||
;; Socket name resolution fails.
|
||||
"not test_url_icon_link_type"
|
||||
"test_icon_sizes"
|
||||
;; Tuples differ.
|
||||
"test_largest_icon")
|
||||
" and not "))))
|
||||
(native-inputs (list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-aiohttp python-beautifulsoup4 python-pillow))
|
||||
(home-page "https://github.com/bilelmoussaoui/pyfavicon")
|
||||
|
||||
Reference in New Issue
Block a user