From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2IOYJK7mmWOcSwEAbAwnHQ (envelope-from ) for ; Wed, 14 Dec 2022 16:07:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gD26I67mmWNq1wAAG6o9tA (envelope-from ) for ; Wed, 14 Dec 2022 16:07:26 +0100 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 4D9EC8662 for ; Wed, 14 Dec 2022 16:07:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5TKe-0003lH-PM; Wed, 14 Dec 2022 10:06:04 -0500 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 1p5TKd-0003k6-CL for guix-patches@gnu.org; Wed, 14 Dec 2022 10:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5TKc-0006J0-T3 for guix-patches@gnu.org; Wed, 14 Dec 2022 10:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5TKc-00043i-9c for guix-patches@gnu.org; Wed, 14 Dec 2022 10:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60067] [PATCH v2] gnu: Add emacs-pydoc. References: <20221214150006.5008-1-jgart@dismail.de> In-Reply-To: <20221214150006.5008-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Dec 2022 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60067@debbugs.gnu.org Cc: jgart Received: via spool by 60067-submit@debbugs.gnu.org id=B60067.167103032515577 (code B ref 60067); Wed, 14 Dec 2022 15:06:02 +0000 Received: (at 60067) by debbugs.gnu.org; 14 Dec 2022 15:05:25 +0000 Received: from localhost ([127.0.0.1]:39777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5TK0-000439-IK for submit@debbugs.gnu.org; Wed, 14 Dec 2022 10:05:24 -0500 Received: from mx1.dismail.de ([78.46.223.134]:28444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5TJv-00042w-Bf for 60067@debbugs.gnu.org; Wed, 14 Dec 2022 10:05:23 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f4ccc5af for <60067@debbugs.gnu.org>; Wed, 14 Dec 2022 16:05:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=d80aT/0wn1/4H0pTfvdZ1 HxnOilJp26hSoj27p3MSB0=; b=nlm263YlDK+IGx3es56SI9YUNtkQ7gf/75ZUS /8Uqm9SBaCOZy+3wUYq/QZqF0rfWjIFM/tuCXS4gTSrbKJBv1F+5r7yBYs0Kgb+V qJ8DzvchoElvHncm7EjbA4jJHbQUHoiNSnW8uXT0rLgLL+nbnPN15Jb5FDdSiyg7 dB0I8Bn8pUzkSGV88q6OI4XV1Ii/89m4Fp8DJrhtRKrEEOncJahxcLEVTxl8yhnx yGO2REHRy45/RMyv+OwOwSgdYyBRMfBYB7Q2N90xz3OmIE/Zh2oVbZhWzr6zdzr3 IFv3tsQGzfgRa7R0X+JdwkJMrlW9S+AC3aL/xHSjtQtFLwPig== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 437fc147 for <60067@debbugs.gnu.org>; Wed, 14 Dec 2022 16:05:12 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 0b81856a for <60067@debbugs.gnu.org>; Wed, 14 Dec 2022 16:05:12 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 61c65d88 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 14 Dec 2022 16:05:12 +0100 (CET) Date: Wed, 14 Dec 2022 09:04:07 -0600 Message-Id: <20221214150406.5249-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671030446; h=from:from:sender:sender:reply-to: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: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=gGa/IyNXi9XWhEP5IpKTPA2GZeQ/khezgpJG3QXC/+0=; b=L++PpppmDhuxX2L0nTbmw+8H73+G21uW4nhUgSvt6sQMIxk++dNvX56h42lxMqse/x5Rme w+7CvsDBYkN/q3hwGnxlOmWIqGqIMKSZ9jWtmWeedjrrIcv9PcLozxp/IivIohZDAPDNLy XwXhaMEzNqwPvXzK7wgSCO8FTaG1myz+i1u9n8yF+ul8bQxf35WuhYmu6MmvhGAe+oBQ7x dWRp8yPWXV+NytDHT5f9ysOaMkafTM2po2z7RP2zm4jWnc49KgzhvETJYyhIsOoOCa/DbS a7N8o0xD+1p+QG4Og0+I1+oecqCeU2PKqGBqyipr1w12jktAfFMMazZAoKl6Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=nlm263Yl; 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=1671030446; a=rsa-sha256; cv=none; b=sZ3OgsWkS5lXIesEBJLvsB1CLYGTElLqokQpoJS6Tj0w00FctXYHs7UgFHngeGcLvZm1Es 7qIrZ3NKEB5Cfbsy+uiDdsKetxW5V0L1vbLct4Kylrzn69Jg/Tqwq+ScHWlP6IiPgMVqfj TzabpXkI7Uge5d+lYTZsgCZBnyAG7fFBC1PJ4DKCXJGqRdgJzs+jkP3SGudExrX2pZYxbd 7mHT8SNnjx2GmyOaGNQrASZwi92ADf8aHHtwPosfzE8m76VCzl6rdwPjRe/rjNDTt8A1DZ dB77wG6EUe5HeonknRHsZIZzdUhwvknwrzXW1KquyiwCKlXxRzbZToTtCVkhYA== X-Migadu-Spam-Score: -3.87 X-Spam-Score: -3.87 X-Migadu-Queue-Id: 4D9EC8662 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=nlm263Yl; 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 X-TUID: k1dY/C14FOai * gnu/packages/emacs-xyz.scm (emacs-pydoc): New variable. Hi, just changed the wording in the phases in v2 for clarity. all best, jgart --- gnu/packages/emacs-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3286928f8d..63e080c44b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -196,6 +196,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages linux) #:use-module (gnu packages libevent) #:use-module (gnu packages lisp-xyz) + #:use-module (gnu packages lsof) #:use-module (gnu packages lua) #:use-module (gnu packages music) #:use-module (gnu packages version-control) @@ -8637,6 +8638,46 @@ (define-public emacs-popper windows Emacs produces, while still keeping them within arm’s reach.") (license license:gpl3+)))) +(define-public emacs-pydoc + ;; https://github.com/statmobile/pydoc/issues/31 + (let ((commit "c8b667e17bfe3e63221f822c5c4d58c8fb4fea90") + (revision "0")) + (package + (name "emacs-pydoc") + (version (git-version "0.2" revision commit)) + (source + (origin + (uri (git-reference + (url "https://github.com/statmobile/pydoc") + (commit commit))) + (method git-fetch) + (sha256 + (base32 "082ar5w28dknaa63mf587vdzr78xlnvh8lbxqq3hk6qa2c72akam")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-python-executable + (lambda* (#:key outputs #:allow-other-keys) + (emacs-substitute-variables "pydoc.el" + ("pydoc-python-command" + (search-input-file outputs "bin/python"))))) + (add-after 'unpack 'patch-lsof-executable + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "pydoc.el" + (("\"lsof") + ;; Replace removed double quote in parsing of lsof executable. + (string-append "\"" (search-input-file inputs "bin/lsof"))))))))) + (inputs (list lsof python-wrapper)) + (propagated-inputs (list python-jedi)) + (home-page "https://github.com/statmobile/pydoc") + (synopsis "Navigate Python documentation in Emacs") + (description "This package provides an Emacs mode for navigating +Python documentation with @code{pydoc} in Emacs.") + (license license:gpl3+)))) + (define-public emacs-python-black (package (name "emacs-python-black") -- 2.38.1