mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pyfxa: Switch to pyproject.
* gnu/packages/python-web.scm (python-pyfxa): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable them. <#:test-flags>: Ignore tests requiring network access. [native-inputs]: Add python-setuptools-next. Change-Id: Ia4a5c04a7d10b9efaa422992a7fcab8d143de923 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
1d7a7decc7
commit
94a61f4fbb
1 changed files with 20 additions and 9 deletions
|
@ -7633,18 +7633,29 @@ underlies Mozilla Persona.")
|
||||||
(version "0.6.0")
|
(version "0.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "PyFxA" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/mozilla/PyFxA")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1ag07qiqrmlhgyzfib2x7kzzgccj4lfs9q7jfc8f1g55783457bm"))))
|
||||||
"0axl16fyrz2r88gnw4b12mk7dpkqscv8c4wsc1y5hicl7bsbc4fm"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
(arguments '(#:tests? #f)) ; 17 tests require network access
|
(list
|
||||||
|
;; These tests require network access
|
||||||
|
#:test-flags #~(list "--ignore=fxa/tests/test_core.py")))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cryptography python-hawkauthlib python-pybrowserid
|
(list python-cryptography
|
||||||
python-requests python-six))
|
python-hawkauthlib
|
||||||
|
python-pybrowserid
|
||||||
|
python-requests))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-grequests python-mock python-responses python-unittest2))
|
(list python-grequests
|
||||||
|
python-mock
|
||||||
|
python-pytest
|
||||||
|
python-responses
|
||||||
|
python-setuptools-next))
|
||||||
(home-page "https://github.com/mozilla/PyFxA")
|
(home-page "https://github.com/mozilla/PyFxA")
|
||||||
(synopsis "Firefox Accounts client library for Python")
|
(synopsis "Firefox Accounts client library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue