From patchwork Thu Oct 13 11:40:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 43373 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 3822F27BBEA; Thu, 13 Oct 2022 12:46:33 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 DD07127BBE9 for ; Thu, 13 Oct 2022 12:46:32 +0100 (BST) Received: from localhost ([::1]:55388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwfY-0007dD-1h for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 07:46:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaH-00062N-B4 for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaF-0003bs-Ct for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiwaF-0001pl-7u for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 2/5] gnu: Add python-markdown-it-py. X-Debbugs-Cc: rekado@elephly.net Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 11:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <58490@debbugs.gnu.org> Received: via spool by 58490-submit@debbugs.gnu.org id=B58490.16656612556986 (code B ref 58490); Thu, 13 Oct 2022 11:41:03 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:55 +0000 Received: from localhost ([127.0.0.1]:59767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwa7-0001oc-2S for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:55 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:44989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwa4-0001oM-Us for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1665661242; x=1667475643; bh=ixKWAYvKNlalfY5A7eKoH3zMIg5zTO587dn1ZW6f8hA=; b=d+ayNqXz483i aGQphy2yLV3Ytl+HVQvSytQsAv/rSh+Na4q/rzdYhEdHjd4LANdumEHsYaB0kf6s Z+st6rCXSMmZu13Qh2onXbMQEACrQXn9IpvHhXPc0tpZ0E9IwqXwy912iapoa8yv W06vBlCZNy9ZFdK4eZB8HZy2BMju3dY= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id 7DA68A0313 for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:42 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.12; Thu, 13 Oct 2022 13:40:24 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Thu, 13 Oct 2022 13:40:03 +0200 Message-ID: <20221013114006.9513-2-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221013114006.9513-1-madalinionel.patrascu@mdc-berlin.de> References: <20221013114006.9513-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-AS-Result: No-10--0.783500-5.000000 X-TMASE-MatchedRID: ZAkTtSyZ7B6XCltPr+Ow1grcxrzwsv5uwTlc9CcHMZerwqxtE531VNnf JrUSEbFDnArxARns8VzuNT8xdcEnQwE+dA3RWUSvutvHF25zoU8xVUWGXs3C84GIQZIfU2iYOXf Z9OHyzWb2d+ISO7RJhwpG4pEjrtHgPdBKwuQh6lvG+nS24MzHeQmWvXEqQTm5QlnkwN3j+RSETM jf6aTOJ/bmyhocZR/Gghn3RbVcxM6kBrVzJXa+wLPx3rO+jk2QcV3n4J/0zUORiUac/qi33JgNM iEzDc45fS0Ip2eEHnz3IzXlXlpamPoLR4+zsDTttrrTuahHzlEOhyZWWja9OChqWk0VorRuH3Mz 5SeNkLOeo6sT5GE9981iLQe84OhiQzrECHT6GGAfISf/iKF+nAXX0vrpYeEDC5UwDxuXerd0CfP GRz/A475iX+rqLWae/WY7WJgskOpPhxsEgoy4er7rweoAIK8o X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.783500-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: 6C707C263531FCBD78628A6A5C1B1733E55000559D0D8D8E7ECD95984B4A78632002:F 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-markdown-it-py): New variable. --- gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b95d598c07..33b6c62346 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4017,6 +4017,47 @@ (define-public python-virtualenv "Virtualenv is a tool to create isolated Python environments.") (license license:expat))) +(define-public python-markdown-it-py + (package + (name "python-markdown-it-py") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "markdown-it-py" version)) + (sha256 + (base32 + "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng")))) + (build-system python-build-system) + (arguments + (list + #:tests? #f ;;pypi source does not contains tests + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "flit" "build"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (for-each + (lambda (wheel) + (format #t wheel) + (invoke "python" "-m" "pip" "install" + wheel (string-append "--prefix=" #$output))) + (find-files "dist" "\\.whl$"))))))) + (native-inputs (list python-flit)) + (propagated-inputs + (list python-mdurl + python-typing-extensions)) + (home-page "https://github.com/executablebooks/markdown-it-py") + (synopsis "Python port of markdown-it") + (description + "This is a @code{Python} port of the well used @code{markdown-it}, and some +of its associated plugins. The driving design philosophy of the port has been +to change as little of the fundamental code structure (file names, function name, +etc) as possible.") + (license license:expat))) + (define-public python-markupsafe (package (name "python-markupsafe")