[Python-modules-commits] [rope] 06/11: Build a python3 version using pybuild. Closes: #755911.

Arnaud Fontaine arnau at moszumanska.debian.org
Thu Apr 13 08:52:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

arnau pushed a commit to branch debian-experimental
in repository rope.

commit 919192b475aeddc372e5c7d332507f90266e60c1
Author: Diane Trout <diane at ghic.org>
Date:   Thu Feb 23 14:14:48 2017 -0800

    Build a python3 version using pybuild. Closes: #755911.
    
    Add Python 3 & setuptools to build-depends
---
 debian/changelog |  3 +++
 debian/control   | 31 ++++++++++++++++++++++++++-----
 debian/copyright |  1 +
 debian/rules     |  7 ++++---
 4 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 69e7a25..c1905cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ rope (0.10.5-1) UNRELEASED; urgency=medium
 
   [ Diane Trout ]
   * New upstream version 0.10.5.
+  * Build a python3 version using pybuild. Closes: #755911.
+    + Add Python 3 & setuptools to Build-Depends.
+    + Remove cdbs.
 
  -- Arnaud Fontaine <arnau at debian.org>  Thu, 13 Apr 2017 17:14:48 +0900
 
diff --git a/debian/control b/debian/control
index d5923a2..ed397df 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,14 @@ Section: devel
 Priority: optional
 Maintainer: Arnaud Fontaine <arnau at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.90~),
-               debhelper (>= 10),
+Build-Depends: debhelper (>= 10),
                dh-python,
-               python (>= 2.6.6-3~)
-X-Python-Version: >= 2.5
+               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.8
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/rope.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/rope.git
@@ -20,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 
@@ -29,3 +32,21 @@ 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: ${python:Depends},
+         ${misc:Depends}
+Recommends: python-svn,
+            mercurial,
+            git-core
+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 <netzwurm at debian.org>
            2014 Arnaud Fontaine <arnau at debian.org>
+           2016 Diane Trout <diane at debian.org>
 License: GPL-2+
 
 License: GPL-2+
diff --git a/debian/rules b/debian/rules
index 8acb0ff..bfc4a64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+export PYBUILD_NAME=rope
+export LC_ALL=C.UTF-8
 
-DEB_INSTALL_CHANGELOGS_ALL := docs/done.rst
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/rope.git



More information about the Python-modules-commits mailing list