From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH 1/6] gnu: Add python-pycodestyle.
Date: Sat, 5 Nov 2016 12:27:01 +0100 [thread overview]
Message-ID: <20161105112706.12089-2-dannym@scratchpost.org> (raw)
In-Reply-To: <20161105112706.12089-1-dannym@scratchpost.org>
* gnu/packages/python.scm (python-pycodestyle, python2-pycodestyle):
New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 518ab3a..cb314e2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3829,6 +3829,33 @@ 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 "pycodestyle (formerly pep8) is a tool to check your Python code against
+some of the style conventions in @url{http://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")
next prev parent reply other threads:[~2016-11-05 11:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-05 11:27 [PATCH 0/6] Provide some optional sqlalchemy utils Danny Milosavljevic
2016-11-05 11:27 ` Danny Milosavljevic [this message]
2016-11-05 15:39 ` [PATCH 1/6] gnu: Add python-pycodestyle Marius Bakke
2016-11-05 19:48 ` Efraim Flashner
2016-11-05 23:52 ` Danny Milosavljevic
2016-11-07 21:39 ` [PATCH] gnu: Replace python-pep8 by python-pycodestyle Danny Milosavljevic
2016-11-07 22:30 ` Leo Famulari
2016-11-07 22:40 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 2/6] gnu: Add python-orderedmultidict Danny Milosavljevic
2016-11-05 15:42 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 3/6] gnu: Add python-furl Danny Milosavljevic
2016-11-05 15:50 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 4/6] gnu: Add python-flask-babel Danny Milosavljevic
2016-11-05 15:51 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 5/6] gnu: Make python-sqlalchemy-utils's existing inputs propagated Danny Milosavljevic
2016-11-05 15:55 ` Marius Bakke
2016-11-05 11:27 ` [PATCH 6/6] gnu: Provide pytest to python-sqlalchemy-utils Danny Milosavljevic
2016-11-05 15:58 ` Marius Bakke
2016-11-05 19:13 ` Leo Famulari
2016-11-06 20:03 ` [PATCH 0/6] Provide some optional sqlalchemy utils Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161105112706.12089-2-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).