From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Ohu5BFEmQmHzGAEAgWs5BA (envelope-from ) for ; Wed, 15 Sep 2021 18:58:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eMODO1AmQmHzKQAA1q6Kng (envelope-from ) for ; Wed, 15 Sep 2021 16:58:56 +0000 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 BE24D1183A for ; Wed, 15 Sep 2021 18:58:56 +0200 (CEST) Received: from localhost ([::1]:44328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQYFL-000878-Ny for larch@yhetil.org; Wed, 15 Sep 2021 12:58:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQY00-00022F-2p for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzz-0006E0-P6 for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzz-0003Xu-MD for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 5/5] gnu: Add python-myst-parser. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48842@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.163172413513543 (code B ref 48842); Wed, 15 Sep 2021 16:43:03 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:15 +0000 Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXzD-0003WN-Ig for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXzA-0003Vi-9V for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9F28524002A for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:42:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724126; bh=8M9wNzgEoSFcRAfLDBFAZ4kPq8C0lb/RZFyilnXda9I=; h=From:To:Cc:Subject:Date:From; b=BtPsEZdXi/nfHVOIw42z7TQ3tlBCLAi7htT04DJoKf3l/0PSM31Ik5i/Z7ey9CTua 8cohJMf7YzH4rBOVttXfpoNToRyDKTs1mCbDLcUKFowP4XnHGyE+K71BTt8sxPgalX mo9Ox1FvU9igwAB2eAUabFjKrEG4FqpEZnYnEGrK7fB1O0/3de7/b//0MiBMuIJoGQ RSa1sZYTHmbKHTZQXl1w1eAtXGypE5BpM1zsFwRVUvUucrknUzZRkdnWmBQBZZDDlE OaOYEDLWbI8l4thosQ7Kge5ajNbl0U8oS9ntFQkEgW3ys7Z/P89eRrP+dpFKJhkZuo 2l2iIIYk4vHfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mG56JK6z6tmB; Wed, 15 Sep 2021 18:42:05 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:30 +0000 Message-Id: <20210915164130.11236-5-monego@posteo.net> In-Reply-To: <20210915164130.11236-1-monego@posteo.net> References: <20210915164130.11236-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631725136; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=Tx4oSF2b/kitYDMa4PTAlW3yTtYan3IrNwo6tIynnn4=; b=cC2Tyjlo3wzCTh883XMi3dNvlOx7kSP2GaniFvK1shrTPUOfXLFPMWK6vB2PRHkPJVzgjo BYc5IWyk0Zm24h721Zb4TfrP6PQdw44K5Wpwg01zdSKE6taiqbuXLBm+RxgDyZt9XTIFrV CHZKzsnRSU+oACKgI5XzthYe6Zls+Bwh9gIcSDhfsEt/jxIPHn+6D7No5XZIqcWtmc+zBd 6HeKFF9A6TO1dDnqUXeNPjPP7CtebtxsNv8xhtlhoaN1MDx+RcOVauxugQhoZn2PX6YmPP A9PIlQWH5t208XgoeExSl1d9QtAy+Mq+fBSA2r5QCf6lf1WZj6DBnomab9qyBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631725136; a=rsa-sha256; cv=none; b=IpQfrGUHHRa0+d6zyvYG/vnSNydIKZxFKHRqF0JH/BDe7eE8qhJzQSBmLgyVEBuldq2v7+ KMkon/FbUtt+m8zT6hEuIHpfy+dvDjghpPEFzILPSykWYkYoSSFO9L9xWK/rFh4NpSc7le gRR+pm0FUfjaW327NaAQF6/Qq2C2dAxcifkFgnh8HTKFSIdjZMFOFsu6IUj2q6KXeEL+1B XB9aK8fME44KG/kPzNk81hxNQ1DOgTTP1ArsLC/LfaKX1uSy+diEWWTJaNeqZ0Twc13dhn q9UwM8uQxI+FyLxF4IR/0aRqr5BD86bzB7EJjAafN+QMqQzNuwvcB3hsRDSqpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=BtPsEZdX; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=BtPsEZdX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BE24D1183A X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: XjX/zpR+hmvG * gnu/packages/sphinx.scm (python-myst-parser): New variable. --- Updated to 0.15.2 and enabled full tests. gnu/packages/sphinx.scm | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index a7a3443707..b801ef41c7 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -619,6 +620,52 @@ and several other projects.") (define-public python2-sphinx-rtd-theme (package-with-python2 python-sphinx-rtd-theme)) +(define-public python-myst-parser + (package + (name "python-myst-parser") + (version "0.15.2") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/executablebooks/myst-parser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x894k0s2c1f71b5rh0vlcv8hxm1p1i3hqnyhi5qz5z35npnf3ms")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs + `(("python-docutils" ,python-docutils) + ("python-jinja2" ,python-jinja2) + ("python-markdown-it-py" ,python-markdown-it-py) + ("python-mdit-py-plugins" + ,python-mdit-py-plugins) + ("python-pyyaml" ,python-pyyaml) + ("python-sphinx" ,python-sphinx))) + (native-inputs + `(("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-coverage" ,python-coverage) + ("python-linkify-it-py" ,python-linkify-it-py) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-regressions" + ,python-pytest-regressions))) + (home-page "https://github.com/executablebooks/MyST-Parser") + (synopsis "Extended commonmark compliant parser") + (description + "MyST-parser is an extended commonmark compliant parser, with bridges to +docutils and Sphinx.") + (license license:expat))) + (define-public python-breathe (package (name "python-breathe") -- 2.30.2