debian/0000775000000000000000000000000012307577650007204 5ustar debian/copyright0000664000000000000000000000211012307576140011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: hplefthandclient Upstream-Contact: Kurt Martin Source: http://packages.python.org/hplefthandclient Files: debian/* Copyright: (c) 2013, Thomas Goirand License: Apache-2 Files: * Copyright: (c) 2013, Kurt Martin (c) 2013, HP. License: Apache-2 License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian-based systems the full text of the Apache version 2.0 license can be found in /usr/share/common-licenses/Apache-2.0. debian/compat0000664000000000000000000000000212275346635010403 0ustar 9 debian/watch0000664000000000000000000000014212275346635010233 0ustar version=3 http://pypi.python.org/packages/source/h/hplefthandclient hplefthandclient-(.*).tar.gz debian/source/0000775000000000000000000000000012275346635010505 5ustar debian/source/options0000664000000000000000000000005212275346635012120 0ustar extend-diff-ignore = "^[^/]*[.]egg-info/" debian/source/format0000664000000000000000000000001412275346635011713 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012307552706010626 5ustar debian/patches/series0000664000000000000000000000002712307551606012040 0ustar fixup-unit-tests.patch debian/patches/fixup-unit-tests.patch0000664000000000000000000000116612307552706015123 0ustar --- a/test/test_HPLeftHandMockServer_flask.py +++ b/test/test_HPLeftHandMockServer_flask.py @@ -5,6 +5,7 @@ import string import argparse from werkzeug.exceptions import default_exceptions from werkzeug.exceptions import HTTPException +from flask import Flask, request, make_response, session, abort, Response parser = argparse.ArgumentParser() parser.add_argument("-debug", help="Turn on http debugging", --- a/test/config.ini +++ b/test/config.ini @@ -2,7 +2,7 @@ flask_url=http://localhost:5001/lhos user=administrator pass=hpinvent -unit=false +unit=true debug=false start_flask_server=true cluster=ClusterVSA309 debian/rules0000775000000000000000000000202612307576201010253 0ustar #!/usr/bin/make -f PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) UPSTREAM_GIT = git://github.com//hplefthandclient.git -include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc override_dh_install: set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-hplefthandclient; \ done set -e && for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-hplefthandclient; \ done override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) set -e && cd test && nosetests --tc-file config.ini -v endif override_dh_sphinxdoc: sphinx-build -b html docs debian/python-hplefthandclient-doc/usr/share/doc/python-hplefthandclient-doc/html rm debian/python-hplefthandclient-doc/usr/share/doc/python-hplefthandclient-doc/html/_static/empty_dir dh_sphinxdoc -O--buildsystem=python_distutils debian/gbp.conf0000664000000000000000000000026112275346635010623 0ustar [DEFAULT] upstream-branch = upstream-unstable debian-branch = debian-unstable pristine-tar = True [git-buildpackage] export-dir = ../build-area/ [git-import-orig] dch = False debian/python-hplefthandclient-doc.doc-base0000664000000000000000000000045212275346635016203 0ustar Document: python-hplefthandclient Title: Python HP LeftHand client Author: N/A Abstract: Sphinx documentation for HP LeftHand client Section: Programming/Python Format: HTML Index: /usr/share/doc/python-hplefthandclient-doc/html/index.html Files: /usr/share/doc/python-hplefthandclient-doc/html/* debian/changelog0000664000000000000000000000066712307577650011067 0ustar python-hplefthandclient (1.0.1-1ubuntu1) trusty; urgency=medium * d/control,rules,d/p/fixup-unit-tests.patch: Fixup mock LHOS server, execute unit tests during package build (LP: #1284248). -- James Page Tue, 11 Mar 2014 12:20:54 +0000 python-hplefthandclient (1.0.1-1) unstable; urgency=low * Initial release. (Closes: #738151) -- Thomas Goirand Sat, 08 Feb 2014 14:03:29 +0800 debian/control0000664000000000000000000000470712307576174010617 0ustar Source: python-hplefthandclient Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: PKG OpenStack Uploaders: Julien Danjou , Thomas Goirand , Mehdi Abaakouk Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python-flask, python-httplib2, python-nose, python-nose-testconfig, python-setuptools, python-sphinx, python3-all, python3-setuptools Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-hplefthandclient.git Vcs-Git: git://anonscm.debian.org/openstack/python-hplefthandclient.git Homepage: http://packages.python.org/hplefthandclient Package: python-hplefthandclient Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${python:Depends} Description: HP LeftHand/StoreVirtual HTTP REST Client - Python 2.x This is a Client library that can talk to the HP LeftHand/StoreVirtual Storage array. The HP LeftHand storage array has a REST web service interface. . This client library implements a simple interface to talk with that REST interface using the Python httplib2 http library. . This package contains the Python 2.x module. Package: python3-hplefthandclient Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${python3:Depends} Description: HP LeftHand/StoreVirtual HTTP REST Client - Python 3.x This is a Client library that can talk to the HP LeftHand/StoreVirtual Storage array. The HP LeftHand storage array has a REST web service interface. . This client library implements a simple interface to talk with that REST interface using the Python httplib2 http library. . This package contains the Python 3.x module. Package: python-hplefthandclient-doc Section: doc Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: HP LeftHand/StoreVirtual HTTP REST Client - doc This is a Client library that can talk to the HP LeftHand/StoreVirtual Storage array. The HP LeftHand storage array has a REST web service interface. . This client library implements a simple interface to talk with that REST interface using the Python httplib2 http library. . This package contains the documentation.