[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add python-pycodestyle.
From: |
Marius Bakke |
Subject: |
01/06: gnu: Add python-pycodestyle. |
Date: |
Sun, 6 Nov 2016 20:03:12 +0000 (UTC) |
mbakke pushed a commit to branch master
in repository guix.
commit 4a0933307e21051ad16d869e6ab3833291052b60
Author: Danny Milosavljevic <address@hidden>
Date: Sat Nov 5 12:27:01 2016 +0100
gnu: Add python-pycodestyle.
* gnu/packages/python.scm (python-pycodestyle, python2-pycodestyle):
New variables.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 54360b3..20a0a74 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3854,6 +3854,34 @@ simple and Pythonic domain language.")
(define-public python2-sqlalchemy
(package-with-python2 python-sqlalchemy))
+(define-public python-pycodestyle
+ (package
+ (name "python-pycodestyle")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pycodestyle" version))
+ (sha256
+ (base32
+ "1rz2v8506mdjdyxcnv9ygiw6v0d4dqx8z5sjyjm0w2v32h5l5w1p"))))
+ (build-system python-build-system)
+ (home-page "https://pycodestyle.readthedocs.io/")
+ (synopsis "Python style guide checker")
+ (description "@code{pycodestyle} (formerly pep8) is a tool to check
+Python code against some of the style conventions in
address@hidden://www.python.org/dev/peps/pep-0008/,PEP 8}.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pycodestyle))))))
+
+(define-public python2-pycodestyle
+ (let ((base (package-with-python2 (strip-python2-variant
+ python-pycodestyle))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
(define-public python-sqlalchemy-utils
(package
(name "python-sqlalchemy-utils")
- branch master updated (290ad22 -> 26d07ef), Marius Bakke, 2016/11/06
- 03/06: gnu: Add python-furl., Marius Bakke, 2016/11/06
- 06/06: gnu: python-sqlalchemy-utils: Use python-pytest., Marius Bakke, 2016/11/06
- 01/06: gnu: Add python-pycodestyle.,
Marius Bakke <=
- 05/06: gnu: python-sqlalchemy-utils: Propagate existing inputs., Marius Bakke, 2016/11/06
- 02/06: gnu: Add python-orderedmultidict., Marius Bakke, 2016/11/06
- 04/06: gnu: Add python-flask-babel., Marius Bakke, 2016/11/06