From unknown Wed Jun 18 23:08:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66018 <66018@debbugs.gnu.org> To: bug#66018 <66018@debbugs.gnu.org> Subject: Status: Add python-documentation Reply-To: bug#66018 <66018@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:08:32 +0000 retitle 66018 Add python-documentation reassign 66018 guix-patches submitter 66018 Mitchell Schmeisser severity 66018 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 15 16:58:23 2023 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) Authentication-Results: name mx1.librem.one; dmarc=fail (p=reject dis=none) header.from=librem.one From: Mitchell Schmeisser To: guix-patches@gnu.org Subject: Add python-documentation 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-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From 97ddb86c30bfa7c349a48b0c16b5c5c29394e2e9 Mon Sep 17 00:00:00 2001 Message-Id: <97ddb86c30bfa7c349a48b0c16b5c5c29394e2e9.1694811122.git.mitchellschmeisser@librem.one> From: Mitchell Schmeisser List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) --=-=-= 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 --=-=-=--