From d5ae99f88457fc7a8290acabb68d58f1761eac9c Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 19:09:02 +0100 Subject: [PATCH] gnu: python-requests-file: Update to 3.0.1. * gnu/packages/python-xyz.scm (python-requests-file): Update to 3.0.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-pytest, python-setuptools. [propagated-inputs]: Remove python-six. [home-page]: Update it. Change-Id: Iaeae065b9ab7fbb54a442d9890f98673a78cb3ef Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5cdcbfb071c9d1cec564f565d9ae377f285cbe8e..77feb19fb2ad0e87eee0b438acb58b10237cea8f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27676,24 +27676,20 @@ and corruption checks.") (define-public python-requests-file (package (name "python-requests-file") - (version "1.5.1") + (version "3.0.1") (source (origin - (method url-fetch) - (uri (pypi-uri "requests-file" version)) + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/dashea/requests-file") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "13kx4k83i9zcv20h0fnmawwwdzhcmw1z97mqib1h379qsc445mq7")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "tests/test_requests_file.py"))))))) - (propagated-inputs - (list python-requests python-six)) - (home-page "https://github.com/dashea/requests-file") + (base32 "0wvz2fkx01libz731a9pfx0l5p44cd33ba8gs7kw5dksfzfwvark")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) + (propagated-inputs (list python-requests)) + (home-page "https://codeberg.org/dashea/requests-file") (synopsis "File transport adapter for Requests") (description "Requests-File is a transport adapter for use with the Requests Python