guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 273f5fe9e27184a4069cdbc542b475f5d0e10530
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 02:01:14 2025 +0100
gnu: python-requests-ftp: Switch to pyproject.
* gnu/packages/python-web.scm (python-requests-ftp):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pyftpdlib, python-pytest,
python-setuptools, and python-six.
Change-Id: I392a21cfac07773f54e90ec4fe924ce6aedf2c23
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-web.scm | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 391a006324..7b9af41b57 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6694,19 +6694,23 @@ with python-requests.")
(version "0.3.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "requests-ftp" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lukasa/requests-ftp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0yh5v21v36dsjsgv4y9dx4mmz35741l5jf6pbq9w19d8rfsww13m"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-requests))
- (home-page
- "https://github.com/Lukasa/requests-ftp")
+ (base32 "1c7xbz2fxb12ldaw2pkfg5qd29g6slf4a2gavhqvz26cd1r82ny7"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: No connection adapters found.
+ (list #:test-flags #~(list "--ignore=tests/test_ftp_proxy.py")))
+ (native-inputs
+ (list python-pyftpdlib python-pytest python-setuptools python-six))
+ (propagated-inputs (list python-requests))
+ (home-page "https://github.com/Lukasa/requests-ftp")
(synopsis "FTP Transport Adapter for Requests")
- (description
- "Requests-FTP is an implementation of a simple FTP transport
+ (description "Requests-FTP is an implementation of a simple FTP transport
adapter for use with the Requests library.")
(license license:asl2.0)))