GNU bug report logs - #34383
[PATCH 5/5] gnu: Add python-rope.

Previous Next

Package: guix-patches;

Reported by: Brett Gilio <brettg <at> posteo.net>

Date: Fri, 8 Feb 2019 04:11:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Brett Gilio <brettg <at> posteo.net>
Subject: bug#34383: closed (Re: [bug#34383] [PATCH 5/5] gnu: Add python-rope.)
Date: Tue, 12 Feb 2019 22:19:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#34383: [PATCH 5/5] gnu: Add python-rope.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34383 <at> debbugs.gnu.org.

-- 
34383: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34383
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Brett Gilio <brettg <at> posteo.net>
Cc: 34383-done <at> debbugs.gnu.org
Subject: Re: [bug#34383] [PATCH 5/5] gnu: Add python-rope.
Date: Tue, 12 Feb 2019 23:18:28 +0100
Brett Gilio <brettg <at> posteo.net> skribis:

>>From 1d3915a1ba301740fab830fccbe92062f7351f95 Mon Sep 17 00:00:00 2001
> From: Brett Gilio <brettg <at> posteo.net>
> 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)))

This is duplicating all of ‘python2-rope’, so I ended up simply
inheriting from ‘python2-rope’.

Thanks,
Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Brett Gilio <brettg <at> posteo.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 5/5] gnu: Add python-rope.
Date: Thu, 07 Feb 2019 22:10:11 -0600
[0005-gnu-Add-python-rope.patch (text/x-patch, inline)]
From 1d3915a1ba301740fab830fccbe92062f7351f95 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg <at> posteo.net>
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




This bug report was last modified 6 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.