~ruther/guix-local

273f5fe9e27184a4069cdbc542b475f5d0e10530 — Nicolas Graves 2 months ago 93e4c03
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>
1 files changed, 15 insertions(+), 11 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +15 -11
@@ 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)))