[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
196/242: gnu: python-miio: Update to 0.5.11.
From: |
guix-commits |
Subject: |
196/242: gnu: python-miio: Update to 0.5.11. |
Date: |
Thu, 12 May 2022 14:14:33 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit fa84f9bce9e1ddd7c513268962bd4779a0b1dc3d
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
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., (continued)
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/12
- 158/242: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/05/12
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/12
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/12
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/12
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/12
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/12
- 184/242: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/05/12
- 182/242: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/05/12
- 181/242: gnu: Add python-argparse-addons., guix-commits, 2022/05/12
- 196/242: gnu: python-miio: Update to 0.5.11.,
guix-commits <=
- 177/242: gnu: python-can: Update to 4.0.0., guix-commits, 2022/05/12
- 189/242: gnu: Add python-mdx-gh-links., guix-commits, 2022/05/12
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/12
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/12
- 211/242: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/05/12
- 217/242: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/05/12
- 224/242: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/05/12
- 222/242: gnu: Add python-beartype., guix-commits, 2022/05/12
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/05/12
- 226/242: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/05/12