From patchwork Sun Jan 14 23:59:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 58875 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 3485A27BBE9; Mon, 15 Jan 2024 00:00:14 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 E1FB627BBE2 for ; Mon, 15 Jan 2024 00:00:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPAOe-0007cz-D9; Sun, 14 Jan 2024 19:00:09 -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 1rPAOb-0007bs-RN for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:05 -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 1rPAOb-0000kz-IK for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPAOa-0002Wm-Ut for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH v4 1/6] 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: guix-patches@gnu.org Resent-Date: Mon, 15 Jan 2024 00:00: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 Received: via spool by 66886-submit@debbugs.gnu.org id=B66886.17052767939522 (code B ref 66886); Mon, 15 Jan 2024 00:00:04 +0000 Received: (at 66886) by debbugs.gnu.org; 14 Jan 2024 23:59:53 +0000 Received: from localhost ([127.0.0.1]:44295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPAOO-0002TL-HW for submit@debbugs.gnu.org; Sun, 14 Jan 2024 18:59:52 -0500 Received: from confino.investici.org ([93.190.126.19]:48897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPAOM-0002Ss-Ts for 66886@debbugs.gnu.org; Sun, 14 Jan 2024 18:59:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705276790; bh=AWqYwZRTgdIOwx9jYgp1v6kZO57Bm7eG77PbRVkN+Ds=; h=From:To:Cc:Subject:Date:From; b=UA/ZIMhXvqyuBLe7s5xInFNlXIzf9MLWooLpwWw0TqXbeLwPoJmw0TM4JchZBLl+M +6ttEUeGJgr4JHgAsI3+1OqhUKpW0XL3fpygROGYSucCVHBtJoMoHS6CMmkyDBOn4a F9UKXRRs0ZwpP5TC0EBvXT8jVDfip6skDiWBO/zY= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TCshQ6Q3xz110x; Sun, 14 Jan 2024 23:59:50 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TCshQ5HzTz10yK; Sun, 14 Jan 2024 23:59:50 +0000 (UTC) Date: Mon, 15 Jan 2024 00:59:33 +0100 Message-ID: <20240114235938.24529-1-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: bcc9cd1aaeb53c323b199623de4fafe8594d1a95 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 37d7dd0dd5..5f159c39d1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6202,6 +6202,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")