From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Cu5DFm8R2J6pwAAgWs5BA (envelope-from ) for ; Sat, 02 Apr 2022 05:00:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YL9jCVm8R2K4MwEAauVa8A (envelope-from ) for ; Sat, 02 Apr 2022 05:00:41 +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 C5606E4D for ; Sat, 2 Apr 2022 05:00:40 +0200 (CEST) Received: from localhost ([::1]:54280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naU0E-0004v7-AI for larch@yhetil.org; Fri, 01 Apr 2022 23:00:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naTzf-0004ui-6Z for guix-patches@gnu.org; Fri, 01 Apr 2022 23:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naTze-0004lh-Qq for guix-patches@gnu.org; Fri, 01 Apr 2022 23:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1naTze-00012V-Ld for guix-patches@gnu.org; Fri, 01 Apr 2022 23:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54678] [PATCH] gnu: Add emacs-pyimport. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Apr 2022 03:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54678 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54678@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16488684013958 (code B ref -1); Sat, 02 Apr 2022 03:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2022 03:00:01 +0000 Received: from localhost ([127.0.0.1]:44211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naTzc-00011m-M1 for submit@debbugs.gnu.org; Fri, 01 Apr 2022 23:00:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:41800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naTza-00011d-Sv for submit@debbugs.gnu.org; Fri, 01 Apr 2022 22:59:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naTza-0004tt-L4 for guix-patches@gnu.org; Fri, 01 Apr 2022 22:59:58 -0400 Received: from mx2.dismail.de ([159.69.191.136]:30346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naTzY-0004iI-58 for guix-patches@gnu.org; Fri, 01 Apr 2022 22:59:58 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 326943d3 for ; Sat, 2 Apr 2022 04:59:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=wJnfy9P+VpBjxerXqN/ghGXRlvcA/vmZilFo7rRUQDQ=; b= kspg/Te6MsKtONnVRKvnax1mg/zIebnFE7Ae5ysHMHWdzFXX4TmoYpBMP3jQTxZp ueVJJyShi1N+0tgR5OeaHbV0YAFs8N3ZUosJEgcqyfdZtk2zZemTq9vbI3hoPQ++ rywXriMgX4+mjhcTnodJEu0OjTNIvlZkxI25ZziSTon7+xI2Q29fbTfzmeNhAg1+ jiiigbWGSp5yl8re5L24yId7mhLVL52yA0ZfKSeyYP6fsHt0fs+hOMju7GZkkKct VRw+7RBOxQ2v+qNheBZq6YpyVyIam5epqOGK/MfRw3q8IcyY6UOUhhuUj4ejoKIh 7gWZ+LeBWdaRK1OTdCDGzw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id ba03fce6 for ; Sat, 2 Apr 2022 04:59:52 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id a15c8ea7 for ; Sat, 2 Apr 2022 04:59:52 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id a3c263ba (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 2 Apr 2022 04:59:52 +0200 (CEST) Date: Fri, 1 Apr 2022 22:58:56 -0400 Message-Id: <20220402025855.19353-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 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, PP_MIME_FAKE_ASCII_TEXT=0.999, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648868441; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kZoXxKjTvVolDyJ3dByDg5l2zr2+hpgq+YTmwFr4GAQ=; b=TAjoFa8Gq5GuDDEtX+AAfN8Uksbj9Vwxw6aBdrs8L8y8YZDb/CMOCNNjspX8+QAIOSGTMV kr+Wy1oilGjkR8LER8gYRNcUhB4r2AMi0bwcM6zalyBtQ8UCxG8Rg0FSsKh8y6fSN68qzq v0oqdRt3a8/JLPYOqT9kHQV7NoRNByQgWy+IK7OuPsWo8OmDTPfBgrScSUHDK78xk/2IoP 5t0ATuCUXkkzoSJn2UsBO7R3CGsTH1rFBSamq3vMWYRvAE9ZtgapGixHJ606fEEws3kfD4 GNpsgCCI1oYOSKxGzjLURu+IcslrC53W/PkcDAOI9j8eCn1m/c8IQlieNXrAKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648868441; a=rsa-sha256; cv=none; b=FqYRBeSqucuZoamk8qJ/OtuIhOIygk+3KaI8RD3acXt9hePX7Bg4eULWxFEUUgS00Od+CQ 7wYQIoXWb4KjIczmw3sYSFlKj/Jg6isYhyO2eDcTPUPieQmtK73e8v5NREpJIokI0P9cbJ WMKFbyOoN/0NzkMS5gH2SYS95tn7wsLDA4GhjJ1HcTKlPYCQbn/QN4ujDlRvLtS3s8QSDN a0Kw3Ha+GcwQ7KxGLXCx3WuZkLK83VeS40PWBmfzr7RJTSHEH9PTuXIrTahnOAqprZOvFy yLmG/Irw0g7WBNRq2lNzu8yJ/Fpldarm0IvLnSStWN9fjSD/MpbcqV0ovejFig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="kspg/Te6"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="kspg/Te6"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: C5606E4D X-Spam-Score: -1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: AGZPLYHVJ9y2 * gnu/packages/emacs-xyz.scm (emacs-pyimport): New variable. Hi Guixers, Here is emacs-pyimport. Also available as a pre-release at https://whereis.みんな/ all best, jgart --- gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bc9a9f1c28..5b17fd9b65 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -30828,6 +30828,43 @@ (define-public emacs-org-modern headlines, keywords, tables and source blocks.") (license license:gpl3+))) +(define-public emacs-pyimport + (let ((commit "a6f63cf7ed93f0c0f7c207e6595813966f8852b9") + (revision "0")) + (package + (name "emacs-pyimport") + (version (git-version "1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Wilfred/pyimport") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1q5gqhvh4zq5dy8vns694warcz48j1hdnxg16sjck4gsi9xivbvs")))) + (build-system emacs-build-system) + (inputs + (list python-pyflakes)) + (propagated-inputs + (list emacs-dash emacs-s emacs-shut-up)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-pyflakes-executable + (lambda* (#:key inputs #:allow-other-keys) + (let ((python-pyflakes (assoc-ref inputs "python-pyflakes"))) + (make-file-writable "pyimport.el") + (substitute* "pyimport.el" + (("\"pyflakes") + (string-append "\"" python-pyflakes "/bin/pyflakes"))))))))) + (home-page "https://github.com/Wilfred/pyimport") + (synopsis "Manage Python imports from Emacs") + (description +"@code{emacs-pyimport} manages python imports from Emacs via @code{python-pyflakes}.") + (license license:gpl3+)))) ; License is in pyimport.el + (define-public emacs-osm (package (name "emacs-osm") -- 2.34.0