guix_mirror_bot pushed a commit to branch master
in repository guix.
commit be460d0ee3128d4020715bff67d08d650b8081e5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Oct 30 13:22:01 2025 +0000
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
---
gnu/packages/android.scm | 30 +++++++++++-------------------
1 file changed, 11 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 2ceb69cd5c..c70708e622 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