diff --git a/debian/changelog b/debian/changelog index 84e594c2..05a97825 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-openstackclient (1.0.3-1) unstable; urgency=medium + + * New upstream release. + * Uploading to unstable. + + -- Thomas Goirand Mon, 27 Apr 2015 21:59:26 +0000 + python-openstackclient (1.0.2-1) experimental; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index b8e4185b..4d17c2eb 100644 --- a/debian/control +++ b/debian/control @@ -4,36 +4,40 @@ Priority: optional Maintainer: PKG OpenStack Uploaders: gustavo panizzo , Thomas Goirand Build-Depends: debhelper (>= 9), + dh-python, openstack-pkg-tools, - python-all (>= 2.6.6-3~), - python-oslosphinx, - python-pbr (>= 0.6), - python-setuptools -Build-Depends-Indep: cliff-tablib (>= 1.0), - python-babel (>= 1.3), + python-all, + python-pbr, + python-setuptools, + python-sphinx, +Build-Depends-Indep: cliff-tablib, + python-babel, python-cinderclient (>= 1:1.1.0), - python-cliff (>= 1.7.0), - python-coverage (>= 3.6), - python-crypto (>= 2.6.0), - python-fixtures (>= 0.3.14), + python-cliff, + python-coverage, + python-crypto, + python-fixtures, python-glanceclient (>= 1:0.15.0), python-hacking, - python-keyring (>= 2.1), - python-keystoneclient (>= 1:0.11.1), - python-mock (>= 1.0), - python-neutronclient(>= 2.3.6), - python-novaclient (>= 2:2.18.0), - python-oslo.config (>= 1:1.6.0), - python-oslo.serialization (>=1.0.0), - python-oslo.utils (>=1.0.0), - python-requests (>= 2.2.0), - python-requests-mock, - python-six (>= 1.7.0), - python-sphinx (>= 1.1.2), - python-stevedore (>= 1.0.0), - python-testtools (>= 0.9.32), - python-webob (>= 1.2.3), - testrepository (>= 0.0.17) + python-keyring, + python-keystoneclient (>= 1:1.1.0), + python-mock, + python-neutronclient (>= 2.3.11), + python-novaclient, + python-oslo.config (>= 1:1.9.0), + python-oslo.i18n (>= 1.3.0), + python-oslo.serialization (>= 1.2.0), + python-oslo.utils (>= 1.2.0), + python-oslosphinx (>= 2.2.0.0), + python-oslotest (>= 1.2.0), + python-requests, + python-requests-mock (>= 0.5.1), + python-six (>= 1.9.0), + python-stevedore (>= 1.1.0), + python-testtools, + python-webob, + subunit, + testrepository, Standards-Version: 3.9.6 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-openstackclient.git Vcs-Git: git://anonscm.debian.org/openstack/python-openstackclient.git @@ -41,21 +45,26 @@ Homepage: http://wiki.openstack.org/OpenStackClient Package: python-openstackclient Architecture: all -Depends: cliff-tablib (>= 1.0), +Depends: cliff-tablib, + python-babel, python-cinderclient (>= 1:1.1.0), - python-cliff (>= 1.7.0), - python-crypto (>= 2.6.0), + python-cliff, + python-crypto, python-glanceclient (>= 1:0.15.0), - python-keyring (>= 1.6.1), - python-keystoneclient (>= 1:0.11.1), - python-neutronclient(>= 2.3.6), - python-novaclient (>= 2:2.18.0), - python-oslo.config (>= 1:1.6.0), - python-requests (>= 2.2.0), - python-six (>= 1.7.0), + python-keyring, + python-keystoneclient (>= 1:1.1.0), + python-neutronclient (>= 2.3.11), + python-novaclient, + python-oslo.config (>= 1:1.9.0), + python-oslo.i18n (>= 1.3.0), + python-oslo.serialization (>= 1.2.0), + python-oslo.utils (>= 1.2.0), + python-requests, + python-six (>= 1.9.0), + python-stevedore (>= 1.1.0), ${misc:Depends}, ${python:Depends}, - ${sphinxdoc:Depends} + ${sphinxdoc:Depends}, Recommends: ${python:Recommends} Description: OpenStack Command-line Client python-openstackclient is a unified command-line client for the OpenStack APIs. diff --git a/debian/rules b/debian/rules index bccbd4c1..1b793707 100755 --- a/debian/rules +++ b/debian/rules @@ -14,9 +14,20 @@ override_dh_auto_clean: override_dh_auto_build: dh_auto_build -ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: - python setup.py testr || true +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 override_dh_sphinxdoc: