[Python-modules-commits] [python-gear] 02/06: * New upstream release. * Fixed (build-)depends for this release. * Removed non-active uploaders. * Move stuff from build-depends to build-depends-indep. * Better call unit test suite (directly with testr).

Thomas Goirand zigo at moszumanska.debian.org
Tue Sep 8 09:46:01 UTC 2015


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

zigo pushed a commit to annotated tag debian/0.5.8-1
in repository python-gear.

commit 34fcf9aad9212fcc196125a80b48295fa49710a0
Author: Thomas Goirand <thomas at goirand.fr>
Date:   Tue Sep 8 09:19:22 2015 +0000

      * New upstream release.
      * Fixed (build-)depends for this release.
      * Removed non-active uploaders.
      * Move stuff from build-depends to build-depends-indep.
      * Better call unit test suite (directly with testr).
---
 debian/changelog | 10 ++++++++++
 debian/control   | 52 ++++++++++++++++++++++------------------------------
 debian/rules     | 21 +++++++++++++--------
 3 files changed, 45 insertions(+), 38 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 79a102d..babe348 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-gear (0.5.8-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+  * Removed non-active uploaders.
+  * Move stuff from build-depends to build-depends-indep.
+  * Better call unit test suite (directly with testr).
+
+ -- Thomas Goirand <zigo at debian.org>  Tue, 08 Sep 2015 09:11:03 +0000
+
 python-gear (0.5.5-2) unstable; urgency=medium
 
   * Update Vcs-Browser and set Vcs-Git
diff --git a/debian/control b/debian/control
index d0e3ce8..392eba3 100644
--- a/debian/control
+++ b/debian/control
@@ -1,36 +1,29 @@
 Source: python-gear
+Section: python
+Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Antoine Musso <hashar at free.fr>,
-           Julien Danjou <acid at debian.org>,
            Thomas Goirand <zigo at debian.org>,
-           Ghe Rivero <ghe.rivero at stackops.com>,
-           Mehdi Abaakouk <sileht at sileht.net>,
-           Paul Belanger <paul.belanger at polybeacon.com>
-Section: python
-Priority: optional
+           Paul Belanger <paul.belanger at polybeacon.com>,
 Build-Depends: debhelper (>= 8),
                openstack-pkg-tools,
-               python-all (>= 2.6.6-3),
-               python-daemon,
-               python-extras,
-               python-statsd (>=1.0.0),
-               python-setuptools (>= 0.6b3),
-               python-sphinx (>=1.1.2),
+               python-all,
                python-pbr,
-# Tests related:
-               python-fixtures (>=0.3.12),
-               python-hacking (>=0.5.3),
-               python-sphinxcontrib-programoutput,
-               python-subunit,
-               python-testrepository (>=0.0.13),
-               python-testresources,
-               python-testscenarios,
-               python-testtools (>=0.9.27),
-#Build-Depends-Indep:
-# From test-requirements.txt we are missing:
-#coverage>=3.6
-#discover
-#hacking>=0.5.3,<0.6
+               python-setuptools,
+               python-sphinx,
+Build-Depends-Indep: python-coverage,
+                     python-daemon (>= 2.0.4),
+                     python-extras,
+                     python-fixtures,
+                     python-hacking,
+                     python-openssl,
+                     python-sphinxcontrib.programoutput,
+                     python-statsd,
+                     python-testresources,
+                     python-testscenarios,
+                     python-testtools,
+                     subunit,
+                     testrepository,
 Standards-Version: 3.9.6
 Homepage: https://pypi.python.org/pypi/gear
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-gear.git
@@ -38,13 +31,12 @@ Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-gear.git
 
 Package: python-gear
 Architecture: all
-Pre-Depends: dpkg (>= 1.15.6~)
-Depends: python-daemon,
+Depends: python-daemon (>= 2.0.4),
          python-extras,
          python-pbr,
          ${misc:Depends},
-         ${python:Depends}
-Suggests:  python-statsd
+         ${python:Depends},
+Suggests: python-statsd,
 Description: Pure Python Async Gear Protocol Library
  python-gear is a pure-Python asynchronous library to interface with Gearman.
  .
diff --git a/debian/rules b/debian/rules
index 9fb81da..771a0f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,26 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
 
 UPSTREAM_GIT = git://github.com/openstack-infra/gear.git
-
 include /usr/share/openstack-pkg-tools/pkgos.make
-
 export OSLO_PACKAGE_VERSION=$(VERSION)
 
 %:
 	dh $@ --with python2
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	# Command comes from upstream tox.ini
-	python setup.py testr --slowest
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	@echo "===> Running tests"
+	set -e ; set -x ; for i in 2.7 ; do \
+		PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
+		echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
+		rm -rf .testrepository ; \
+		testr-python$$PYMAJOR init ; \
+		TEMP_REZ=`mktemp -t` ; \
+		PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
+		cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
+		rm -f $$TEMP_REZ ; \
+		testr-python$$PYMAJOR slowest ; \
+	done
 endif
 
 .PHONY: get-orig-source override_dh_auto_test

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



More information about the Python-modules-commits mailing list