From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: [PATCH 4/4] gnu: Add python-autopep8. Date: Wed, 11 Jan 2017 19:33:05 +0100 Message-ID: <1484159585-12289-5-git-send-email-thomas.danckaert@gmail.com> References: <1484159585-12289-1-git-send-email-thomas.danckaert@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRNi9-0006Iw-Of for guix-devel@gnu.org; Wed, 11 Jan 2017 13:33:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRNi8-0000TR-Sk for guix-devel@gnu.org; Wed, 11 Jan 2017 13:33:25 -0500 Received: from mail-wj0-x22f.google.com ([2a00:1450:400c:c01::22f]:36652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRNi8-0000TI-ND for guix-devel@gnu.org; Wed, 11 Jan 2017 13:33:24 -0500 Received: by mail-wj0-x22f.google.com with SMTP id ew7so95270195wjc.3 for ; Wed, 11 Jan 2017 10:33:24 -0800 (PST) In-Reply-To: <1484159585-12289-1-git-send-email-thomas.danckaert@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Thomas Danckaert * 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