Packaging 1.0.3

This commit is contained in:
Thomas Goirand
2015-04-27 22:07:19 +00:00
parent d747374ad2
commit 4ef9ddc3c3
3 changed files with 66 additions and 39 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
python-openstackclient (1.0.3-1) unstable; urgency=medium
* New upstream release.
* Uploading to unstable.
-- Thomas Goirand <zigo@debian.org> Mon, 27 Apr 2015 21:59:26 +0000
python-openstackclient (1.0.2-1) experimental; urgency=medium python-openstackclient (1.0.2-1) experimental; urgency=medium
* New upstream release. * New upstream release.

83
debian/control vendored
View File

@@ -4,36 +4,40 @@ Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org> Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: gustavo panizzo <gfa@zumbi.com.ar>, Thomas Goirand <zigo@debian.org> Uploaders: gustavo panizzo <gfa@zumbi.com.ar>, Thomas Goirand <zigo@debian.org>
Build-Depends: debhelper (>= 9), Build-Depends: debhelper (>= 9),
dh-python,
openstack-pkg-tools, openstack-pkg-tools,
python-all (>= 2.6.6-3~), python-all,
python-oslosphinx, python-pbr,
python-pbr (>= 0.6), python-setuptools,
python-setuptools python-sphinx,
Build-Depends-Indep: cliff-tablib (>= 1.0), Build-Depends-Indep: cliff-tablib,
python-babel (>= 1.3), python-babel,
python-cinderclient (>= 1:1.1.0), python-cinderclient (>= 1:1.1.0),
python-cliff (>= 1.7.0), python-cliff,
python-coverage (>= 3.6), python-coverage,
python-crypto (>= 2.6.0), python-crypto,
python-fixtures (>= 0.3.14), python-fixtures,
python-glanceclient (>= 1:0.15.0), python-glanceclient (>= 1:0.15.0),
python-hacking, python-hacking,
python-keyring (>= 2.1), python-keyring,
python-keystoneclient (>= 1:0.11.1), python-keystoneclient (>= 1:1.1.0),
python-mock (>= 1.0), python-mock,
python-neutronclient(>= 2.3.6), python-neutronclient (>= 2.3.11),
python-novaclient (>= 2:2.18.0), python-novaclient,
python-oslo.config (>= 1:1.6.0), python-oslo.config (>= 1:1.9.0),
python-oslo.serialization (>=1.0.0), python-oslo.i18n (>= 1.3.0),
python-oslo.utils (>=1.0.0), python-oslo.serialization (>= 1.2.0),
python-requests (>= 2.2.0), python-oslo.utils (>= 1.2.0),
python-requests-mock, python-oslosphinx (>= 2.2.0.0),
python-six (>= 1.7.0), python-oslotest (>= 1.2.0),
python-sphinx (>= 1.1.2), python-requests,
python-stevedore (>= 1.0.0), python-requests-mock (>= 0.5.1),
python-testtools (>= 0.9.32), python-six (>= 1.9.0),
python-webob (>= 1.2.3), python-stevedore (>= 1.1.0),
testrepository (>= 0.0.17) python-testtools,
python-webob,
subunit,
testrepository,
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-openstackclient.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-openstackclient.git
Vcs-Git: git://anonscm.debian.org/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 Package: python-openstackclient
Architecture: all Architecture: all
Depends: cliff-tablib (>= 1.0), Depends: cliff-tablib,
python-babel,
python-cinderclient (>= 1:1.1.0), python-cinderclient (>= 1:1.1.0),
python-cliff (>= 1.7.0), python-cliff,
python-crypto (>= 2.6.0), python-crypto,
python-glanceclient (>= 1:0.15.0), python-glanceclient (>= 1:0.15.0),
python-keyring (>= 1.6.1), python-keyring,
python-keystoneclient (>= 1:0.11.1), python-keystoneclient (>= 1:1.1.0),
python-neutronclient(>= 2.3.6), python-neutronclient (>= 2.3.11),
python-novaclient (>= 2:2.18.0), python-novaclient,
python-oslo.config (>= 1:1.6.0), python-oslo.config (>= 1:1.9.0),
python-requests (>= 2.2.0), python-oslo.i18n (>= 1.3.0),
python-six (>= 1.7.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}, ${misc:Depends},
${python:Depends}, ${python:Depends},
${sphinxdoc:Depends} ${sphinxdoc:Depends},
Recommends: ${python:Recommends} Recommends: ${python:Recommends}
Description: OpenStack Command-line Client Description: OpenStack Command-line Client
python-openstackclient is a unified command-line client for the OpenStack APIs. python-openstackclient is a unified command-line client for the OpenStack APIs.

15
debian/rules vendored
View File

@@ -14,9 +14,20 @@ override_dh_auto_clean:
override_dh_auto_build: override_dh_auto_build:
dh_auto_build dh_auto_build
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test: 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 endif
override_dh_sphinxdoc: override_dh_sphinxdoc: