gnu: python-miio: Update to 0.5.12.

* gnu/packages/android.scm (python-miio): Update to 0.5.12.
[propagated-inputs]: Remove python-android-backup.
This commit is contained in:
Andreas Enge 2023-02-25 18:15:25 +01:00
parent 409ce1d939
commit 2ba041dcdf
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -7,7 +7,7 @@
;;; Copyright © 2017, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2017, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2019, 2020, 2023 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru> ;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
@ -1081,14 +1081,14 @@ backups. It supports encrypted archives.")
(define-public python-miio (define-public python-miio
(package (package
(name "python-miio") (name "python-miio")
(version "0.5.11") (version "0.5.12")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-miio" version)) (uri (pypi-uri "python-miio" version))
(sha256 (sha256
(base32 (base32
"1dyzzywfa5h6q8clmzxsqmszlby8757ajmvkhdyvq6719z4bn46n")))) "05kc0icap3a4iw4910zfqi61zphcf6x958v2b5x68fy51ld3b704"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -1098,12 +1098,6 @@ backups. It supports encrypted archives.")
(substitute* "setup.py" (substitute* "setup.py"
(("cryptography>=35") (("cryptography>=35")
"cryptography")))) "cryptography"))))
(add-after 'unpack 'adjust-for-click-8
(lambda _
(substitute* '("miio/integrations/vacuum/roborock/vacuum.py"
"miio/integrations/vacuum/roborock/vacuum_cli.py")
(("resultcallback")
"result_callback"))))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
@ -1116,8 +1110,7 @@ backups. It supports encrypted archives.")
python-sphinx-rtd-theme python-sphinx-rtd-theme
python-sphinxcontrib-apidoc)) python-sphinxcontrib-apidoc))
(propagated-inputs (propagated-inputs
(list python-android-backup (list python-appdirs
python-appdirs
python-attrs python-attrs
python-click python-click
python-construct python-construct