[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
196/232: gnu: python-miio: Update to 0.5.11.
From: |
guix-commits |
Subject: |
196/232: gnu: python-miio: Update to 0.5.11. |
Date: |
Sun, 24 Apr 2022 23:59:12 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 9dd835e0787e9db9eb8420210b30b163fd1dbc20
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 21:52:21 2022 -0400
gnu: python-miio: Update to 0.5.11.
* gnu/packages/android.scm (python-miio): Update to 0.5.11.
[phases]{relax-requirements}: New phase.
{adjust-for-click-8}: Likewise.
{check}: Remove extraneous add-installed-pythonpath call, INPUTS and OUTPUTS
arguments. Invoke pytest with -vv.
---
gnu/packages/android.scm | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 9f00303811..04dc4b6499 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2017, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2017, 2020, 2021, 2022 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr>
@@ -1078,23 +1078,33 @@ backups. It supports encrypted archives.")
(define-public python-miio
(package
(name "python-miio")
- (version "0.5.8")
+ (version "0.5.11")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-miio" version))
(sha256
(base32
- "0a4f5ybjvibawwxcjm3r9nnrzf1yff6wwgy05yzyk0bb3rmc99fp"))))
+ "1dyzzywfa5h6q8clmzxsqmszlby8757ajmvkhdyvq6719z4bn46n"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("cryptography>=35")
+ "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
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "miio")))))))
+ (invoke "pytest" "-vv" "miio")))))))
(native-inputs
(list python-pytest
python-pytest-mock
- 154/232: gnu: python-hypothesis-6.23: Update to 6.43.3., (continued)
- 154/232: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 165/232: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24
- 169/232: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/24
- 175/232: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/24
- 183/232: gnu: Add python-toolrack., guix-commits, 2022/04/24
- 184/232: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/04/24
- 186/232: gnu: Add python-mergedeep., guix-commits, 2022/04/24
- 189/232: gnu: Add python-mdx-gh-links., guix-commits, 2022/04/24
- 193/232: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/04/24
- 194/232: gnu: Remove python2-jmespath., guix-commits, 2022/04/24
- 196/232: gnu: python-miio: Update to 0.5.11.,
guix-commits <=
- 202/232: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/24
- 201/232: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 204/232: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/24
- 208/232: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/24
- 213/232: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/04/24
- 216/232: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/04/24
- 219/232: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/04/24
- 224/232: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/04/24
- 226/232: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/04/24
- 229/232: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/04/24