From: "Ludovic Courtès" <ludo@gnu.org>
To: "Raphaël Mélotte" <raphael.melotte@mind.be>
Cc: 51287-done@debbugs.gnu.org
Subject: bug#51287: [PATCH] gnu: packages: Add python-ijson
Date: Sat, 30 Oct 2021 17:12:37 +0200 [thread overview]
Message-ID: <87sfwisg0q.fsf@gnu.org> (raw)
In-Reply-To: <20211019120852.1009756-1-raphael.melotte@mind.be> ("Raphaël Mélotte"'s message of "Tue, 19 Oct 2021 14:08:52 +0200")
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
Hi,
Raphaël Mélotte <raphael.melotte@mind.be> skribis:
> * gnu/packages/python-xyz.scm (python-ijson): New variable.
Applied with the following changes to placate ‘guix lint’ and improve
synopsis/description.
Thanks,
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1302 bytes --]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f4edc1e49f..f12cca9757 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27626,15 +27626,19 @@ (define-public python-ijson
;; anyway, so use pytest to avoid running the yajl1-related
;; tests. See: https://github.com/ICRAR/ijson/issues/55
(replace 'check
- (lambda _ (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(inputs
;; libyajl is optional, but compiling with it makes faster
;; backends available to ijson:
- `(("libyajl", libyajl)
- ("python-pytest", python-pytest)))
+ `(("libyajl", libyajl)))
+ (native-inputs
+ `(("python-pytest", python-pytest)))
(build-system python-build-system)
(home-page "https://github.com/ICRAR/ijson")
- (synopsis "Iterative JSON parser with standard Python iterator interfaces")
+ (synopsis "Iterative JSON parser with Python iterator interfaces")
(description
- "Iterative JSON parser with standard Python iterator interfaces")
+ "Ijson is an iterative JSON parser with standard Python iterator
+interfaces.")
(license license:bsd-3)))
prev parent reply other threads:[~2021-10-30 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 12:08 [bug#51287] [PATCH] gnu: packages: Add python-ijson Raphaël Mélotte
2021-10-30 15:12 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfwisg0q.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=51287-done@debbugs.gnu.org \
--cc=raphael.melotte@mind.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).