From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MEYOOgxhfWFzKwEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 17:13:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uHy4NQxhfWG7SQAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 15:13:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A59291EFC for ; Sat, 30 Oct 2021 17:13:16 +0200 (CEST) Received: from localhost ([::1]:38482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgq2l-0005DN-Qn for larch@yhetil.org; Sat, 30 Oct 2021 11:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgq2Y-0005D6-Fz for guix-patches@gnu.org; Sat, 30 Oct 2021 11:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgq2Y-0006jI-7Q for guix-patches@gnu.org; Sat, 30 Oct 2021 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgq2Y-0004ag-1I for guix-patches@gnu.org; Sat, 30 Oct 2021 11:13:02 -0400 Subject: bug#51287: [PATCH] gnu: packages: Add python-ijson Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 30 Oct 2021 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Cc: 51287-done@debbugs.gnu.org Mail-Followup-To: 51287@debbugs.gnu.org, ludo@gnu.org, raphael.melotte@mind.be Received: via spool by 51287-done@debbugs.gnu.org id=D51287.163560677917632 (code D ref 51287); Sat, 30 Oct 2021 15:13:01 +0000 Received: (at 51287-done) by debbugs.gnu.org; 30 Oct 2021 15:12:59 +0000 Received: from localhost ([127.0.0.1]:58155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgq2M-0004a9-3c for submit@debbugs.gnu.org; Sat, 30 Oct 2021 11:12:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgq2K-0004Zs-3u for 51287-done@debbugs.gnu.org; Sat, 30 Oct 2021 11:12:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgq2D-0005Ms-RR; Sat, 30 Oct 2021 11:12:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=a2bO45KQzfkgTn9aPhaFLLsbdLelnR7vna9TjgVM3w8=; b=njuJs4hGdYsegzck7C39 ROq59wy4xhBZ+zXdoCKbA9jVCVXb4d23un95H8Iy/GOjIYfPNwHjOHYEjIyuKj4LjZYzhS7Dzx0EH b+tcQc5Ip8nyIyHpp1SSofWlEmee35s/SrOZeWM5eKVVikn1E0+wrGwOwz7w+AV6V3lUnlukCPSqJ vlDDh03HdcOypvzKwrwF7r2ovRz2xtjetM5aY5hmHnpLYE/cecf4R5FUdR0B3UPk2/Iw84Y+zz4yG t1nN2XWcypo5vAzfvXANdyRVZ/GZNRYHFBMPYRSoHlr72gsKYRL+r7rB+cOmCD1O5boBoqJYedc4J faTSbLm4hl9S/Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55490 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgq2B-0003ww-Ne; Sat, 30 Oct 2021 11:12:41 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211019120852.1009756-1-raphael.melotte@mind.be> Date: Sat, 30 Oct 2021 17:12:37 +0200 In-Reply-To: <20211019120852.1009756-1-raphael.melotte@mind.be> ("=?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?="'s message of "Tue, 19 Oct 2021 14:08:52 +0200") Message-ID: <87sfwisg0q.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635606796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=a2bO45KQzfkgTn9aPhaFLLsbdLelnR7vna9TjgVM3w8=; b=q2o4BNb6bdeKHrSHqLgmJk++wfDFh86SKKgRjlZD9RkJzlpe5H8n70Apaw9jpVyJk4Jk87 FP4FqypcSyTM8rr/aKWxybTUuGeXC6u6B2261w3RrDbNX89QJtAd8aLYHbzEFoBVfrTpIT E6bmSycX/7cqkrYf6VHPn2GeepPBzj3oeo15/Dcc2yinQ6K3FSM3qHUXkILQApPbnrpEO8 xc0UPEXzMvAaKCJ6L205RY9L3n/Ll5jnks5Vf/QnxlniojGASMasQVIiil6QVMdXw1528k XmuSr/TtGGvBjnrmmqkXz88ueoiybQO7A04eg2UIVJ3CZ7sOqzcisOlvReXtjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635606796; a=rsa-sha256; cv=none; b=MO1XjHo7kC2u4zbdDi4qLRCi12uol/EvoM+mSJ2c4kcRDTJf06gR2MHC2B3DUQ748jsLcS oXU1teTv6sFQRxQCGtg676dnZw/RITB6oalTXo+bSsWRZwXWTH7pHb6jpl+un8UJvhkZfq bFU3I0yJBsPQEhpiE8V4d0I48acPOR/u5r9s9sqC/R4313mHOww/BWvw6ywzm0YC6b2zdD 1Wpb3rfxgeNWWTT2YAxa1lvSU2UMJN3Kl71aZ9su1XCQc6Up404qHeS24njD7iUmcys9gY ooSXhipk/pwR1//4m70rwM8UQBi24t536M9s7qhe6HbeRJbrGgCutmIf4cSrqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=njuJs4hG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=njuJs4hG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A59291EFC X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: cFLaslv0u/UR --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Rapha=C3=ABl M=C3=A9lotte skribis: > * gnu/packages/python-xyz.scm (python-ijson): New variable. Applied with the following changes to placate =E2=80=98guix lint=E2=80=99 a= nd improve synopsis/description. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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))) --=-=-=--