all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brett Gilio <brettg@posteo.net>
To: 34383@debbugs.gnu.org
Subject: [bug#34383] [PATCH 5/5] gnu: Add python-rope.
Date: Thu, 07 Feb 2019 22:10:11 -0600	[thread overview]
Message-ID: <8736oysyxo.fsf@posteo.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH 5/5] gnu: Add python-rope. --]
[-- Type: text/x-patch, Size: 1649 bytes --]

From 1d3915a1ba301740fab830fccbe92062f7351f95 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@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

             reply	other threads:[~2019-02-08  4:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08  4:10 Brett Gilio [this message]
2019-02-12 22:18 ` bug#34383: [PATCH 5/5] gnu: Add python-rope 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=8736oysyxo.fsf@posteo.net \
    --to=brettg@posteo.net \
    --cc=34383@debbugs.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.