From patchwork Sun Jul 24 14:45:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 3961 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 E2F3D27BBEA; Sun, 24 Jul 2022 15:47:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 9821427BBE9 for ; Sun, 24 Jul 2022 15:47:11 +0100 (BST) Received: from localhost ([::1]:46770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFcsw-0007gP-Ol for patchwork@mira.cbaines.net; Sun, 24 Jul 2022 10:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFcrt-000706-Sq for guix-patches@gnu.org; Sun, 24 Jul 2022 10:46:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFcrr-0003UH-V2 for guix-patches@gnu.org; Sun, 24 Jul 2022 10:46:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFcrr-0007gM-Qi for guix-patches@gnu.org; Sun, 24 Jul 2022 10:46:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56740] [PATCH 5/6] gnu: Add python-mdx-include. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Jul 2022 14:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56740 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56740@debbugs.gnu.org Received: via spool by 56740-submit@debbugs.gnu.org id=B56740.165867394729461 (code B ref 56740); Sun, 24 Jul 2022 14:46:03 +0000 Received: (at 56740) by debbugs.gnu.org; 24 Jul 2022 14:45:47 +0000 Received: from localhost ([127.0.0.1]:48460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFcrb-0007f1-Eq for submit@debbugs.gnu.org; Sun, 24 Jul 2022 10:45:47 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:33513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFcrY-0007du-0Y for 56740@debbugs.gnu.org; Sun, 24 Jul 2022 10:45:44 -0400 Received: from hermia.goebel-consult.de ([87.176.133.28]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MvJsF-1nOcfT10Jl-00rEZC for <56740@debbugs.gnu.org>; Sun, 24 Jul 2022 16:45:38 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 71E1E665E0; Sun, 24 Jul 2022 16:45:57 +0200 (CEST) From: Hartmut Goebel Date: Sun, 24 Jul 2022 16:45:24 +0200 Message-Id: X-Mailer: git-send-email 2.30.4 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:vG8D6+/uUxpOVmb/D3IvZ8zI8V9wQhPtFcfadMCQqPf3dK7LeF4 b8V3CEn1Hkss7xYuE+NpTGcJHkd+Pk3R+Mf+dRJebpgT7fU4EWfaLSnOPvFUEVEd5oDf3RN CuC+D0/dpOaXnInFJxsf4/R5wsXQtPlg3DSjIxe1C7sQZ/avQ7nTXmcR5CmMJ27ciarBgd6 eY75YwUy8bKOUPcTbwuXA== X-UI-Out-Filterresults: notjunk:1;V03:K0:/nMu5LCX9BQ=:PMX6ZYqk4zEeHl47dm94Dp 0TKgkFSj7oVmhMPe8XVJNa7hJx9wS+drH8n2o1av7fYwW8IEjOGSj/4+fYoTv6YDtd43VCNaY 2m7FjXzx6RcxCYCiepzJnxt7JZo+yrhIzJyd1y5OppqGTGhGZoB6V59LCwa9WGa6Ibq1SOgnW Ptyb2iZlgM0Mw4ZR9CmUAYUAjdRJvFfat3nNgBsdqqwuDXbg7S8vika16Cr9PDopZa7lcoC1n BRimpHon5S2UXzMGTKyTXnkZFdbrzBFQOH0yEPElTKUmrf+Kxlc3bRDHUvE+bxs/WWQlXoYan 2FTFK87Q4v+B+mQ3OtFq+0/7OYZ1uh437fSjYXW2umjUfoGX+4jduZGF6l880LLbKKr2qbPs3 lWx0RNtGOa6nSrx/q2qHMng7STHv33SBO8yHHGPB7v/LWZAlX0KnPTqep5lAi1Yzrg32sGwdl M4BaKN1yadaAFO6LIlUNadcF5YMA2MZQs5ACBeOjVVz5ha+rclKHI85rKS45HsEWeB+u/YSWl xM40WhdU6byXlOIFQ16/ZZAiBM/cVpBIUNJ/jsB0F2lggOsGEUYGLm+i/P1KYYU+kCQAxwN1G lqyIn5RDGCeZxp2YU4/7tF4Ly6T1C+ZdQsQN/HqqM2t/1VZ5HtPXxZNspM5V+3ruhoqxUN1tm zg1W+rJ2/JIPXysvEBsoe3fuN7+bdUXB3eMKycoPftEbPNvUtI7tQvUExpyGotR8GKx8BHiKt OuF+F94wYkSMdZ9rHiyyenX5ec0A08d/LhVumk6Z5oVPAbUFReHrxDs27Mo= 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-mdx-include): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f4676fb928..77469f1edc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10873,6 +10873,42 @@ extensions, and several HTML output formats. A command line wrapper markdown_py is also provided to convert Markdown files to HTML.") (license license:bsd-3))) +(define-public python-mdx-include + (package + (name "python-mdx-include") + (version "1.4.1") + (source (origin + ;; Use git, as there are some test files missing from the PyPI + ;; release, see https://github.com/neurobin/mdx_include/issues/9 + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurobin/mdx_include") + ;; Releases are not tagged on github, see + ;; https://github.com/neurobin/mdx_include/issues/10 + (commit "683e6be7a00a1ef4d673ad0294458fa61bc97286"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qpzgln4ybd7pl0m9s19dv60aq9cvwrk7x3yz96kjhcywaa5w386")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'disable-test-requiring-network + (lambda _ + (substitute* "mdx_include/test/test.py" + (("(\\s+def )test_(cache|config|default)\\(" _ pre post) + (string-append pre "__off__test_" post "(")))))))) + (propagated-inputs (list python-cyclic python-markdown python-rcslice)) + (home-page "https://github.com/neurobin/mdx_include") + (synopsis "Python Markdown extension to include local or remote files") + (description "Include extension for Python Markdown. It lets you include +local or remote (downloadable) files into your markdown at arbitrary +positions. + +This project is motivated by markdown-include and provides the same +functionalities with some extras.") + (license license:bsd-3))) (define-public python-ptyprocess (package