* [bug#43807] [PATCH] gnu: Add emacs-py-isort.
@ 2020-10-05 3:27 Joseph LaFreniere
2020-10-13 7:25 ` bug#43807: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Joseph LaFreniere @ 2020-10-05 3:27 UTC (permalink / raw)
To: 43807
[-- Attachment #1: Type: text/plain, Size: 46 bytes --]
Patch file is attached.
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-py-isort.patch --]
[-- Type: text/x-patch, Size: 1739 bytes --]
From 37ec91b4161801c6e467b5650445e3d1ba22b128 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 4 Oct 2020 22:26:24 -0500
Subject: [PATCH] gnu: Add emacs-py-isort.
* gnu/packages/emacs-xyz.scm (emacs-py-isort): New variable.
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4894e20112..8d53cb53f1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5646,6 +5646,31 @@ This provides a basic API and common UI widgets such as popup tooltips
and popup menus.")
(license license:gpl3+)))
+(define-public emacs-py-isort
+ (package
+ (name "emacs-py-isort")
+ (version "2016.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/paetzke/py-isort.el")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08i55gv392wc12x8v3dca0dmz8a8p9ljsqhyajsb6qv1k120wqhx"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/paetzke/py-isort.el")
+ (propagated-inputs
+ `(("python-isort" ,python-isort)))
+ (arguments
+ `(#:tests? #f)) ; tests fail with "emacs: standard input is not a tty"
+ (synopsis "Sort the imports in Python buffers")
+ (description
+ "This package provides commands and a minor mode to sort Python imports
+using @code{python-isort}.")
+ (license license:gpl3)))
+
(define-public emacs-python-environment
(package
(name "emacs-python-environment")
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#43807: [PATCH] gnu: Add emacs-py-isort.
2020-10-05 3:27 [bug#43807] [PATCH] gnu: Add emacs-py-isort Joseph LaFreniere
@ 2020-10-13 7:25 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-10-13 7:25 UTC (permalink / raw)
To: Joseph LaFreniere; +Cc: 43807-done
Hello,
Joseph LaFreniere <joseph@lafreniere.xyz> writes:
> Patch file is attached.
I re-ordered the fields and applied your patch.
Note that I also changed the license to GPL3+, as I couldn't find any
reason to limit it to GPL3. Please let me know if I did a mistake.
Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-13 7:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 3:27 [bug#43807] [PATCH] gnu: Add emacs-py-isort Joseph LaFreniere
2020-10-13 7:25 ` bug#43807: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).