mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-parfive: Update to 2.3.1.
* gnu/packages/python-web.scm (python-parfive): Update to 2.3.1. [source]: Switch to git-fetch. [arguments] <test-flags>: Skip one more test. [propagated-inputs]: Remove python-aiofiles. [native-inputs]: Remove python-wheel; add python-aiofiles. Change-Id: Ia32c1e070ebc19ed1a2f8d442b4bda656b845a8b
This commit is contained in:
@@ -3674,13 +3674,16 @@ HTTP servers, RESTful APIs, and web services.")
|
||||
(define-public python-parfive
|
||||
(package
|
||||
(name "python-parfive")
|
||||
(version "2.2.0")
|
||||
(version "2.3.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "parfive" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/Cadair/parfive")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "16rf02jhjr9lij8s2gqmvs01vx8kiv9f2535dnnziqwqv14d21yy"))))
|
||||
(base32 "09kkh7kp9qy8m26zk6p7zc84yrc81pjgsi594kaa1v1n83mprl4b"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -3688,22 +3691,23 @@ HTTP servers, RESTful APIs, and web services.")
|
||||
;; Disable tests requiring network access.
|
||||
#~(list "-k" (string-join
|
||||
(list "not test_ftp"
|
||||
"test_ftp_http"
|
||||
"test_ftp_pasv_command"
|
||||
"test_ftp_http")
|
||||
"test_problematic_http_urls")
|
||||
" and not "))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
(list python-aiofiles
|
||||
python-pytest
|
||||
python-pytest-asyncio
|
||||
python-pytest-localserver
|
||||
python-pytest-socket
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
python-setuptools-scm))
|
||||
(propagated-inputs
|
||||
(list python-aiofiles
|
||||
python-aioftp
|
||||
python-aiohttp
|
||||
python-tqdm))
|
||||
(list python-aiohttp
|
||||
python-tqdm
|
||||
;; [optional]
|
||||
python-aioftp))
|
||||
(home-page "https://parfive.readthedocs.io/")
|
||||
(synopsis "HTTP and FTP parallel file downloader")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user