Bug#755911: Python3 version

2017-04-05 Thread Arnaud Fontaine
Hi,

Sorry, I completely forgot about this. I will do it within this week.

Regards,
-- 
Arnaud Fontaine


signature.asc
Description: PGP signature


Bug#755911: Python3 version

2017-04-05 Thread Ghislain Vaillant

On Thu, 23 Feb 2017 15:23:38 -0800 Diane Trout  wrote:

I updated the package to use upstream version 0.10.5, pybuild and build
a python3 version. (0.10.2 had an error)

Attached are the changes I made (minus the patch importing the new
version from upstream).

I can push the changes to alioth and make a new release, but I don't
like changing packages I'm not normally responsible for with out some
acknowledgement.


Since you are part of DPMT, and this package is effectively placed under 
team-maintenance, you are welcome to push these changes to the packaging 
repository and make a new release.


Please keep in mind that since we are in freeze, these changes should be 
made on a separate debian/experimental branch and pushed to the 
experimental channel of Debian.


Cheers,
Ghis



Bug#755911: Python3 version

2017-02-23 Thread Diane Trout
I updated the package to use upstream version 0.10.5, pybuild and build
a python3 version. (0.10.2 had an error)

Attached are the changes I made (minus the patch importing the new
version from upstream).

I can push the changes to alioth and make a new release, but I don't
like changing packages I'm not normally responsible for with out some
acknowledgement.

DianeFrom 9edf66eaa3d609aaae5f8d6d44c0958ba58c63b8 Mon Sep 17 00:00:00 2001
From: Diane Trout 
Date: Thu, 23 Feb 2017 14:09:45 -0800
Subject: [PATCH 2/6] New upstream version 0.10.5

---
 debian/changelog | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fa5cd33..c579640 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-rope (0.10.2-2) UNRELEASED; urgency=low
+rope (0.10.5-1) UNRELEASED; urgency=low
 
   [ Arnaud Fontaine ]
   * d/source/options: Ignore .egg-info directory.
@@ -6,6 +6,9 @@ rope (0.10.2-2) UNRELEASED; urgency=low
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
+  [ Diane Trout ]
+  * New upstream version 0.10.5
+
  -- Arnaud Fontaine   Fri, 18 Jul 2014 10:45:28 +0900
 
 rope (0.10.2-1) unstable; urgency=low
-- 
2.11.0

From 9940a80fc9c91307526f488a78c91e39a9a3ea12 Mon Sep 17 00:00:00 2001
From: Diane Trout 
Date: Thu, 23 Feb 2017 14:14:48 -0800
Subject: [PATCH 3/6] Build a python3 version using pybuild

Update to debhelper 10
Add dh-python to build-depends
Add Python 3 & setuptools to build-depends
---
 debian/changelog |  5 +
 debian/compat|  2 +-
 debian/control   | 29 -
 debian/copyright |  1 +
 debian/rules |  7 ---
 5 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c579640..a6f0dca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,11 @@ rope (0.10.5-1) UNRELEASED; urgency=low
 
   [ Diane Trout ]
   * New upstream version 0.10.5
+  * Build a python3 version using pybuild
++ Update to debhelper 10
++ Add dh-python to build-depends
++ Add Python 3 & setuptools to build-depends
++ Remove cdbs
 
  -- Arnaud Fontaine   Fri, 18 Jul 2014 10:45:28 +0900
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+10
diff --git a/debian/control b/debian/control
index 4fe596c..af7fc52 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,14 @@ Section: devel
 Priority: optional
 Maintainer: Arnaud Fontaine 
 Uploaders: Debian Python Modules Team 
-Build-Depends: cdbs (>= 0.4.90~),
-   debhelper (>= 7.0.0),
-   python (>= 2.6.6-3~)
-X-Python-Version: >= 2.5
+Build-Depends: debhelper (>= 10),
+   dh-python,
+   python-all (>= 2.6.6-3~),
+   python-setuptools,
+   python3-all,
+   python3-setuptools
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Standards-Version: 3.9.5
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/rope.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/rope.git
@@ -19,7 +23,7 @@ Depends: ${python:Depends},
 Recommends: python-svn,
 mercurial,
 git-core
-Description: Python refactoring library
+Description: Python 2 refactoring library
  Rope is a Python refactoring library that can be used with several editors
  and IDEs. It provides many refactoring operations as well as forms of code 
  assistance like auto-completion and access to documentation. To make use of 
@@ -28,3 +32,18 @@ Description: Python refactoring library
  . 
  In Debian, this package is used by the Python-ropemacs package, an Emacs mode 
  that adds Python refactoring and IDE features to the Emacs editor.
+ .
+ This provides the Python 2 version of the library.
+
+Package: python3-rope
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: git-core, mercurial, python3-svn
+Description: Python 3 refactoring library
+ Rope is a Python refactoring library that can be used with several editors
+ and IDEs. It provides many refactoring operations as well as forms of code
+ assistance like auto-completion and access to documentation. To make use of
+ refactoring in Mercurial, Git and Svn repositories, the recommended packages
+ must be installed. For a complete list of features, see the project homepage.
+ .
+ This provides the Python3 version of the library.
diff --git a/debian/copyright b/debian/copyright
index 9c2ac77..7fa96ea 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -10,6 +10,7 @@ License: GPL-2+
 Files: debian/*
 Copyright: 2008-2014 David Spreen 
2014 Arnaud Fontaine 
+   2016 Diane Trout 
 License: GPL-2+
 
 License: GPL-2+
diff --git a/debian/rules b/debian/rules
index