diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-22 00:25:18 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-23 16:24:25 +0100 |
| commit | e5226ef22fbad8ded56ed9ed903597ab1de88766 (patch) | |
| tree | e9da4a5a9cdf68643381ec7e8705334f024ebb2a /gnu/packages/python-web.scm | |
| parent | cc8a580027ef4caecc3d2e76b870598f7e988d9b (diff) | |
gnu: python-openid: Switch to pyproject.
* gnu/packages/python-web.scm (python-openid)
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove use of coverage in 'check phase.
[native-inputs]: Remove python-coverage. Add python-setuptools,
python-wheel.
Change-Id: I6aa46912964f4c02e3ecb1ced4792f332a1f0fc0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7f7e841dc52..6dbf3f57148 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -3774,19 +3774,18 @@ authentications) | |||
| 3774 | (sha256 | 3774 | (sha256 |
| 3775 | (base32 | 3775 | (base32 |
| 3776 | "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) | 3776 | "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) |
| 3777 | (build-system python-build-system) | 3777 | (build-system pyproject-build-system) |
| 3778 | (arguments | 3778 | (arguments |
| 3779 | `(#:phases | 3779 | `(#:phases |
| 3780 | (modify-phases %standard-phases | 3780 | (modify-phases %standard-phases |
| 3781 | (replace 'check | 3781 | (replace 'check |
| 3782 | (lambda* (#:key tests? #:allow-other-keys) | 3782 | (lambda* (#:key tests? #:allow-other-keys) |
| 3783 | (when tests? | 3783 | (when tests? |
| 3784 | (invoke "coverage" "run" "-m" | 3784 | (invoke "python" "-m" "unittest" "openid.test.test_suite"))))))) |
| 3785 | "unittest" "openid.test.test_suite"))))))) | ||
| 3786 | (propagated-inputs | 3785 | (propagated-inputs |
| 3787 | (list python-defusedxml)) | 3786 | (list python-defusedxml)) |
| 3788 | (native-inputs | 3787 | (native-inputs |
| 3789 | (list python-coverage python-psycopg2 python-django)) | 3788 | (list python-psycopg2 python-django python-setuptools python-wheel)) |
| 3790 | (home-page "https://github.com/necaris/python3-openid") | 3789 | (home-page "https://github.com/necaris/python3-openid") |
| 3791 | (synopsis "OpenID support for servers and consumers") | 3790 | (synopsis "OpenID support for servers and consumers") |
| 3792 | (description "This library provides OpenID authentication for Python, both | 3791 | (description "This library provides OpenID authentication for Python, both |
