~ruther/guix-local

cfffecfa28e43f8e2657e44b018d261ca3abb4dd — Nicolas Graves 2 months ago b3f5f6c
gnu: python-polling2: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-polling2):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable <#:tests?>.
<#:test-flags>: Ignore flaky test.
[native-inputs]: Add python-setuptools.  Remove python-pytest-runner.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +11 -7
@@ 7232,14 7232,18 @@ be used to create po files from scratch or to modify existing ones.")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "polling2" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/ddmee/polling2")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0hp3238fv6k1qk43gv4jwnv1mwlkmx33akbj560b9nvsry1dmdwh"))))
    (build-system python-build-system)
    (arguments '(#:tests? #false)) ; no tests included
    (native-inputs
     (list python-mock python-pytest python-pytest-runner))
        (base32 "17q5nw9wab9p092r2bvmnk5nrzlwg5by6wf5wkbxnsz100nww7la"))))
    (build-system pyproject-build-system)
    (arguments
     ;; XXX: Additional , in string comparison.
     (list #:test-flags #~(list "-k" "not test_log_error_set_at_debug_level")))
    (native-inputs (list python-mock python-pytest python-setuptools))
    (home-page "https://github.com/ddmee/polling2")
    (synopsis "Polling utility with many configurable options")
    (description "Polling2 is a utility used to wait for a function to return