[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add python-isort.
From: |
Marius Bakke |
Subject: |
02/07: gnu: Add python-isort. |
Date: |
Sun, 19 Mar 2017 19:42:32 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 6ba0af7960149455d9c692e8b29eddbd517ab758
Author: Arun Isaac <address@hidden>
Date: Sun Mar 19 00:22:51 2017 +0530
gnu: Add python-isort.
* gnu/packages/python.scm (python-isort, python2-isort): New variables.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cf06212..a8cec0d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13722,3 +13722,32 @@ builds partial trees by inspecting living objects.")
(define-public python2-astroid
(package-with-python2 python-astroid))
+
+(define-public python-isort
+ (package
+ (name "python-isort")
+ (version "4.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/timothycrosley/isort/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zsrgkb0krn5476yncy5dd56k7dk34zqb4bnlvwy44ixgilyjmfh"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/timothycrosley/isort")
+ (synopsis "Python utility/library to sort python imports")
+ (description "@code{python-isort} is a python utility/library to sort
+imports alphabetically, and automatically separated into sections. It
+provides a command line utility, a python library and plugins for various
+editors.")
+ (license license:expat)))
+
+(define-public python2-isort
+ (package-with-python2 python-isort))
- branch master updated (6fdbd86 -> f75b140), Marius Bakke, 2017/03/19
- 01/07: gnu: Add python-astroid., Marius Bakke, 2017/03/19
- 04/07: gnu: Add python-configparser., Marius Bakke, 2017/03/19
- 02/07: gnu: Add python-isort.,
Marius Bakke <=
- 03/07: gnu: Add python2-backports-functools-lru-cache., Marius Bakke, 2017/03/19
- 05/07: gnu: Add python2-coverage-test-runner., Marius Bakke, 2017/03/19
- 07/07: gnu: obnam: Enable tests., Marius Bakke, 2017/03/19
- 06/07: gnu: Add python-pylint., Marius Bakke, 2017/03/19