[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] gnu: Add python-pycodestyle.
From: |
Danny Milosavljevic |
Subject: |
[PATCH 2/6] gnu: Add python-pycodestyle. |
Date: |
Thu, 3 Nov 2016 11:56:00 +0100 |
* gnu/packages/python.scm (python-pycodestyle, python2-pycodestyle): New
variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e52bc8d..86436fd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3831,6 +3831,32 @@ 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 "This package provides a Python style guide checker.")
+ (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")
- [PATCH 0/6] Enable lots of sqlalchemy features, Danny Milosavljevic, 2016/11/03
- [PATCH 2/6] gnu: Add python-pycodestyle.,
Danny Milosavljevic <=
- [PATCH 1/6] gnu: Enable python-psycopg2 support in python-sqlalchemy., Danny Milosavljevic, 2016/11/03
- [PATCH 4/6] gnu: Add python-furl., Danny Milosavljevic, 2016/11/03
- [PATCH 6/6] gnu: Enable passlib, babel, cryptography, pyt, psycopg2, furl, flask-babel and pytest in python-sqlalchemy-utils, Danny Milosavljevic, 2016/11/03
- [PATCH 3/6] gnu: Add python-orderedmultidict., Danny Milosavljevic, 2016/11/03