diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-25 11:04:39 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-31 12:24:15 +0000 |
| commit | cfffecfa28e43f8e2657e44b018d261ca3abb4dd (patch) | |
| tree | 34f80345973812963c4f620141bf48de17b0564b | |
| parent | b3f5f6cc2fc40bd9dd77ca7c1868c643a81d4679 (diff) | |
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>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ae92515691a..97b65a0b422 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -7232,14 +7232,18 @@ be used to create po files from scratch or to modify existing ones.") | |||
| 7232 | (version "0.5.0") | 7232 | (version "0.5.0") |
| 7233 | (source | 7233 | (source |
| 7234 | (origin | 7234 | (origin |
| 7235 | (method url-fetch) | 7235 | (method git-fetch) |
| 7236 | (uri (pypi-uri "polling2" version)) | 7236 | (uri (git-reference |
| 7237 | (url "https://github.com/ddmee/polling2") | ||
| 7238 | (commit (string-append "v" version)))) | ||
| 7239 | (file-name (git-file-name name version)) | ||
| 7237 | (sha256 | 7240 | (sha256 |
| 7238 | (base32 "0hp3238fv6k1qk43gv4jwnv1mwlkmx33akbj560b9nvsry1dmdwh")))) | 7241 | (base32 "17q5nw9wab9p092r2bvmnk5nrzlwg5by6wf5wkbxnsz100nww7la")))) |
| 7239 | (build-system python-build-system) | 7242 | (build-system pyproject-build-system) |
| 7240 | (arguments '(#:tests? #false)) ; no tests included | 7243 | (arguments |
| 7241 | (native-inputs | 7244 | ;; XXX: Additional , in string comparison. |
| 7242 | (list python-mock python-pytest python-pytest-runner)) | 7245 | (list #:test-flags #~(list "-k" "not test_log_error_set_at_debug_level"))) |
| 7246 | (native-inputs (list python-mock python-pytest python-setuptools)) | ||
| 7243 | (home-page "https://github.com/ddmee/polling2") | 7247 | (home-page "https://github.com/ddmee/polling2") |
| 7244 | (synopsis "Polling utility with many configurable options") | 7248 | (synopsis "Polling utility with many configurable options") |
| 7245 | (description "Polling2 is a utility used to wait for a function to return | 7249 | (description "Polling2 is a utility used to wait for a function to return |
