From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iDeHJyE9uWO+YQEAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 10:36:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6OFoJyE9uWPT4AAAauVa8A (envelope-from ) for ; Sat, 07 Jan 2023 10:36:33 +0100 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 41FDB327E9 for ; Sat, 7 Jan 2023 10:36:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pE5cU-0005c0-Lm; Sat, 07 Jan 2023 04:36:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pE5cQ-0005bR-D2 for guix-patches@gnu.org; Sat, 07 Jan 2023 04:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pE5cQ-0007p6-4B for guix-patches@gnu.org; Sat, 07 Jan 2023 04:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pE5cP-0001UR-Vj for guix-patches@gnu.org; Sat, 07 Jan 2023 04:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60424] [PATCH 0/2] gnu: Add online-judge-tools References: In-Reply-To: Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Jan 2023 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60424@debbugs.gnu.org Cc: gemmaro Received: via spool by 60424-submit@debbugs.gnu.org id=B60424.16730841535698 (code B ref 60424); Sat, 07 Jan 2023 09:36:01 +0000 Received: (at 60424) by debbugs.gnu.org; 7 Jan 2023 09:35:53 +0000 Received: from localhost ([127.0.0.1]:56474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE5cH-0001Tq-8h for submit@debbugs.gnu.org; Sat, 07 Jan 2023 04:35:53 -0500 Received: from mail-pg1-f171.google.com ([209.85.215.171]:35389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE5Zz-0001PN-1x for 60424@debbugs.gnu.org; Sat, 07 Jan 2023 04:33:31 -0500 Received: by mail-pg1-f171.google.com with SMTP id f3so2738567pgc.2 for <60424@debbugs.gnu.org>; Sat, 07 Jan 2023 01:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dKYq4WlRJgBSWyDaf94R7CpJW/Us60DHl+l9ioAhr9A=; b=CIkoUDFoxmR1rgcqJ3e04NPSLbmU/l+g5oCCN8gwo1eoy1irmYwS1VUqa/doRfE0/t oSh037pTBSOPl/Mj93D4sWeVlrQoAeiRyewzWGpH1jM/EULmSBpG2xerDE2ZskF7WAsY Ay5qmA419EEF4oUHSMd/crkFnLQEyWhlMLUNYVPEH6897KiDrmfWggpRcouHSPIs976i w2Jw6Mzedx8OTtljDANipJ21avLz8U3qqkgciCuI/oRTnPuCMn3AK/XWACb4Ty1Wdopz InDhITwYUT8eYJUCZ83OHZu4q3glYacZyfPa8Y9XeZReoBXqcSOXcuC2EYmzTgoHA8BV DRJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dKYq4WlRJgBSWyDaf94R7CpJW/Us60DHl+l9ioAhr9A=; b=6Q6QEuHVwxraEWaNEBe4UKw17crydxt8+ozaOl8OQkUuur9R4Lpa6q0+nmZfdehjKm om+Qry4tMRjaDFWUIxrhQNR706PgcysCRm21LRsVfbB7XfLzFyXMfkqamZSItVoW9WBj poyToy3JO52Cy6i7jKLzrBcszS+jUWMWt67YfmYu8LY7Dt4PxU3rRMjQrZR6+AM670i7 TvZQWWdZlHgsSTR2KWg5AdqozMwoDeIEm5t8+SQWkqcY/xQSrbZMwFtluoXuycYP55z2 HVitje87wD/PoFIJ5y4SbpoFUReo70Bc9Qy6PEMUnNk63jzJhoCoNS2p8qeQNpedjAkf hR1g== X-Gm-Message-State: AFqh2kqJcFBjM85c+Erlpy9nRbLMiGy0COHKDF8JCPTNScC9x9ArQ4xo oZuOaryz9B1U1dPutYzeQScymPl6zYEWPg== X-Google-Smtp-Source: AMrXdXvEzqx0UHNJESWel2YWmKZ01C1n163s/TpPUhBRRgS/DxLoZEA4n3sJQq28uYBMtN8QeS6BeQ== X-Received: by 2002:a05:6a00:21ce:b0:581:26c2:aa0a with SMTP id t14-20020a056a0021ce00b0058126c2aa0amr58378776pfj.30.1673084004953; Sat, 07 Jan 2023 01:33:24 -0800 (PST) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id 63-20020a621942000000b0056d98e359a5sm2412454pfz.165.2023.01.07.01.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 01:33:24 -0800 (PST) From: gemmaro Date: Sat, 7 Jan 2023 18:33:08 +0900 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 07 Jan 2023 04:35:52 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673084193; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=dKYq4WlRJgBSWyDaf94R7CpJW/Us60DHl+l9ioAhr9A=; b=JBX1L0jBMmUsdfUNIfcMh+BEglzMIW1S8pdsl/4Cz99G7l7Qucgr+88n8zRNL2KEazt1Cz I7u5Me0z52yrFyaa0Rb125dYFpTwYVpVtsTjF9yqxs2Vy+CM0V74vYvTHMV4uuaVQKSg0p 38VZ1RSZvP+Su0SRMUEEoUj84RGvSks+H0r4FXQyyolX0plY4tZUp7GytGPd6C9tR3I5n8 YHfPRkcNVH4WQpZSBcH66QxeQpT7ZVH3hL7rF4ipk1f7RCvKlSaSId1sW2im2vl6jrJZ+S 0Gn8BUyyMBJPrHujVop+JSZT0NVjEMVxoAOdKCIvOIVozh93Kz0Mncpfkf/W9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CIkoUDFo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673084193; a=rsa-sha256; cv=none; b=MtfrRbU1VIYX2Zn3izHgxmtZQz1LS1rWOJlWSZWL1o5drIKI0UEUyKdGVgbG1QeMD6pXKf gBjRxVUlPDazOaCL7nR2rCT6/+7N+av4fGqzCsZ1BxZLu1GsFD6n4QyMRNsehkI9HqKM0m dF2DESFhXvzB2zBNUL8CXSug0A9yPPqcMAwJdZYLt/cYSIjG0pQeGG4OQr3I8Mt0/VT+uR xUbLZg7p0c4BaZzmmyAJe2LPdvSr9uGjSztbz4YYEaYQmvRw26BJ7IVXgYULO52VV+3fhX YYjQHveeHthXSOgoERVC4vntPRZ8tvrBxTcnkeBbaUAqZ74TRmbb179oocjhQQ== X-Spam: Yes X-Migadu-Queue-Id: 41FDB327E9 X-Migadu-Spam: Yes X-Spam-Score: 7.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CIkoUDFo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.94 X-TUID: MPF7UFeI6B3I Hello, This revised patch series add online-judge-tools (`oj' command), which helps solving problems on various online judges. > general notes: Please split your changes into one patch per package and > add changelog-style commit messages. My apologies. I split into two paches per package and add commit messages for each. > > + ;; NOTE: somehow it cannot be downloaded from PyPI > Why did it fail? It was because the both packages doesn't have source distributions on PyPI. I added comments for this. > > + ;; NOTE: a lot of tests needs networking > > + `(#:tests? #f)) > Is it possible to disable just the ones that require networking instead > of disabling all tests? I changed to disable only failed test cases. One assertion in the test case on the `online-judge-tools` (at the end of `online-judge-tools.patch`) doesn't pass, so I commented it out. I am not sure of the cause, but this would not be a problem in normal use. > It looks like this one provides a command-line tool called `oj`, so > the package should be named `oj` or just `online-judge-tools` without > python- prefix. I renamed it to `online-judge-tools`. I have also added the `time` package as input for `online-judge-tools`. GNU Time is used by the `oj test` command. Sincerely, gemmaro gemmaro (2): gnu: Add python-online-judge-api-client gnu: Add online-judge-tools gnu/packages/patches/online-judge-tools.patch | 62 +++ ...python-online-judge-api-client-tests.patch | 429 ++++++++++++++++++ gnu/packages/python-xyz.scm | 97 ++++ 3 files changed, 588 insertions(+) create mode 100644 gnu/packages/patches/online-judge-tools.patch create mode 100644 gnu/packages/patches/python-online-judge-api-client-tests.patch base-commit: ddebb5c5634fcfbec9571453f2db72b238d73e75 -- 2.38.1