diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 13:22:01 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 13:24:09 +0000 |
| commit | be460d0ee3128d4020715bff67d08d650b8081e5 (patch) | |
| tree | 0a4a2732dc36da7c7d4f25f2bb495471ab3c51b3 /gnu | |
| parent | d782bd75f19fdf4d728351e268d8ee49b09e3f54 (diff) | |
gnu: python-androguard: Switch to pyproject.
* gnu/packages/android.scm (python-androguard):
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disable missing tests.
[native-inputs]: Remove python-codecov, python-coverage, python-mock,
python-nose, and python-nose-timer; add python-setuptools.
Change-Id: I0cb9b604bc17d272843244373561d74ae4e913e2
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/android.scm | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 2ceb69cd5cc..c70708e6223 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -1116,28 +1116,20 @@ safest way, on a file image.") (define-public python-androguard (package (name "python-androguard") - (version "3.3.5") + (version "3.3.5") ;TODO: It was released in 2019, there is a fresh version (source - (origin - ;; The pypi release doesn't have the tests, but the tests use - ;; packaged binaries, so we skip them. - (method url-fetch) - (uri (pypi-uri "androguard" version)) - (sha256 - (base32 - "18nd08rbvc4d1p9r70qp76rcbldvpv89prsi15alrmxdlnimqrgh")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "androguard" version)) + (sha256 + (base32 "18nd08rbvc4d1p9r70qp76rcbldvpv89prsi15alrmxdlnimqrgh")))) + (build-system pyproject-build-system) + ;; XXX: The pypi release doesn't have the tests, but the tests use + ;; packaged binaries, so we skip them. (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - ;; Adapted from .travis.yml - (lambda _ - (invoke "nosetests" "--with-coverage" "--with-timer" - "--timer-top-n" "50")))))) + (list #:tests? #f)) (native-inputs - (list python-codecov python-coverage python-mock python-nose - python-nose-timer)) + (list python-setuptools)) (propagated-inputs (list python-asn1crypto python-click |
