diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-02 19:56:52 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:14:59 +0100 |
| commit | 4244e546adf362ef5a38fbf1d5ef648ba6538b0a (patch) | |
| tree | fe8d9f194353e7af8d5c4ee64256874114a0eb00 /gnu/packages/python-compression.scm | |
| parent | c491921719f04ad930041f0ceaf53b88f46d1524 (diff) | |
gnu: python-unix-ar: Fix tests.
* gnu/packages/python-compression.scm (python-unix-ar)
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Refresh them.
<#:phases>: Drop them.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 4855fa296b4..0d066cca480 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -911,20 +911,19 @@ files (.Z), such as the ones created by Unix's shell tool compress.") | |||
| 911 | (version "0.2.1") | 911 | (version "0.2.1") |
| 912 | (source | 912 | (source |
| 913 | (origin | 913 | (origin |
| 914 | (method url-fetch) | 914 | (method git-fetch) |
| 915 | (uri (pypi-uri "unix_ar" version)) | 915 | (uri (git-reference |
| 916 | (url "https://github.com/getninjas/unix_ar") | ||
| 917 | (commit version))) | ||
| 918 | (file-name (git-file-name name version)) | ||
| 916 | (sha256 | 919 | (sha256 |
| 917 | (base32 "0kicwxsh28x8r34a7cgzv2i65gsd4qjw2vf29pwq4fpsf3n2i4xz")))) | 920 | (base32 "0bdxm7y0r7xz3d2iglxwmf1290pi3h05x3gjc0f0af01pl2j2pqn")))) |
| 918 | (build-system pyproject-build-system) | 921 | (build-system pyproject-build-system) |
| 919 | (arguments | 922 | (arguments |
| 920 | ;; These tests have timestamp-related issues. | 923 | (list |
| 921 | (list #:test-flags | 924 | #:test-flags |
| 922 | #~(list "-m" "unittest" "-k" "not test_add and not test_addfile") | 925 | ;; These tests have timestamp-related issues. |
| 923 | #:phases | 926 | #~(list "tests.py" "-k" "not test_add and not test_addfile"))) |
| 924 | #~(modify-phases %standard-phases | ||
| 925 | (replace 'check | ||
| 926 | (lambda* (#:key tests? test-flags #:allow-other-keys) | ||
| 927 | (apply invoke "python" test-flags)))))) | ||
| 928 | (native-inputs (list python-pytest python-setuptools python-wheel)) | 927 | (native-inputs (list python-pytest python-setuptools python-wheel)) |
| 929 | (home-page "https://github.com/getninjas/unix_ar") | 928 | (home-page "https://github.com/getninjas/unix_ar") |
| 930 | (synopsis "AR file handling in Python") | 929 | (synopsis "AR file handling in Python") |
