From patchwork Sun Feb 26 15:23:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 47380 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 D5F4F16BA5; Sun, 26 Feb 2023 15:25:27 +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.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 54826168F8 for ; Sun, 26 Feb 2023 15:25:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWItg-0004Vg-DL; Sun, 26 Feb 2023 10:25:08 -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 1pWItb-0004Tj-9e for guix-patches@gnu.org; Sun, 26 Feb 2023 10:25:03 -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 1pWIta-0002Qk-Mn for guix-patches@gnu.org; Sun, 26 Feb 2023 10:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWIta-00034P-Aw for guix-patches@gnu.org; Sun, 26 Feb 2023 10:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61815] [PATCH 1/2] gnu: Add python-panflute. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Feb 2023 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61815 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61815@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167742505311740 (code B ref -1); Sun, 26 Feb 2023 15:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2023 15:24:13 +0000 Received: from localhost ([127.0.0.1]:44828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWIsm-00033I-IE for submit@debbugs.gnu.org; Sun, 26 Feb 2023 10:24:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:38434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWIsk-00033A-Vz for submit@debbugs.gnu.org; Sun, 26 Feb 2023 10:24: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 1pWIsj-0004EN-H1 for guix-patches@gnu.org; Sun, 26 Feb 2023 10:24:10 -0500 Received: from freeshell.de ([116.202.128.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWIsh-0002Ju-8D for guix-patches@gnu.org; Sun, 26 Feb 2023 10:24:08 -0500 Received: from localhost.localdomain (cst-prg-12-119.cust.vodafone.cz [46.135.12.119]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id A81F4B3C1F7E for ; Sun, 26 Feb 2023 16:24:00 +0100 (CET) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Sun, 26 Feb 2023 16:23:51 +0100 Message-Id: <20230226152351.22119-1-wz@freeshell.de> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=116.202.128.144; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/textutils.scm (python-panflute): New variable. --- gnu/packages/textutils.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) base-commit: 53a739ae5d05c3278f09e05f0cba13d698031d92 diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index aeff4593a8..fad790c065 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -57,6 +57,7 @@ (define-module (gnu packages textutils) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages gcc) #:use-module (gnu packages golang) @@ -69,6 +70,7 @@ (define-module (gnu packages textutils) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages ruby) @@ -1522,3 +1524,30 @@ (define-public ack easily specify file types, match highlighting, Perl-Compatible Regular Expressions, and being faster to type than grep.") (license license:artistic2.0))) + +(define-public python-panflute + (package + (name "python-panflute") + (version "2.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "panflute" version)) + (sha256 + (base32 + "1jk5b2sp1h4drkjrg2ks77d0ca6j043n2myvacm77nfc93y9vzff")))) + (build-system python-build-system) + (propagated-inputs (list python-click python-pyyaml)) + (native-inputs (list python-configparser + python-coverage + python-flake8 + python-pandocfilters + python-pytest + python-pytest-cov + python-requests)) + (home-page "http://scorreia.com/software/panflute/") + (synopsis "Pythonic Pandoc filters") + (description + "Panflute is a Python package that makes Pandoc filters fun to +write. It is a pythonic alternative to John MacFarlane's pandocfilters, from +which it is heavily inspired.") + (license license:bsd-3)))