From 3779adbcf435d62f49c74675af1a7085bd0cdbfd Mon Sep 17 00:00:00 2001 From: Lukas Gradl 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 ;;; Copyright © 2015, 2016 Chris Marusich ;;; Copyright © 2016 Danny Milosavljevic +;;; Copyright © 2016 Lukas Gradl ;;; ;;; 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