mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: python-miio: Migrate to pyproject-build-system.
* gnu/packages/android.scm (python-miio) [build-system]: Swap to pyproject-build-system. [arguments] <phases>: Remove 'relax-requirements. Use default 'check. [native-inputs]: Remove python-sphinx; add python-poetry-core. Change-Id: I0749f313d23e55bac0174a9ccd38aa92ac6eb26d
This commit is contained in:
parent
51d8ae3af6
commit
230740b032
1 changed files with 3 additions and 15 deletions
|
@ -1105,23 +1105,11 @@ useful for reverse engineering, analysis of Android applications and more.")
|
|||
(sha256
|
||||
(base32
|
||||
"05kc0icap3a4iw4910zfqi61zphcf6x958v2b5x68fy51ld3b704"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("cryptography>=35")
|
||||
"cryptography"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "miio")))))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
(list python-poetry-core
|
||||
python-pytest
|
||||
python-pytest-mock
|
||||
python-sphinx
|
||||
python-sphinx-click
|
||||
python-sphinx-rtd-theme
|
||||
python-sphinxcontrib-apidoc))
|
||||
|
|
Loading…
Add table
Reference in a new issue