From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:54339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxVI-00040C-81 for guix-patches@gnu.org; Thu, 07 Feb 2019 23:11:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxVH-0007wJ-DC for guix-patches@gnu.org; Thu, 07 Feb 2019 23:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grxVH-0007w0-8Q for guix-patches@gnu.org; Thu, 07 Feb 2019 23:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grxVH-0006hz-3d for guix-patches@gnu.org; Thu, 07 Feb 2019 23:11:03 -0500 Subject: [bug#34383] [PATCH 5/5] gnu: Add python-rope. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:54181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxUX-0003td-6R for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxUW-0006gp-Cj for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:17 -0500 Received: from mout01.posteo.de ([185.67.36.65]:32819) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grxUW-0006bP-5N for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:16 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id ECA5516005D for ; Fri, 8 Feb 2019 05:10:13 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43whY10Q89z6tm9 for ; Fri, 8 Feb 2019 05:10:12 +0100 (CET) From: Brett Gilio Date: Thu, 07 Feb 2019 22:10:11 -0600 Message-ID: <8736oysyxo.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0005-gnu-Add-python-rope.patch Content-Description: [PATCH 5/5] gnu: Add python-rope. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34383@debbugs.gnu.org >From 1d3915a1ba301740fab830fccbe92062f7351f95 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 7 Feb 2019 22:05:19 -0600 Subject: [PATCH 5/5] gnu: Add python-rope. * gnu/packages/python-xyz.scm (python-rope): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c41c4a1cd..4ffb59f5e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2566,6 +2566,29 @@ Language (TOML) configuration files.") (description "A docstring style checker/linter for the Python language server.") (license license:expat))) +(define-public python-rope + (package + (name "python-rope") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rope" version)) + (sha256 + (base32 + "1cppm0pa9aqgsbkq130lskrzmrvjs5vpiavjjbhpz2fdw52w8251")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; Only partial python3 support, results in some failing tests + ;; https://github.com/python-rope/rope/issues/247 + (home-page "https://github.com/python-rope/rope") + (synopsis "A refactoring library for Python") + (description "Rope is a refactoring library for Python. It facilitates +the renaming, moving and extracting of attributes, functions, modules, fields +and parameters in Python 3 source code. These refactorings can also be applied +to occurrences in strings and comments.") + (license license:gpl2))) + (define-public python-black (package (name "python-black") -- 2.20.1