From patchwork Wed Apr 28 23:19:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 28972 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 1D88C27BC7C; Thu, 29 Apr 2021 00:22:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D7AF927BC7C for ; Thu, 29 Apr 2021 00:22:28 +0100 (BST) Received: from localhost ([::1]:47678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbtVk-0006ix-3V for patchwork@mira.cbaines.net; Wed, 28 Apr 2021 19:22:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbtUQ-0005hF-4m for guix-patches@gnu.org; Wed, 28 Apr 2021 19:21:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbtUP-000242-Qf for guix-patches@gnu.org; Wed, 28 Apr 2021 19:21:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbtUP-0008CC-NU for guix-patches@gnu.org; Wed, 28 Apr 2021 19:21:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH 10/11] gnu: Add python-mkdocs-material. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Apr 2021 23:21:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161965202931359 (code B ref 48091); Wed, 28 Apr 2021 23:21:05 +0000 Received: (at 48091) by debbugs.gnu.org; 28 Apr 2021 23:20:29 +0000 Received: from localhost ([127.0.0.1]:54386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtTo-00089e-VD for submit@debbugs.gnu.org; Wed, 28 Apr 2021 19:20:29 -0400 Received: from out0.migadu.com ([94.23.1.103]:21385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtTk-00088d-UF for 48091@debbugs.gnu.org; Wed, 28 Apr 2021 19:20:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619652024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=10aL4QpfFbx7CLmk5od6BOxa+YcnXByDLRwhFRmm/uE=; b=bWIr0ZaXLHO+mluSK24rmc0jaUxgCbwTts+gEWjmpXCwGzJUJ4G8c/Rxch92e7EoLPMl7i ZreTkU7iAZ6Mu08jWjI9EcZ05Z3FCuL4WibIAFNqdXLPSNxtfTViHsv0UWD0SugjNy6MVe lEJYjFrHz1IRKmH1wWdJfQ+FYHZKxmwuIQBMHe8HAOo6btikmeyZ7X8TEEXNn00cQ3nBXF RHraNiaOYIo0milPCpEY17a6bFqwMRyV/Y7BgAKZ7MaoVW4EZsdmzA5iDtdhnlDbnxTQ5J 71nyKA4LKV3oaOkJEU740i23Rs89JRYts41QXfplqvoOTpwDk1/pHmMtBitEUw== Date: Wed, 28 Apr 2021 19:19:33 -0400 Message-Id: <20210428231934.6479-10-rg@raghavgururajan.name> In-Reply-To: <20210428231934.6479-1-rg@raghavgururajan.name> References: <20210428231934.6479-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-mkdocs-material): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 87c4d16cb3..b94f03f928 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -349,6 +349,40 @@ configuration file.") (description "Extension pack for Python Markdown.") (license license:expat))) +(define-public python-mkdocs-material + (package + (name "python-mkdocs-material") + (version "7.1.3") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "mkdocs-material" version)) + (sha256 + (base32 "0ci9xiasq9nfn09v11m7p49vzazdbgslw7rpzjd6y3hsmn9vljz3")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Requirement mkdocs-material-extensions + ;; in-turn requires mkdocs-material. This causes + ;; circular dependency, so we remove this requirement. + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "requirements.txt" + (("mkdocs-material-extensions.*$") ""))))))) + (propagated-inputs + `(("python-markdown" ,python-markdown) + ("python-mkdocs" ,python-mkdocs) + ("python-pygments" ,python-pygments) + ("python-pymdown-extensions" + ,python-pymdown-extensions))) + (home-page "https://squidfunk.github.io/mkdocs-material/") + (synopsis "Material Design theme for MkDocs") + (description "Material for MkDocs is a theme for MkDocs, a static site +generator geared towards (technical) project documentation.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp")