Package: python-pytest-xdist
Version: 1.8-0.1
Followup-For: Bug #782933

A small patch to add Python3 support, build using pybuild, update the homepage.
python3-execnet is not available yet, see related bug 782919


-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.18.5-x86_64-linode52 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pytest-xdist depends on:
ii  python          2.7.9-1
ii  python-execnet  1.0.9-0.1
ii  python-py       1.4.25-1
ii  python-pytest   2.6.3-2
ii  python2.7       2.7.9-2

python-pytest-xdist recommends no packages.

python-pytest-xdist suggests no packages.

-- no debconf information
>From 004eaffe0da1f98b68ddcd328a96d67a500cb6fb Mon Sep 17 00:00:00 2001
From: Federico Ceratto <federico.cera...@gmail.com>
Date: Mon, 20 Apr 2015 23:43:34 +0100
Subject: [PATCH] Add Python3

---
 debian/control | 41 ++++++++++++++++++++++++++++++++++++++---
 debian/rules   |  5 ++++-
 2 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index a1320ce..c539188 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,15 @@ Source: pytest-xdist
 Priority: optional
 Maintainer: Adam Schmalhofer <adam.schmalho...@gmx.de>
 Build-Depends:
- debhelper (>= 7.0.50~),
+ debhelper (>= 7.0.50~)
+Build-Depends-Indep:
+ dh-python,
  python-all (>= 2.6.6-3),
- python-setuptools
+ python-setuptools,
+ python3-all
 Standards-Version: 3.9.1
 Section: python
-Homepage: http://bitbucket.org/hpk42/pytest-xdist
+Homepage: https://bitbucket.org/pytest-dev/pytest-xdist
 
 Package: python-pytest-xdist
 Architecture: all
@@ -40,3 +43,35 @@ Description: xdist plugin for py.test
  displayed to your local test session. You may specify different Python
  versions and interpreters.
 Enhances: python-pytest
+
+Package: python3-pytest-xdist
+Architecture: all
+Depends:
+ python3-execnet (>= 1.0.9),
+ python3-py,
+ python3-pytest,
+ ${misc:Depends},
+ ${python3:Depends}
+Provides: ${python3:Provides}
+Breaks: ${python3:Breaks}
+Description: xdist plugin for py.test-3 (Python3 version)
+ The pytest-xdist plugin extends py.test with some unique test execution modes:
+ .
+  * Looponfail:
+      Run your tests repeatedly in a subprocess. After each run py.test waits
+      until a file in your project changes and then re-runs the previously
+      failing tests. This is repeated until all tests pass after which again a
+      full run is performed.
+  * Load-balancing:
+      if you have multiple CPUs or hosts you can use those for a combined test
+      run. This allows to speed up development or to use special resources of
+      remote machines.
+  * Multi-Platform coverage:
+      you can specify different Python interpreters or different platforms and
+      run tests in parallel on all of them.
+ .
+ Before running tests remotely, py.test efficiently synchronizes your program
+ source code to the remote place. All test results are reported back and
+ displayed to your local test session. You may specify different Python
+ versions and interpreters.
+Enhances: python3-pytest
diff --git a/debian/rules b/debian/rules
index 8ac996b..f056c04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export DH_VERBOSE=1
+export PYBUILD_NAME=pytest-xdist
+
 %:
-	dh --with python2 $@
+	dh --with python2,python3 --buildsystem=pybuild $@
-- 
2.1.4

Reply via email to