all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas Danckaert <thomas.danckaert@gmail.com>
To: guix-devel@gnu.org
Cc: Thomas Danckaert <thomas.danckaert@gmail.com>
Subject: [PATCH 4/4] gnu: Add python-autopep8.
Date: Wed, 11 Jan 2017 19:33:05 +0100	[thread overview]
Message-ID: <1484159585-12289-5-git-send-email-thomas.danckaert@gmail.com> (raw)
In-Reply-To: <1484159585-12289-1-git-send-email-thomas.danckaert@gmail.com>

* gnu/packages/python.scm (python-autopep8, python2-autopep8): New variables.
---
 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fce6217..78532e1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4159,6 +4159,36 @@ SQLAlchemy Database Toolkit for Python.")
 (define-public python2-alembic
   (package-with-python2 python-alembic))
 
+(define-public python-autopep8
+  (package
+  (name "python-autopep8")
+  (version "1.2.4")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (pypi-uri "autopep8" version))
+     (sha256
+      (base32
+       "18parm383lfn42a00wklv3qf20p4v277f1x3cn58x019dqk1xqrq"))))
+  (build-system python-build-system)
+  (propagated-inputs
+    `(("python-pep8" ,python-pep8)))
+  (home-page "https://github.com/hhatto/autopep8")
+  (synopsis
+    "Automatically format Python code according to the PEP 8 style
+guide")
+  (description
+    "@code{autopep8} automatically formats Python code to conform to
+the PEP 8 style guide.  It uses the pycodestyle utility to determine
+what parts of the code needs to be formatted.  @code{autopep8} is
+capable of fixing most of the formatting issues that can be reported
+by pycodestyle.")
+  (license (license:non-copyleft
+            "https://github.com/hhatto/autopep8/blob/master/LICENSE"))))
+
+(define-public python2-autopep8
+  (package-with-python2 python-autopep8))
+
 (define-public python-distutils-extra
   (package
     (name "python-distutils-extra")
-- 
2.7.4

  parent reply	other threads:[~2017-01-11 18:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 18:33 [PATCH 0/4] kdevelop updates Thomas Danckaert
2017-01-11 18:33 ` [PATCH 1/4] gnu: kdevelop: Update to 5.0.3 Thomas Danckaert
2017-01-16 20:07   ` Ludovic Courtès
2017-01-11 18:33 ` [PATCH 2/4] gnu: kdevelop: Set more paths in wrapper script Thomas Danckaert
2017-01-16 20:09   ` Ludovic Courtès
2017-01-11 18:33 ` [PATCH 3/4] gnu: Add kdev-python Thomas Danckaert
2017-01-16 21:10   ` Ludovic Courtès
2017-01-16 22:39     ` Danny Milosavljevic
2017-01-19 17:14       ` Thomas Danckaert
2017-01-20 13:36         ` Ludovic Courtès
2017-01-11 18:33 ` Thomas Danckaert [this message]
2017-01-16 21:14   ` [PATCH 4/4] gnu: Add python-autopep8 Ludovic Courtès
2017-01-16 21:18 ` Graft slowness fixed Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484159585-12289-5-git-send-email-thomas.danckaert@gmail.com \
    --to=thomas.danckaert@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.