From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id p7JaKXBb3WKNnQAAbAwnHQ (envelope-from ) for ; Sun, 24 Jul 2022 16:47:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gIFnKHBb3WKPWwAA9RJhRA (envelope-from ) for ; Sun, 24 Jul 2022 16:47:12 +0200 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 4AD58E711 for ; Sun, 24 Jul 2022 16:47:12 +0200 (CEST) Received: from localhost ([::1]:46770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFcsx-0007gP-Gp for larch@yhetil.org; Sun, 24 Jul 2022 10:47:11 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658674032; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=8HJ6yoNWOnbehSEPrQcMCEaqrdo0qQYx6ZKjWiOrhpo=; b=TWmGa6KMmMq/QY0w+7n4L5z4FBZW11TLM9kq3uMmWTPAOPF++LuaWaG+GEpJxdgY8Q6e+z mbbu14FHfLgDS43kEOTNMX687l4LO3FBG554D0jErEY5OkepvhOPf8vTYUusxMm0OxE653 Xzmr0oRwzabQWt5rZB9sJ705xKLSAQvQZgvyfy2avlAwIOkzlwQ1keR/ohLHrhhEq3jFNk Zv5axefJfXgYSCETUJtzgrMmG3g9O3lMolq2aSexZfdMW0VNLKMFhYvwOXMwm6opGFAddE xzzmsY2VPoulsiMEZo2KgSJiKPXNeu2+nzdbAGNamNuK8aAJlqzUNbViqtwZmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658674032; a=rsa-sha256; cv=none; b=llO+yLJtUNspaKISo/6lx92IuEs6WX3KgsjQQzaZSFTlTHLGpIgJ+7Ope+BegBbwdcVTVf WU6bRfkIww4BKDx2CrjogWtgGs/BvkLAxk/pjw8X3ltE7UqzUSHjKvI9RaQPV+UZEEB5ZF knQNiUzu+nDBA8DcJ4oWRt6UCyNkHeaYH7LA8M1Y2nAKPbZ+hns2zbaXTYhVfDxExqDsHu 9tWVgQagPMqEw0oxJQ9CPcXwEqWx/I9a+QiZSal9DGH7CGSZ0z+sxBJTzHazjWnnsNSSlG NAEJO+q1yx1XAfprtsaIQBfZ2phoEWGWw+m01V/JgLiyzNfcRRooQglHH5R8BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -2.23 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 4AD58E711 X-Spam-Score: -2.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: IU8ErZEq5UGb * 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 -- 2.30.4