From 273f5fe9e27184a4069cdbc542b475f5d0e10530 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Dec 2025 02:01:14 +0100 Subject: 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 --- gnu/packages/python-web.scm | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python-web.scm') 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))) -- cgit v1.3