[scoop] 04/04: added Python3 package

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Nov 1 15:37:42 UTC 2014


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

danstender-guest pushed a commit to branch master
in repository scoop.

commit a0c923cfae78c97e5431abca8068dbf3f6b90b41
Author: Daniel Stender <daniel at danielstender.com>
Date:   Sat Nov 1 16:37:07 2014 +0100

    added Python3 package
---
 debian/changelog     |  5 +++--
 debian/control       | 29 +++++++++++++++++++++++++++--
 debian/rules         |  2 +-
 debian/tests/control |  5 ++++-
 debian/tests/python3 |  6 ++++++
 5 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 52af27d..4ad165f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-scoop (0.7.1-2) UNRELEASED; urgency=medium
+scoop (0.7.1-2) unstable; urgency=medium
 
+  * Added Python3 package to build and auto testing (Closes: #766970).
   * deb/control: bumped standards to 3.9.6 (no changes needed).
   * deb/copyright: added maintainer email addresses.
 
- -- Daniel Stender <debian at danielstender.com>  Tue, 28 Oct 2014 01:17:14 +0100
+ -- Daniel Stender <debian at danielstender.com>  Sat, 01 Nov 2014 16:23:58 +0100
 
 scoop (0.7.1-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 538e21f..de19b72 100644
--- a/debian/control
+++ b/debian/control
@@ -13,12 +13,17 @@ Build-Depends:
  python-setuptools,
  python-sphinx (>= 1.0.7+dfsg-1~),
  python-zmq (>= 13.1.0~),
+ python3-all,
+ python3-greenlet,
+ python3-setuptools,
+ python3-zmq (>= 13.1.0~),
  texlive-latex-extra
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/scoop.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/scoop.git
 Homepage: http://scoop.googlecode.com/
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 XS-Testsuite: autopkgtest
 
 Package: python-scoop
@@ -28,7 +33,7 @@ Depends:
  python-greenlet (>= 0.3.4~),
  python-zmq (>= 13.1.0~),
  ${misc:Depends},
- ${python:Depends},
+ ${python:Depends}
 Recommends:
  openssh-client | ssh-client
 Suggests:
@@ -40,6 +45,25 @@ Description: Python library for concurrent parallel programming
  .
  This package contains the Python modules.
 
+Package: python3-scoop
+Architecture: all
+Section: python
+Depends:
+ python3-greenlet (>= 0.3.4~),
+ python3-zmq (>= 13.1.0~),
+ ${misc:Depends},
+ ${python3:Depends}
+Recommends:
+ openssh-client | ssh-client
+Suggests:
+ scoop-doc
+Description: Python3 library for concurrent parallel programming
+ SCOOP (Scalable COncurrent Operations in Python) is a distributed task
+ module allowing concurrent parallel programming on various environments,
+ from heterogeneous grids to supercomputers.
+ .
+ This package contains the Python3 modules.
+
 Package: scoop-doc
 Architecture: all
 Section: doc
@@ -47,7 +71,8 @@ Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends}
 Recommends:
- python-scoop
+ python-scoop,
+ python3-scoop
 Description: Python library for concurrent parallel programming (docs)
  SCOOP (Scalable COncurrent Operations in Python) is a distributed task
  module allowing concurrent parallel programming on various environments,
diff --git a/debian/rules b/debian/rules
index 7120151..9cabcd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 export PYBUILD_NAME=scoop
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
diff --git a/debian/tests/control b/debian/tests/control
index f96ccad..bc4df38 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: python2
-Depends: python-all, python-scoop, python-greenlet, python-zmq
\ No newline at end of file
+Depends: python-all, python-scoop, python-greenlet, python-zmq
+
+Tests: python3
+Depends: python3-all, python3-scoop, python3-greenlet, python3-zmq
\ No newline at end of file
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100755
index 0000000..ae39a62
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e -u
+export PYTHONWARNINGS=d
+cp -a test/ "$ADTTMP"
+cd "$ADTTMP/test/"
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} tests.py 2>&1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scoop.git



More information about the debian-science-commits mailing list