summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 02:01:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:55:08 +0000
commit273f5fe9e27184a4069cdbc542b475f5d0e10530 (patch)
tree8e44c3340fba7827ab28a39902bdd062fba51bce /gnu/packages/python-web.scm
parent93e4c03938ae2c161885b615d66c613a544fc8ac (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 15 insertions, 11 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 391a0063247..7b9af41b575 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)))