[Python-modules-commits] [python-mplexporter] 01/02: add Python 3 support

Wolfgang Borgert debacle at moszumanska.debian.org
Tue Sep 30 20:02:02 UTC 2014


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

debacle pushed a commit to branch master
in repository python-mplexporter.

commit 109083ac0add8698d80bd9b6c588a0728bc72c44
Author: W. Martin Borgert <debacle at debian.org>
Date:   Tue Sep 30 21:56:33 2014 +0200

    add Python 3 support
---
 debian/control                            | 13 ++++++++++++-
 debian/{docs => python-mplexporter.docs}  |  0
 debian/{docs => python3-mplexporter.docs} |  0
 debian/rules                              |  3 ++-
 4 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 6d65e4b..457d83d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: extra
 Maintainer: Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: W. Martin Borgert <debacle at debian.org>
-Build-Depends: python-all (>= 2.7~), python-setuptools, debhelper (>= 9)
+Build-Depends: python-all (>= 2.7~), python-setuptools, debhelper (>= 9), python3-all, python3-setuptools
 Standards-Version: 3.9.5
 Homepage: https://github.com/mpld3/mplexporter/
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-mplexporter.git
@@ -15,3 +15,14 @@ Depends: ${misc:Depends}
  , ${python:Depends}
 Description: general matplotlib exporter
  A Python module to export matplotlib graphs, e.g. for mpld3.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-mplexporter
+Architecture: all
+Depends: ${misc:Depends}
+ , ${python3:Depends}
+Description: general matplotlib exporter
+ A Python module to export matplotlib graphs, e.g. for mpld3.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/docs b/debian/python-mplexporter.docs
similarity index 100%
copy from debian/docs
copy to debian/python-mplexporter.docs
diff --git a/debian/docs b/debian/python3-mplexporter.docs
similarity index 100%
rename from debian/docs
rename to debian/python3-mplexporter.docs
diff --git a/debian/rules b/debian/rules
index f3908b2..0114856 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 # -*- makefile -*-
 
 #export DH_VERBOSE=1
+export PYBUILD_NAME=mplexporter
 
 %:
-	dh $@
+	dh $@ --buildsystem=pybuild --with python2,python3

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



More information about the Python-modules-commits mailing list