From patchwork Thu Oct 13 11:40:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 43372 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 6B51527BBEA; Thu, 13 Oct 2022 12:45:10 +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 1497127BBE9 for ; Thu, 13 Oct 2022 12:45:10 +0100 (BST) Received: from localhost ([::1]:48310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiweD-0007OU-8M for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 07:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaF-00061q-Do for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaE-0003bj-Vm for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiwaE-0001pe-Qc for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 1/5] gnu: Add python-mdurl. X-Debbugs-Cc: rekado@elephly.net References: <750822584c9b40bf8bbd7e72a215e9ac@mdc-berlin.de> In-Reply-To: <750822584c9b40bf8bbd7e72a215e9ac@mdc-berlin.de> 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:02 +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.16656612466962 (code B ref 58490); Thu, 13 Oct 2022 11:41:02 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:46 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZx-0001oD-DK for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:45 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:36135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZv-0001nn-Hz for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1665661233; x=1667475634; bh=gsdqrNDPAX2beN0 yeuo3KmH5wEvHl+ORBcxH24BnNJg=; b=Ni97fNAb/RT9h9Y8kfP6T7TXQBOPtpu A8P5bBrebCX8HmciU8xRRC71vSbfq6o9G7qMQV3JWbVCZ3zX4cQ3e2Rhq3Kwr1fJ 9Y1CoiXbb0+hQqSzDF8VBZ8JZQNlMMWZjhWmXoE9qp3SNqoFtjV8U7Gyj8UhGczc BG0YoL1ukcGQ= 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 8AEB7A0345 for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:33 +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:23 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Thu, 13 Oct 2022 13:40:02 +0200 Message-ID: <20221013114006.9513-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.37.3 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--6.374300-5.000000 X-TMASE-MatchedRID: kREspPIIG7T/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOjEIt+uIPPOJG9 4MTCPIpje9miqIT5hkfuNT8xdcEnQwE+dA3RWUSvutvHF25zoU8xVUWGXs3C84GIQZIfU2iYOXf Z9OHyzWb2d+ISO7RJhwpG4pEjrtHgPdBKwuQh6lvG+nS24MzHeQmWvXEqQTm5QlnkwN3j+RRjaJ HsrxZyzPQOBfo2b70HVb2Z0ka9okEUegcXwBHh+8Yv//yaWh0DQuLGuwInWNOUKS3slq009Z4CI KY/Hg3AcmfM3DjaQLHEQdG7H66TyF82MXkEdQ77xrXA4yIwrKLS0t3G5hcEcNdS/41b1uFwuBQ5 BSs91IE8UQhwG9b68w== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.374300-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: 94A9DBACD2F5D9114C1C9FB10E992A8885CB07734563C9FE8886268101E7A7F02002: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-mdurl): New variable. --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) base-commit: 9ed65e6af77893b658a7159b091b5002892c2f95 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8575d4a67e..b95d598c07 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -66,7 +66,7 @@ ;;; Copyright © 2019, 2020, 2021 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour -;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu +;;; Copyright © 2019, 2021, 2022 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Riku Viitanen ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 sirgazil @@ -625,6 +625,42 @@ (define-public python-lunr that best match text queries.") (license license:expat))) +(define-public python-mdurl + (package + (name "python-mdurl") + (version "0.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "mdurl" version)) + (sha256 + (base32 + "1fn1hy35h9grggwqax90zcb52inlfxrxsm27vlqqz8zfyllkshdv")))) + (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)) + (home-page "https://github.com/executablebooks/mdurl") + (synopsis "Markdown URL utilities") + (description + "This package implements a @code{Python} port of the @code{JavaScript} +@code{mdurl}.") + (license license:expat))) + (define-public python-mrkd (package (name "python-mrkd") 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") From patchwork Thu Oct 13 11:40:04 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: 43375 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 0B5B527BBEA; Thu, 13 Oct 2022 12:47:21 +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 A7AF927BBE9 for ; Thu, 13 Oct 2022 12:47:20 +0100 (BST) Received: from localhost ([::1]:45624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwgJ-0008Gt-RT for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 07:47:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaH-00062Q-B7 for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaG-0003cC-5k 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 1oiwaG-0001q0-0Q for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 3/5] gnu: Add python-mdit-py-plugins. 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.16656612597015 (code B ref 58490); Thu, 13 Oct 2022 11:41:03 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:59 +0000 Received: from localhost ([127.0.0.1]:59772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwaB-0001oz-2p for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:59 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:57607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwa9-0001oR-E1 for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:57 -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=1665661247; x=1667475648; bh=kgmOYxpH+PpAhHiF11Imy+xxGxAc2C958HAccb4d9Bg=; b=ZDLIWUsvam3P BZ2bdr0dFoxjrMxn+WEdvpRWXVd/L9yo011tP1TjLYVRDDO/gMwKdSEIMwo7KA0h L1J3vCMcutxbyfzrKkvVCanCEmsY1T7GF+NyLHjq5Nv8Sk3gC5q3UwipK7C1+dov wqNO7xZNFWJdzQO7bW+hd4sUpyQa3AA= 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 9BCC8A033D for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:47 +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:04 +0200 Message-ID: <20221013114006.9513-3-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--2.752400-5.000000 X-TMASE-MatchedRID: toN6SH028bX/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOU8ftiyKjZrdb+ 0+0PRhbyRRa406V/YwyBUGewL2YXtzM8tlf1qfC1wLYk+NSxc5r4qCLIu0mtIPPlAor2K6Gj4s8 u+Zeh+al9LQinZ4QefCP/VFuTOXUTae6hIZpj4Mv3FLeZXNZS4CiM3WUt6LtFyGYBLR7gYt+rNQ FveURYN4jiOJZKeTZLldY8e274PwE2M5UKhzoYX/pS0FBjMHTH1A6h1mWJN14cKF/jV/toerzhx OiAzu9dWSgmpbFZnEI1kD2KtSTmq2Pbt5Stv2K5/Ox0TU9Ci5I= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.752400-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: ACC655690012683CDA3E050499A36E9003823DD7431E13CD4929632B2932C92A2002: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-mdit-py-plugins): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 33b6c62346..6c111bcb82 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -625,6 +625,33 @@ (define-public python-lunr that best match text queries.") (license license:expat))) +(define-public python-mdit-py-plugins + (package + (name "python-mdit-py-plugins") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mdit-py-plugins" version)) + (sha256 + (base32 + "0l4pwsn2q30j160zjg79qa8v2brc4zl295rgrkpbfspcxr8lzhpc")))) + (build-system python-build-system) + (propagated-inputs (list python-markdown-it-py)) + (native-inputs + (list python-coverage + python-pytest + python-pytest-cov + python-pytest-regressions)) + (home-page "https://github.com/executablebooks/mdit-py-plugins") + (synopsis "Collection of plugins for markdown-it-py") + (description + "This package contains a collection of plugins for @code{markdown-it-py} +like: @code{amsmath}, @code{attrs}, @code{container}, @code{definition list}, +@code{dollarmath}, @code{field list}, @code{footnote}, @code{textmath}, +@code{wordcount}.") + (license license:expat))) + (define-public python-mdurl (package (name "python-mdurl") From patchwork Thu Oct 13 11:40:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 43371 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 D1CC527BBEA; Thu, 13 Oct 2022 12:43:28 +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 8CAB527BBE9 for ; Thu, 13 Oct 2022 12:43:28 +0100 (BST) Received: from localhost ([::1]:44896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwcZ-0006Rc-Lr for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 07:43:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaE-00061l-PV for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaE-0003bO-HZ for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiwaE-0001pW-By for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 4/5] gnu: Add python-sphinx-gallery-0.7.0. 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:02 +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.16656612436946 (code B ref 58490); Thu, 13 Oct 2022 11:41:02 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:43 +0000 Received: from localhost ([127.0.0.1]:59760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZv-0001ny-0H for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:43 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:52391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZr-0001nh-T3 for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1665661229; x=1667475630; bh=G27YgnqhAFuc+e1jEg2ACtYX8rypRSxAibfd6SvmGjs=; b=AWgDx3QJvJDD lfwHHFqw4xzUfM71YiSiLBQWjatDPes+AvQ3nqEkiyH3Dn6dz6mulbngbJjfuzu6 xttQAEJjaYb36nmh2PW2pN0Hc5T0wkQGxfU9KJKm/RroTPwlpYA5sNQX6M2oD/Ez k/H4GBe721ATvh7sA3a6xULSobt4WI0= 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 02411A0319 for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:29 +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:05 +0200 Message-ID: <20221013114006.9513-4-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--4.281700-5.000000 X-TMASE-MatchedRID: RtHHqK+8YWP/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOkNS9uwltRRI+x jE6zJKa1oK9M8rNZd7Q+T46mdEugcSq+GZ9ZHxIhuW77/y896sgQ5L9qu3flQ5cFdomgH0lngxs fzkNRlfJlVdRvgpNpe/oLR4+zsDTttrrTuahHzlFO7Sj4qg25PHzxhy8N1vXN3AoWdA7/18RPnX 7Z7vDaRe9txFio9iN5MWJUzab9sJd4spo/BX2lWgYGvmg8Af5o0KAkABRGGph0CfPGRz/A475iX +rqLWae/WY7WJgskOpPhxsEgoy4er7rweoAIK8o X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.281700-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: 0DDB8ED39E6B31D273E62D849123600ABC53F273D2B35B022F05C01522B007492002: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/sphinx.scm (python-sphinx-gallery-0.7.0): New variable. --- gnu/packages/sphinx.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 2d53b7f3ac..fddeeb96c6 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021, 2022 Vinicius Monego ;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2021, 2022 Maxim Cournoyer +;;; Copyright © 2022 Mădălin Ionel Patrașcu ;;; ;;; This file is part of GNU Guix. ;;; @@ -549,6 +550,23 @@ (define-public python-sphinx-gallery from any set of Python scripts and puts it into an examples gallery.") (license license:bsd-3))) +(define-public python-sphinx-gallery-0.7.0 + (package (inherit python-sphinx-gallery) + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "sphinx-gallery" version)) + (sha256 + (base32 + "10255yyj7104ad6cibkmrwfpfgkl5675jfn3hd0sn63pjhndgsh5")))) + (build-system python-build-system) + (arguments `()) + (native-inputs + (list python-pytest + python-numpy)) + (propagated-inputs (list python-sphinx)))) + + (define-public python-sphinx-me (package (name "python-sphinx-me") From patchwork Thu Oct 13 11:40:06 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: 43374 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 3194627BBEA; Thu, 13 Oct 2022 12:46:56 +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 963D127BBE9 for ; Thu, 13 Oct 2022 12:46:55 +0100 (BST) Received: from localhost ([::1]:49584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwfu-00081p-Or for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 07:46:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaH-00062T-Bj for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaF-0003by-O6 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-0001ps-Io for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 5/5] gnu: Add python-jupytext. 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.16656612597008 (code B ref 58490); Thu, 13 Oct 2022 11:41:03 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:59 +0000 Received: from localhost ([127.0.0.1]:59770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwaA-0001ox-IC for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:59 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:51427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZz-0001nx-R9 for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:57 -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=1665661238; x=1667475639; bh=/W5Z/hQPZzWOAbIObTl9xcxip7BsenlXuxtdPLhPwP0=; b=ADBwILGUB5He JTj3rKAhBbmFq7Fiy46nXnxIhtry7NrHuq9pgJaUqO1DYfjOTK26DF+KdY4dZLBb eiba4S7tSnHDiNUrR8L6jZZa6OT5HhNaOexAvu5dOKfG+x7NmH7q1VAhmBGFtVpH COrh6aAFWFqVhZY+sLkGUhVCKz/qdAQ= 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 39A7AA0226 for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:38 +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:06 +0200 Message-ID: <20221013114006.9513-5-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--5.563500-5.000000 X-TMASE-MatchedRID: dEuj5lzoN6b/R1NSMc2qCU7nLUqYrlslFIuBIWrdOePfUZT83lbkEO87 m+OkgjhuRRa406V/YwyBUGewL2YXt10ieHN50/kHxi///JpaHQP4uJ1REX4MHaMZvngJnzipBAV MudebvJh7770R+ZHjWB6nlH/P8z5HWXUNckhMRyasxn4GpC3Y2gRryDXHx6oXWsMv01sS8mLqzk hCUQRGl47uFu0kSjHiEGKI4pOmFKZefGKycjsVDRFbgtHjUWLyjlQQ+MHi1dMenK78XFg4oTxTJ jE+nPo29kDZDbuDC6cKHw6Cq4swE/G831xGz+Q8194/5X9VfCwwLjM7t3iRozoUdFbHYUaw7fKx aM2xqkDgfHel+B9G5P0Aq1+uKwr9GYT8Jom9JI3i8zVgXoAltsIJ+4gwXrEtwrbXMGDYqV+J8YJ gRrgXFw/YL7biWKTUepUkvGrC5ZuqHdMJG2k5qzDlk26oYXHz X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.563500-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: 47125E0EF49BD26373C48F1AD5CA807ED8305D3E13A1FD821DBD2D567B1D35882002: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-jupytext): New variable. --- gnu/packages/python-xyz.scm | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6c111bcb82..51753e279a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -319,6 +319,83 @@ (define-public python-janus design}.") (license license:asl2.0))) +(define-public python-jupytext + (package + (name "python-jupytext") + (version "1.14.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mwouts/jupytext") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gqpvphrp2ja9ggadx0rrk0sqbpz6kqqg62qqmw4k17469lphc8c")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "tests/utils.py" + ;; is required isort > 5.3.0 but the authors made a confusion + ;; between string comparations and version parsing comparasion + (("or isort_version\\(\\) <= \"5\\.3\\.0\"") + "") + (("\"python_kernel\"") + "\"python3\"")))) + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + ;; some tests fails when HOME=/homeless-shelter. + (setenv "HOME" "/tmp") + ;; OSError: [Errno 18] Invalid cross-device link + (setenv "TMPDIR" "/tmp") + (add-installed-pythonpath inputs outputs) + (when tests? + (let ((disabled-tests + (list "test_create_header_with_set_formats" + "test_pre_commit_hook" + "test_sync_with_pre_commit_hook"))) + (invoke "pytest" "-vv" "-k" + (string-append "not " + (string-join disabled-tests + " and not ")))))))))) + (native-inputs + (list git + python-autopep8 + python-black + python-flake8 + python-gitpython + python-isort + python-ipython-genutils + python-jupyter-server + python-pre-commit + python-pytest + python-pyaml + python-sphinx-gallery-0.7.0)) + (propagated-inputs + (list python-markdown-it-py + python-mdit-py-plugins + python-nbformat)) + (home-page "https://github.com/mwouts/jupytext") + (synopsis + "Jupyter notebooks as Markdown documents, Julia, Python or R scripts") + (description + "@code{Jupytext} is a plugin for @code{Jupyter} that can save @code{Jupyter +notebooks} as either @code{Markdown} files or scripts in many languages. Common +use cases for @code{Jupytext} are: +@itemize +@item +version control on Jupyter Notebooks +@item +editing, merging or refactoring notebooks in your favorite text editor +@item +applying Q&A checks on notebooks. +@end itemize") + (license license:expat))) + (define-public python-logzero (package (name "python-logzero")