diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-31 08:48:24 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:23:31 +0100 |
| commit | 8c54a0bd12f18844d66d6392ea5fb2ff2034be93 (patch) | |
| tree | 87399e1bf438f53c3f5a7f6ea3acfabef9d70266 /gnu | |
| parent | 578911c3cb3f2b024c51d3405fa74a65184e7837 (diff) | |
gnu: python-librecaptcha: Switch to pyproject.
* gnu/packages/messaging.scm (python-librecaptcha):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[propagated-inputs]: Sort them, improve style.
Change-Id: I5449a3a417f247e4ce06a8a493586addf318a89f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/messaging.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 85796461562..739fd6025ce 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3318,13 +3318,22 @@ for notification of events.") (uri (git-reference (url "https://github.com/taylordotfish/librecaptcha") (commit version))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 "0r35ws6vdf31j01kpacvpjplddm254r0cgy0npmhgnfxd5kpjf3s")))) - (build-system python-build-system) + (build-system pyproject-build-system) + ;; XXX: There is a test server for tests in real conditions, but there + ;; doesn't seem to be a way to test that in CI. + (arguments (list #:tests? #f)) + (native-inputs (list python-setuptools)) (propagated-inputs - (list python-pillow python-requests python-esprima python-pygobject gobject-introspection gtk+)) + (list gobject-introspection + gtk+ + python-esprima + python-pygobject + python-requests + python-pillow)) (synopsis "Show CAPTCHA without running proprietary code") (description "This package shows CAPTCHA without running proprietary code.") (home-page "https://github.com/taylordotfish/librecaptcha") |
