From patchwork Thu Nov 16 23:54:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 56553 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 828EB27BBEA; Thu, 16 Nov 2023 23:57:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 17D2A27BBE2 for ; Thu, 16 Nov 2023 23:57:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3mDT-000718-FV; Thu, 16 Nov 2023 18:56:11 -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 1r3mDR-0006zz-Rz for guix-patches@gnu.org; Thu, 16 Nov 2023 18:56:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3mDP-0000uL-RO; Thu, 16 Nov 2023 18:56:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3mDM-0005O5-1I; Thu, 16 Nov 2023 18:56:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH v2 1/5] gnu: Add python-pygments-2.16. References: <76d01b3e-44c0-2a3b-cfad-95a92a1398f6@autistici.org> In-Reply-To: <76d01b3e-44c0-2a3b-cfad-95a92a1398f6@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 16 Nov 2023 23:56:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66886 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 66886@debbugs.gnu.org Cc: Giacomo Leidi , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 66886-submit@debbugs.gnu.org id=B66886.170017894120644 (code B ref 66886); Thu, 16 Nov 2023 23:56:04 +0000 Received: (at 66886) by debbugs.gnu.org; 16 Nov 2023 23:55:41 +0000 Received: from localhost ([127.0.0.1]:44844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3mCz-0005Mn-F9 for submit@debbugs.gnu.org; Thu, 16 Nov 2023 18:55:41 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:27387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3mCv-0005Lv-Gl for 66886@debbugs.gnu.org; Thu, 16 Nov 2023 18:55:38 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SWcNl04lfz11Jg; Thu, 16 Nov 2023 23:55:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1700178935; bh=LK9uPZpjXtkJPMWNeliiGdxh4EEfb06fQJame3iW32g=; h=From:To:Cc:Subject:Date:From; b=kX4kIqlmgDcVUirNDl7oYy08Lm4+pqLdSx5m1EwglLQKz0unpwwi8yLeGzPFrtsSL mmK/mWNVBO3TcOF0JSMGdNwoQndJ4GFBiWMG++GvaNtAw6r6HGHWM5X9k1JyJ/y7XR 9QKqHz99q2e1wjuOy+L1Fgnka+eQVMhdgIRgTF20= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SWcNk5qrSz11JD; Thu, 16 Nov 2023 23:55:34 +0000 (UTC) Date: Fri, 17 Nov 2023 00:54:05 +0100 Message-ID: <0a59734d147800a6cadbc800a20b24ce7460fde2.1700178849.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This patch has also been sent to the python-team branch with bug #66884. * gnu/packages/python-xyz.scm (python-pygments-2.16): New variable. Change-Id: I863fc1aaea9930991b6f92643befbde7ba1a335c --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: fc6bdaad57bf91609849623c5f485403c030cb49 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8e89f61373..c4e4535f28 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6144,6 +6144,27 @@ (define-public python-pygments "Pygments is a syntax highlighting package written in Python.") (license license:bsd-2))) +(define-public python-pygments-2.16 + (package + (inherit python-pygments) + (version "2.16.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Pygments" version)) + (sha256 + (base32 + "0abfx7n0mgpxk05f2kini3p78wsp1yi7lh0yjk49pii0914z1bqx")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Some tests require sphinx, which depends on this, so we only run + ;; basic tests. + '(list "--ignore-glob=tests/*/*"))) + (native-inputs + (list python-pytest)))) + (define-public python-pygments-github-lexers (package (name "python-pygments-github-lexers")