From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtgOO-0002GY-97 for guix-patches@gnu.org; Tue, 12 Feb 2019 17:19:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtgOM-0007Mr-Qy for guix-patches@gnu.org; Tue, 12 Feb 2019 17:19:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtgOM-0007MT-KS for guix-patches@gnu.org; Tue, 12 Feb 2019 17:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtgOM-00065G-E7 for guix-patches@gnu.org; Tue, 12 Feb 2019 17:19:02 -0500 Subject: bug#34383: [PATCH 5/5] gnu: Add python-rope. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8736oysyxo.fsf@posteo.net> Date: Tue, 12 Feb 2019 23:18:28 +0100 In-Reply-To: <8736oysyxo.fsf@posteo.net> (Brett Gilio's message of "Thu, 07 Feb 2019 22:10:11 -0600") Message-ID: <87y36kfy6j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Brett Gilio Cc: 34383-done@debbugs.gnu.org Brett Gilio skribis: >>>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))) >=20=20 > +(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 faili= ng 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, f= ields > +and parameters in Python 3 source code. These refactorings can also be = applied > +to occurrences in strings and comments.") > + (license license:gpl2))) This is duplicating all of =E2=80=98python2-rope=E2=80=99, so I ended up si= mply inheriting from =E2=80=98python2-rope=E2=80=99. Thanks, Ludo=E2=80=99.