~ruther/guix-local

622938d004426d8762752b6a5bf2f11f6f12e85b — Nicolas Graves 2 months ago b7fd221
gnu: python-gitlab: Update to 7.0.0.

* gnu/packages/python-web.scm (python-gitlab): Update to 7.0.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore graphql tests, as well as a failing test.
[native-inputs]: Add python-anyio, python-pytest, python-responses,
python-setuptools.

Change-Id: I0ed72d559bdb376da3680bfb6a4166f66c6d0884
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 21 insertions(+), 9 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +21 -9
@@ 9603,16 9603,28 @@ is part of the Weblate translation platform.")
(define-public python-gitlab
  (package
    (name "python-gitlab")
    (version "3.2.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "python-gitlab" version))
              (sha256
               (base32
                "1gi4lp2g4k99zqcx2bgqx940bpmpbc1w9qkl5gy33hpy148yhvlg"))))
    (build-system python-build-system)
    (version "7.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/python-gitlab/python-gitlab")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0rf1hz5n724f8sfc7g3fzfz96jsv9y145pi6gc8qscsjq3z4vi37"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:tests? #f))                             ;tests require network access
     (list
      #:test-flags
      #~(list "--ignore=tests/unit/test_graphql.py"
              ;; XXX: Missing helper script.
              "-k" "not test_data_from_helper" "tests/unit")))
    (native-inputs
     (list python-anyio
           python-pytest
           python-responses
           python-setuptools))
    (propagated-inputs (list python-requests python-requests-toolbelt))
    (home-page "https://github.com/python-gitlab/python-gitlab")
    (synopsis "Interact with GitLab API")