From patchwork Wed Mar 29 12:42:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 48785 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 DA62A17150; Wed, 29 Mar 2023 13:44:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 041E917131 for ; Wed, 29 Mar 2023 13:44:31 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phV9u-00078L-Qq; Wed, 29 Mar 2023 08:44:10 -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 1phV9n-00076j-4r for guix-patches@gnu.org; Wed, 29 Mar 2023 08:44:05 -0400 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 1phV9m-0001q8-Sv for guix-patches@gnu.org; Wed, 29 Mar 2023 08:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phV9m-0004je-Pc for guix-patches@gnu.org; Wed, 29 Mar 2023 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62520] [PATCH] gnu: Add emacs-pippel. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62520 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62520@debbugs.gnu.org Cc: Rostislav Svoboda X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168009382118119 (code B ref -1); Wed, 29 Mar 2023 12:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2023 12:43:41 +0000 Received: from localhost ([127.0.0.1]:51479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phV9R-0004iB-3a for submit@debbugs.gnu.org; Wed, 29 Mar 2023 08:43:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:39514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phV9P-0004hx-0I for submit@debbugs.gnu.org; Wed, 29 Mar 2023 08:43:39 -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 1phV9O-000759-Pg for guix-patches@gnu.org; Wed, 29 Mar 2023 08:43:38 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phV9M-0001mN-LU for guix-patches@gnu.org; Wed, 29 Mar 2023 08:43:38 -0400 Received: by mail-ed1-x52c.google.com with SMTP id er13so21691942edb.9 for ; Wed, 29 Mar 2023 05:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680093815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kwX97kXTBVlkcunhhRjB4vthQfcSwcYKimjEPddlCtY=; b=CQ4X7YGK3j/cpnxb2zZu74AOpq8SO89XRa3zZAFBff3QB8jvcs5bwbQC1BCgZDk29L bFrSwWt7AGe/tK4lJnzfGH1tiSvbHwBg/sbCYSZq9RCBVUnD59xBlhDjNLZUaYdqdTsA H8bXJKUaJyf6PFzl0bFrdy40y2Cb1ajOX3Q8IPgR4XHSyA2dXFpg3ySXZRLyTQ7o8o9O Qbb1WJ1DEKpeZiG3vRN3+OAqxlGlZMeIbPuKo7HlOBLktxbbQg1MI00fT7arxHC0o8i+ h8aALWck3hZDTeHHe9YZh5eQqVYFkEkdFrtCV21Le3w9XG3xbAWB21YBxTDU5gjz3UZm bzrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680093815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kwX97kXTBVlkcunhhRjB4vthQfcSwcYKimjEPddlCtY=; b=a6HyTPEG2uN8VUo38/HZtnKkJdBc8ZtpRJKB4vNMBlV4Uri6WqNZhVoZD00zpkFuxV 2Kb+or8c7oi+Qp+fw/jgaefMyuhRxt7Jkkn1Kr/rm2pbg0ksFqhVJd3HvQC1B3nowtDX JiiNzlxIukPYK32lXhKhpYxmfnaIiUi6aCmJlgyuNbZ+yjKJb+Tw7UijLTyxVUfDEnzp TfslLZBOfOnYbjl0MbsLeIWKKZYMTypgv4FacOr5ofW9KSYpdiRtYj1EmYLF3O4xdV6/ czCHomCklrchptlQmPkW7qC9prn8GjuA45i32zRgxtAUwT4mMkuBQNRwFIxt4tM/mTG2 a6Iw== X-Gm-Message-State: AAQBX9eqPfHXmOscr1DSFvMZ1t4OBN9AyNmqw2v2XUCR3wpbayN49bxR y8THpBwn8K5JsDVeTvzmfOKVVRrkylc/MA== X-Google-Smtp-Source: AKy350YNhEZJslqh869JzzB4e8oXzhZmqWxnhy6jsaanKGD1ISIPPcsQoZA2rxrmNhRJS01itsyLYw== X-Received: by 2002:a50:e70d:0:b0:4fb:f2db:a654 with SMTP id a13-20020a50e70d000000b004fbf2dba654mr19434018edn.12.1680093814787; Wed, 29 Mar 2023 05:43:34 -0700 (PDT) Received: from ecke.fritz.box (dynamic-077-181-056-072.77.181.pool.telefonica.de. [77.181.56.72]) by smtp.googlemail.com with ESMTPSA id c14-20020a509f8e000000b005003fd12eafsm16784445edf.63.2023.03.29.05.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 05:43:34 -0700 (PDT) From: Rostislav Svoboda X-Google-Original-From: Rostislav Svoboda Date: Wed, 29 Mar 2023 14:42:18 +0200 Message-Id: <20230329124220.7210-2-Rostislav.Svoboda@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230329124220.7210-1-Rostislav.Svoboda@gmail.com> References: <20230329124220.7210-1-Rostislav.Svoboda@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=rostislav.svoboda@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-pippel): New variable. --- gnu/packages/emacs-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index da2856abc8..1cdaccd366 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17288,6 +17288,54 @@ (define-public emacs-php-mode documentation search and a source and class browser.") (license license:gpl3+))) +(define-public emacs-pippel + (let ((commit "cb194952ee150e77601d3233dabdb521b976ee79") + (revision "0")) + (package + (name "emacs-pippel") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arifer612/pippel") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17606l24yyrjxa4rc0p2zj50lfbayqldw4phhi59yqf61289d520")))) + (build-system emacs-build-system) + (arguments + (list + #:include #~(cons "^pippel\\.py$" %default-include) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-pippel-package-path + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (package-path (string-append + out + "/share/emacs/site-lisp/pippel-" + #$version))) + (emacs-substitute-variables "pippel.el" + ("pippel-package-path" + package-path))))) + (add-after 'unpack 'substitute-python-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "pippel.el" + ("pippel-python-command" + (search-input-file + inputs + "/bin/python")))))))) + (inputs (list python-wrapper)) + (propagated-inputs (list emacs-dash emacs-s)) + (home-page "https://github.com/arifer612/pippel") + (synopsis "Emacs frontend to Python package manager Pip") + (description + "Pippel is an Emacs frontend for the Python package manager Pip. As +Pippel also uses Tabulated List mode, it provides a similar package menu like +@code{package-list-packages}.") + (license license:gpl3+)))) + (define-public emacs-pos-tip (package (name "emacs-pos-tip")