[Python-modules-commits] [python-marshmallow] 01/01: add python3 binary

Adrian Alves alvesadrian-guest at moszumanska.debian.org
Sun May 8 16:42:45 UTC 2016


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

alvesadrian-guest pushed a commit to branch master
in repository python-marshmallow.

commit 195a877ce7863211ac77a22f4c2761e71e90bc2c
Author: Adrian Alves <aalves at gmail.com>
Date:   Sun May 8 13:42:37 2016 -0300

    add python3 binary
---
 debian/control | 23 ++++++++++++++++++++++-
 debian/rules   |  3 ++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1eb217e..a2a6240 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,21 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Adrian Alves <aalves at gmail.com>
-Build-Depends: debhelper (>= 9.0.0), python
+Build-Depends: debhelper (>= 9.0.0),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python-psutil,
+               python3-psutil,
+               python3-all,
+               python3-setuptools
+
 Standards-Version: 3.9.7
 Homepage: https://github.com/marshmallow-code/marshmallow
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-marshmallow.git
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-marshmallow.git
 X-Python-Version: >= 2.7
+X-Python-Version: >= 3.2
 
 Package: python-marshmallow
 Architecture: all
@@ -17,3 +26,15 @@ Description: simplified object serialization
  marshmallow is an ORM/ODM/framework-agnostic library
  for converting complex datatypes, such as objects,
  to and from native Python datatypes.
+ .
+ This is the Python 2 compatible package.
+
+Package: python3-marshmallow
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: simplified object serialization
+ marshmallow is an ORM/ODM/framework-agnostic library
+ for converting complex datatypes, such as objects,
+ to and from native Python datatypes.
+ .
+ This is the Python 3 compatible package
diff --git a/debian/rules b/debian/rules
index de1bd88..0308333 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export PYBUILD_NAME=marshmallow
 %:
-	dh $@ --with python2
+		dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list