diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-02 19:56:52 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:36:44 +0100 |
| commit | 6e153a2c035e451eff696dcc6fc8b86e532ec53c (patch) | |
| tree | c8b5e991468ec09a5d6cd269e58ea2970f2d04f3 /gnu/packages/python-compression.scm | |
| parent | 2af601691e970186d5105df3217123678909ea40 (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 4855fa296b..0d066cca48 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.") (version "0.2.1") (source (origin - (method url-fetch) - (uri (pypi-uri "unix_ar" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/getninjas/unix_ar") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0kicwxsh28x8r34a7cgzv2i65gsd4qjw2vf29pwq4fpsf3n2i4xz")))) + (base32 "0bdxm7y0r7xz3d2iglxwmf1290pi3h05x3gjc0f0af01pl2j2pqn")))) (build-system pyproject-build-system) (arguments - ;; These tests have timestamp-related issues. - (list #:test-flags - #~(list "-m" "unittest" "-k" "not test_add and not test_addfile") - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? test-flags #:allow-other-keys) - (apply invoke "python" test-flags)))))) + (list + #:test-flags + ;; These tests have timestamp-related issues. + #~(list "tests.py" "-k" "not test_add and not test_addfile"))) (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/getninjas/unix_ar") (synopsis "AR file handling in Python") |
