[Python-modules-commits] [python-pgmagick] 04/05: Support Python-3

Takaki Taniguchi takaki at moszumanska.debian.org
Thu Nov 26 03:19:33 UTC 2015


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

takaki pushed a commit to branch master
in repository python-pgmagick.

commit 8064f925b40406ab5709ce7c70fce685d66028b4
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Thu Nov 26 11:10:36 2015 +0900

    Support Python-3
---
 debian/control | 13 +++++++++++++
 debian/rules   |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 6ddc5c2..53c4add 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Uploaders: TANIGUCHI Takaki <takaki at debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
 	dh-python,
 	python-setuptools,
+	python3-setuptools,
 	python-all-dev,
+	python3-all-dev,
 	libgraphicsmagick++1-dev,
 	libboost-python-dev
 Standards-Version: 3.9.6
@@ -20,3 +22,14 @@ Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 Description: Yet Another Python wrapper for GraphicsMagick
  pgmagick is a boost.python based Python wrapper for GraphicsMagick. 
+ .
+ This package for Python 2.
+
+Package: python3-pgmagick
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python3:Provides}
+Description: Yet Another Python wrapper for GraphicsMagick
+ pgmagick is a boost.python based Python wrapper for GraphicsMagick. 
+ .
+ This package for Python 3.
diff --git a/debian/rules b/debian/rules
index 10b81a4..eb38428 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,7 @@
 # -*- makefile -*-
 # export DH_VERBOSE=1
 
+export PYBUILD_NAME=pgmagick
+
 %:
-	dh $@ --buildsystem=python_distutils --with python2 
+	dh $@ --buildsystem=pybuild --with python2,python3

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



More information about the Python-modules-commits mailing list