From patchwork Fri Apr 30 13:32:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29027 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 A5FFC27BC7D; Fri, 30 Apr 2021 15:30:44 +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 D574E27BC7C for ; Fri, 30 Apr 2021 15:30:43 +0100 (BST) Received: from localhost ([::1]:40124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUAF-0000Wd-2m for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:30:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcTGV-0002cZ-Nm for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcTGS-0006mG-BO for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcTGS-0000q1-8w for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v4 08/11] gnu: Add python-mkdocs. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 13:33:04 +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.16197895723154 (code B ref 48091); Fri, 30 Apr 2021 13:33:04 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 13:32:52 +0000 Received: from localhost ([127.0.0.1]:57910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcTGF-0000oe-NM for submit@debbugs.gnu.org; Fri, 30 Apr 2021 09:32:52 -0400 Received: from out0.migadu.com ([94.23.1.103]:61021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcTGB-0000nt-K5 for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 09:32:48 -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=1619789560; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7TDl2EXKLaijWnUq4mNhtwAVnSf25LLffz7BQW/tOC4=; b=ZNv/7kxdJYC4WHjH4NUGBzXIoD1XHIVx/3mb3crNC+zSH0y3Kbc1iqQrSGG+tVdS/nh6X4 zr2VZP54VVP2wVbQWHWj1DNxsvU3jeAzXcAuGJ0wZz3yl22QoH2WbUBd9noleM79uOQBIk YYuuLMNFGsYIXIedDRBKtGRcXYZNBeE3a0boDsbbQOA0KoAhPqFY99RBXgRVbGtCHK/fV0 pkYxWtNrTfv7Fpi+YhwQxZNf7R3bRVlYd95pIqCA47R+PNXBKVptYE2scEyxSUwayHKf7J NX52Wk26EsVQnPbebdhD7BANBh+6fkGBYZjDdv2XH5KPgr8UGzHcrNxIOL1WEA== Date: Fri, 30 Apr 2021 09:32:26 -0400 Message-Id: <20210430133229.8763-8-rg@raghavgururajan.name> In-Reply-To: <20210430133229.8763-1-rg@raghavgururajan.name> References: <20210430133229.8763-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): New variable. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0381ef56fa..62d539eb78 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -290,6 +290,43 @@ search capabilities into Python, guaranteeing results as close as the original implementation as possible.") (license license:expat))) +(define-public python-mkdocs + (package + (name "python-mkdocs") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "mkdocs" version)) + (sha256 + (base32 "0fgv5zawpyyv0vd4j5y8m4h058lh9jkwfcm0xy4pg7dr09a1xdph")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Requirements refer to a specific version of dependencies, + ;; which are too old. So we patch to refer to any later version. + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "setup.py" + (("==") ">="))))))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-jinja2" ,python-jinja2) + ("python-livereload" ,python-livereload) + ("python-lunr" ,python-lunr) + ("python-markdown" ,python-markdown) + ("python-pyyaml" ,python-pyyaml) + ("python-tornado" ,python-tornado))) + (home-page "https://www.mkdocs.org") + (synopsis "Project documentation with Markdown") + (description "MkDocs is a fast, simple and downright gorgeous static site +generator that’s geared towards building project documentation. Documentation +source files are written in Markdown, and configured with a single YAML +configuration file.") + (license license:bsd-3))) + (define-public python-slixmpp (package (name "python-slixmpp")