From patchwork Mon Mar 13 13:01:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 47935 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 39FF316DDF; Mon, 13 Mar 2023 13:03:26 +0000 (GMT) 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=unavailable 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 4A5D416DC2 for ; Mon, 13 Mar 2023 13:03:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbhpV-0005K4-4l; Mon, 13 Mar 2023 09:03: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 1pbhpO-0005FM-He for guix-patches@gnu.org; Mon, 13 Mar 2023 09:03:03 -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 1pbhpO-0002E3-70 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbhpO-0001SX-2G for guix-patches@gnu.org; Mon, 13 Mar 2023 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62123] [PATCH 3/4] gnu: Add emacs-pippel. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62123@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16787125725594 (code B ref -1); Mon, 13 Mar 2023 13:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 13:02:52 +0000 Received: from localhost ([127.0.0.1]:33859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbhpE-0001S6-9H for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:02:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:41346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbhpC-0001Rx-6f for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:02:50 -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 1pbhpB-00058l-W3 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:02:50 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbhp6-00023r-Sa for guix-patches@gnu.org; Mon, 13 Mar 2023 09:02:49 -0400 Received: by mail-lj1-x22e.google.com with SMTP id f16so12510098ljq.10 for ; Mon, 13 Mar 2023 06:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678712549; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=mqTNyHC81hVt9tPSVjm8ylNpFWk6DXx0DqCoKz8AFlA=; b=CGafsRlfbUD6wcq8nBC2Ma3o0QvucoKAMVoq8kOQYt7H3aUB8x6ZT4vuvzRASScltQ GccUihB/LZbHquZ3o0PR1uIk2PEByIg2kPDj0upZ9UULtVh/Sn64VaeMz6XtBlPbFVNa NI6n0j6iTshLONTtI4QHIK1WSzFEjjbKHeoR4Boo49xhOcsL4erhwRX6IuMUfq+PXOQn g319FozEJWKrPHxhcff5q+jin+gQaljs4SoVltgtJtUKW4Di7FOmFysF96B+iYGOl/3D Bgr6KVDHDt83ADnfnzuID5HueTN4SrHxEAQ0I+IBllKUVjT57Of95rEq6BGjgu3a4RFC j6xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678712549; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mqTNyHC81hVt9tPSVjm8ylNpFWk6DXx0DqCoKz8AFlA=; b=PGa7HZY8zF/Kyh3W2Di3P1S5HZ5l/LIEe2mugpMXIo6MucXL95+vDH0CtUVRuqaPmh z28b8VWhuRJ5To1Swy+0fePiUKNlY1X+TEq7LaWqh1Q2lsIz3AHNQcctiIPiYBTJHsMg O67934ph4/ZqE4N+jirjx0wO1kZHK0cxl/1qEA9/YqC0e4Uox1wyMIyNxwY+FgQctB+M 1CrY8jGUGtwtx+owMOVeMFPWekCPoT+vTmdfJVdVGjfF2DOqBTaD/SNuPLxglxpTSRwS JDu7scE06ziV2Gtq8xZBLwj7MTG4qR4AXeLJrwhS7iQJ/76LJ0hz3eZXMu8EoCOS87we gkWw== X-Gm-Message-State: AO0yUKXcLNacM8CMtiZZvO1ljJyZRKwXylyHMJR4xiw6ZGFgvVEo6qRe afJmPwdH+8imhohnR7vDTrhlJMn+g1p6M3B085Mng7wOuXA= X-Google-Smtp-Source: AK7set8qmGYhi4RliUJ+8VpZCq9E/a7fK9fo/yU2TQzSTHRfQq38DxKQ/aNnmAfXb5JRg1jojW8Lyu/R7wPrbYkTwl0= X-Received: by 2002:a2e:8e71:0:b0:295:b1ab:4bf3 with SMTP id t17-20020a2e8e71000000b00295b1ab4bf3mr10719485ljk.0.1678712548534; Mon, 13 Mar 2023 06:02:28 -0700 (PDT) MIME-Version: 1.0 References: <20230311144938.765-1-Rostislav.Svoboda@gmail.com> <20230311144938.765-3-Rostislav.Svoboda@gmail.com> In-Reply-To: <20230311144938.765-3-Rostislav.Svoboda@gmail.com> From: Rostislav Svoboda Date: Mon, 13 Mar 2023 14:01:52 +0100 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=rostislav.svoboda@gmail.com; helo=mail-lj1-x22e.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 Oh, the patch is broken, ignore it. sorry. Here's a correction. Please have a look at the 'python2 vs. python3' comment. Is it OK to make it work just for python3? Cheers Bost From 29c79c13c4cdfe5c6014cd9ba35cea41a465a106 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Sat, 11 Mar 2023 15:36:11 +0100 Subject: [PATCH 3/4] gnu: Add emacs-pippel. * gnu/packages/emacs-xyz.scm (emacs-pippel): New variable. --- gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (package (name "emacs-reverse-im") diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d371cfd6f3..f4e557e98a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17358,6 +17358,43 @@ (define-public emacs-pinyinlib letter of Pinyin to Simplified/Traditional Chinese characters.") (license license:gpl3+))) +(define-public emacs-pippel + (let ((commit "cb194952ee150e77601d3233dabdb521b976ee79") + (revision "0")) + (package + (name "emacs-pippel") + (version (git-version "1.4" 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) + (inputs (list python)) + (propagated-inputs (list emacs-dash emacs-s)) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-python-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "pippel.el" + ("pippel-python-command" + (search-input-file + inputs +;;; For 'python2 vs. python3' see the choice: +;;; https://github.com/arifer612/pippel/blob/cb194952ee150e77601d3233dabdb521b976ee79/pippel.el#L65 + "/bin/python3")))))))) + (home-page "https://github.com/arifer612/pippel") + (synopsis "Emacs frontend to Python package manager pip") + (description + "Emacs frontend for the Python package manager pip. As pippel also uses +@code{tabulated-list-mode}, it provides a similar package menu like +@code{package-list-packages}.") + (license license:gpl3+)))) + (define-public emacs-reverse-im