From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kJNpCbPFBGWDOgEAauVa8A:P1 (envelope-from ) for ; Fri, 15 Sep 2023 22:59:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kJNpCbPFBGWDOgEAauVa8A (envelope-from ) for ; Fri, 15 Sep 2023 22:59:31 +0200 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 C46C042352 for ; Fri, 15 Sep 2023 22:59:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694811571; a=rsa-sha256; cv=none; b=jwOQPfb5P3dufuf9jlGQ3wiz/OqmLNAs72aBvGgb1wKdc8YR9IWUs7mnJ2cMAYEuj3UwQm vxj4teYi2mxPRt66ePzv1r81mJhmYSzWUcjlWdSjOxY5JHcu7E2D4IHT27hoGxz7pWCkMH 1DaoVoto1L0V5d/lEi3ybnJO38j+xQxr8glrjMLMK7qby8ZgyFSuJYhEPoi2UipW8MRBHa h+sftkTuHTpAytCUkxB4s2KMyXWl05k02jxgTkOZdM3ZEWkc+A6iZOtNDO0kSNGH2V+aDO PLhDaOSKwzNG4WFfJjxc+jAu/1pMx/x3Rr1UuLdLnjVA3/LzJrb93A5v1l8lig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694811571; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:content-type:content-type:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ekN0xuw9Lcz9wu3JW/wdr3IzPuxrurXnqXPR5GiL32o=; b=oqEreO7QYAzl3Al2ReIKFlVQkzWLn210DHHxdnFiB+tFzEKCIY87jqW1Hp7OqTEyYQVZVX rdiiT+eQDHiYqtYb+deXhDpvs96w0mjgxHH4Aff+iJm1iSMQ1za4TTX8DMOzfeJ1Pdl7gK V1jJJ5AsBKxftCNjwjrz1JXkYgDfX/P5Zlrfh/Hn/ln5NsqehLPzXBXyE29Tb7oiLfxzLc XCyQ2pugOfilY33CFiE0SJWh0gbhW4lPpPuOegaQBGrro31XzoZ0aPM+D11jU0QVGF6y/U +iWUp93CfkjhLk3D3v+f92+EeVDW+s7ITKqcrp4fSvYK4EtKB08CunOfQgL3jA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhFu9-0002fK-Ny; Fri, 15 Sep 2023 16:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhFtz-0002ef-At for guix-patches@gnu.org; Fri, 15 Sep 2023 16:58:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhFtv-0003Jp-HP for guix-patches@gnu.org; Fri, 15 Sep 2023 16:58:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhFu2-0001bR-46 for guix-patches@gnu.org; Fri, 15 Sep 2023 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66018] Add python-documentation Resent-From: Mitchell Schmeisser Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 66018@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16948115036104 (code B ref -1); Fri, 15 Sep 2023 20:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Sep 2023 20:58:23 +0000 Received: from localhost ([127.0.0.1]:44979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhFtO-0001aN-Kt for submit@debbugs.gnu.org; Fri, 15 Sep 2023 16:58:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhFtK-0001a8-7h for submit@debbugs.gnu.org; Fri, 15 Sep 2023 16:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhFt8-0002ZF-A5 for guix-patches@gnu.org; Fri, 15 Sep 2023 16:58:06 -0400 Received: from mx1.librem.one ([138.201.176.93]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhFt5-000357-Vw for guix-patches@gnu.org; Fri, 15 Sep 2023 16:58:06 -0400 Received: from smtp.librem.one (unknown [192.241.214.14]) by mx1.librem.one (Postfix) with ESMTPS id DB6D381ED2 for ; Fri, 15 Sep 2023 13:57:58 -0700 (PDT) Date: Fri, 15 Sep 2023 16:57:54 -0400 Message-ID: <87h6nvgnn1.fsf@librem.one> Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=138.201.176.93; envelope-from=mitchellschmeisser@librem.one; helo=mx1.librem.one X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, MIME_HEADER_CTYPE_ONLY=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: Mitchell Schmeisser X-ACL-Warn: , Mitchell Schmeisser via Guix-patches From: Mitchell Schmeisser via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.71 X-Spam-Score: -4.71 X-Migadu-Queue-Id: C46C042352 X-Migadu-Scanner: mx2.migadu.com X-TUID: 9zNI8N6NX+JR --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Added-python-documentation.patch Content-Transfer-Encoding: quoted-printable Content-Description: python-documentation.patch >From 97ddb86c30bfa7c349a48b0c16b5c5c29394e2e9 Mon Sep 17 00:00:00 2001 Message-Id: <97ddb86c30bfa7c349a48b0c16b5c5c29394e2e9.1694811122.git.mitche= llschmeisser@librem.one> From: Mitchell Schmeisser Date: Fri, 15 Sep 2023 16:49:01 -0400 Subject: [PATCH] gnu: Added python-documentation To: guix-patches@gnu.org * gnu/packages/python.scm (python-documentation): New variable. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 51d5f598d7..be1725619f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -61,6 +61,7 @@ ;;; Copyright =C2=A9 2022 Philip McGrath ;;; Copyright =C2=A9 2022 jgart ;;; Copyright =C2=A9 2021 Lars-Dominik Braun +;;; Copyright =C2=A9 2023 Mitchell Schmeisser ;;; ;;; This file is part of GNU Guix. ;;; @@ -644,6 +645,34 @@ (define-public python-debug @url{https://pythonextensionpatterns.readthedocs.io/en/latest/debugging/de= bug.html}, for more information."))) =20 +(define-public python-documentation + (package (inherit python) + (name "python-documentation") + (outputs '("out")) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (add-before 'build 'cd-to-doc + (lambda _ + (chdir "Doc"))) + (replace 'build + (lambda _ + (and (invoke "make" "texinfo") + (chdir "build/texinfo") + (invoke "make")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "make" "install-info" (string-append "infodir=3D" + (assoc-ref outpu= ts "out") + "/share/info")))= )))) + (native-inputs + (modify-inputs (package-native-inputs python) + (prepend python-sphinx + texinfo))) + (description "This package contains Python3 info pages."))) + (define* (wrap-python3 python #:optional (name (string-append (package-name python) "-wrappe= r"))) base-commit: 213516f0baf92b6f50bd0c2e005625c0b3421a6f --=20 2.40.1 --=-=-= Content-Type: text/plain -- Mitchell Schmeisser OpenPGP Fingerprint: 08 9F 0E 56 00 87 96 56 C4 63 69 1A 38 11 C0 0D C4 28 5E 27 --=-=-=--