From: Lukas Gradl <lgradl@openmailbox.org>
To: guix-devel@gnu.org
Subject: Re: [Patch] Add python-rope
Date: Fri, 20 May 2016 09:32:35 -0500 [thread overview]
Message-ID: <87posgssu4.fsf@openmailbox.org> (raw)
In-Reply-To: <87y474st15.fsf@openmailbox.org> (Lukas Gradl's message of "Fri, 20 May 2016 09:28:22 -0500")
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
Lukas Gradl <lgradl@openmailbox.org> writes:
> Hello,
>
> This patch adds the Rope refactoring library for python.
> I am only interested in this package as a dependency of elpy.
>
> There is no particular reason why the old (0.10.2) would be needed,
> AFAIK.
>
> There are some tests that fail on the python-3 version. According to
> this (https://groups.google.com/forum/#!topic/rope-dev/rmimG01CHUk),
> upstream seems to have no particular interest in fixing that at the
> moment.
>
>
> Thank you in advance for considering this!
>
> Best,
> Lukas
>
>
Being new to GNUS I accidently sent this email when trying to attach the
patch. Sorry about that!
Here it is:
[-- Attachment #2: 0001-gnu-python-Add-python-rope.patch --]
[-- Type: text/x-patch, Size: 3263 bytes --]
From 3779adbcf435d62f49c74675af1a7085bd0cdbfd Mon Sep 17 00:00:00 2001
From: Lukas Gradl <lgradl@openmailbox.org>
Date: Fri, 20 May 2016 09:13:30 -0500
Subject: [PATCH] gnu: python: Add python-rope.
* gnu/packages/python.scm (python-rope): New variable.
(python2-rope): New variable.
(python2-rope-old): New variable.
---
gnu/packages/python.scm | 68 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 37c8594..15fed58 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
+;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8760,3 +8761,70 @@ respectively.")
(description (string-append "This is an experimental compiler for a subset of
Python. It generates C++ code and a Makefile."))
(license (list gpl3 bsd-3 license:expat))))
+
+
+(define-public python2-rope-old
+ (package
+ (name "python2-rope")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rope" version))
+ (sha256
+ (base32
+ "0rdlvp8h74qs49wz1hx6qy8mgp2ddwlfs7z13h9139ynq04a3z7z"))))
+ (arguments
+ `(#:python ,python-2))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python2-unittest2" ,python2-unittest2)
+ ("python2-setuptools" ,python2-setuptools)))
+ (home-page "http://rope.sf.net/")
+ (synopsis "Refactoring library for Python")
+ (description "Rope is a Refactoring library for Python.")
+ (license gpl2)))
+
+(define-public python2-rope
+ (package
+ (name "python2-rope")
+ (version "0.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rope" version))
+ (sha256
+ (base32
+ "18k5znhpwvrfck3yp0jmhd5j8r0f0s8bk1zh5yhs2cfgmfhbwigb"))))
+ (arguments
+ `(#:python ,python-2))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python2-unittest2" ,python2-unittest2)
+ ("python2-setuptools" ,python2-setuptools)))
+ (home-page "http://rope.sf.net/")
+ (synopsis "Refactoring library for Python")
+ (description "Rope is a Refactoring library for Python.")
+ (license gpl2)))
+
+(define-public python-rope
+ (package
+ (name "python-rope")
+ (version "0.9.4-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rope_py3k" version))
+ (sha256
+ (base32
+ "1yh7hb4qha0c77ac9qyilv5ka3ljd1vcxvsa85clxndrrm3m1fgy"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; 23 out of 1524 tests fail
+ (native-inputs
+ `(("python-unittest2" ,python-unittest2)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "http://rope.sf.net/")
+ (synopsis "Refactoring library for Python")
+ (description "Rope is a Refactoring library for Python.")
+ (license gpl2)))
--
2.7.4
next prev parent reply other threads:[~2016-05-20 14:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-20 14:28 [Patch] Add python-rope Lukas Gradl
2016-05-20 14:32 ` Lukas Gradl [this message]
2016-05-20 23:53 ` Ben Woodcroft
2016-05-21 23:24 ` Lukas Gradl
2016-05-22 4:21 ` Ben Woodcroft
2016-05-23 13:50 ` Lukas Gradl
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=87posgssu4.fsf@openmailbox.org \
--to=lgradl@openmailbox.org \
--cc=guix-devel@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.