summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2020-08-28 17:45:54 +0200
committerAndreas Enge <andreas@enge.fr>2020-08-28 17:47:30 +0200
commit46096a0acbabaf8361a7629c9ee99ac86ad8b4a4 (patch)
treec709065188293b2e220c22c32c7678c17039b425
parent1d99fca6c92e58a60c532e6aae5f5d070c286d38 (diff)
downloadguix-46096a0acbabaf8361a7629c9ee99ac86ad8b4a4.tar.gz
gnu: fdroidserver: Have the package compile with current inputs.
* gnu/packages/android.scm (fdroidserver)[arguments]: Accept higher versions
of python-docker-py as required in setup.py.
-rw-r--r--gnu/packages/android.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 3c3a9cd594..5bed0af11d 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;;
@@ -931,7 +931,13 @@ useful for reverse engineering, analysis of Android applications and more.")
          (add-after 'unpack 'fix-versioning
            (lambda _
              (substitute* "setup.py"
-               (("0.2.1") ,(package-version python-pyasn1-modules)))
+               (("0.2.1") ,(package-version python-pyasn1-modules))
+               ;; The dependency on docker has been removed upstream by
+               ;; a fairly large patch:
+               ;; https://gitlab.com/fdroid/fdroidserver/-/commit/89614851250c79a05db84070feca6dea033af334
+               ;; that is not in a release yet. It appears we can compile with
+               ;; a newer version.
+               (("docker-py >= 1.9, < 2.0") "docker >= 1.9"))
              #t)))))
     (propagated-inputs
      `(("python-androguard" ,python-androguard)