Added initial debian folder.
This commit is contained in:
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
python-tempest-lib (0.0.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release. (Closes: #771201)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Thu, 27 Nov 2014 22:48:43 +0800
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
9
|
76
debian/control
vendored
Normal file
76
debian/control
vendored
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
Source: python-tempest-lib
|
||||||
|
Section: python
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
|
Uploaders: Thomas Goirand <zigo@debian.org>
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
dh-python,
|
||||||
|
python-all (>= 2.6.6-3~),
|
||||||
|
python-setuptools,
|
||||||
|
python-sphinx,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools
|
||||||
|
Build-Depends-Indep: python-coverage (>= 3.6),
|
||||||
|
python-mock (>= 1.0),
|
||||||
|
python-oslosphinx,
|
||||||
|
python-subunit,
|
||||||
|
python-testscenarios (>= 0.4),
|
||||||
|
python-testtools (>= 0.9.34),
|
||||||
|
python3-coverage (>= 3.6),
|
||||||
|
python3-mock (>= 1.0),
|
||||||
|
python3-subunit,
|
||||||
|
python3-testscenarios (>= 0.4),
|
||||||
|
python3-testtools (>= 0.9.34),
|
||||||
|
subunit,
|
||||||
|
testrepository (>= 0.0.18)
|
||||||
|
Standards-Version: 3.9.6
|
||||||
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-tempest-lib.git
|
||||||
|
Vcs-Git: git://anonscm.debian.org/openstack/python-tempest-lib.git
|
||||||
|
Homepage: http://www.openstack.org/
|
||||||
|
|
||||||
|
Package: python-tempest-lib
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: python-babel (>= 1.3),
|
||||||
|
python-fixtures (>= 0.3.14),
|
||||||
|
python-iso8601 (>= 0.1.9),
|
||||||
|
python-oslo.config (>= 1.4.0.0),
|
||||||
|
python-pbr (>= 0.8.1),
|
||||||
|
python-testresources (>= 0.2.4),
|
||||||
|
${misc:Depends},
|
||||||
|
${python:Depends}
|
||||||
|
Suggests: python-tempest-lib-doc
|
||||||
|
Description: OpenStack Functional Testing Library - Python 2.x
|
||||||
|
This package contains the OpenStack Functional Testing Library which is used
|
||||||
|
by the Tempest Functional Testing suite.
|
||||||
|
.
|
||||||
|
This package contains the Python 2.x module.
|
||||||
|
|
||||||
|
Package: python3-tempest-lib
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: python3-babel (>= 1.3),
|
||||||
|
python3-fixtures (>= 0.3.14),
|
||||||
|
python3-iso8601 (>= 0.1.9),
|
||||||
|
python3-oslo.config (>= 1.4.0.0),
|
||||||
|
python3-pbr (>= 0.8.1),
|
||||||
|
python3-testresources (>= 0.2.4),
|
||||||
|
${misc:Depends},
|
||||||
|
${python3:Depends}
|
||||||
|
Suggests: python-tempest-lib-doc
|
||||||
|
Description: OpenStack Functional Testing Library - Python 3.x
|
||||||
|
This package contains the OpenStack Functional Testing Library which is used
|
||||||
|
by the Tempest Functional Testing suite.
|
||||||
|
.
|
||||||
|
This package contains the Python 3.x module.
|
||||||
|
|
||||||
|
Package: python-tempest-lib-doc
|
||||||
|
Section: doc
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
|
||||||
|
Description: OpenStack Functional Testing Library - doc
|
||||||
|
This package contains the OpenStack Functional Testing Library which is used
|
||||||
|
by the Tempest Functional Testing suite.
|
||||||
|
.
|
||||||
|
This package contains the documentation.
|
29
debian/copyright
vendored
Normal file
29
debian/copyright
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: tempest-lib
|
||||||
|
Upstream-Contact: OpenStack Development Mailing List <openstack-dev@lists.openstack.org>
|
||||||
|
Source: http://www.openstack.org/
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013-2014, OpenStack Foundation
|
||||||
|
(c) 2013-2014, Hewlett-Packard Development Company, L.P.
|
||||||
|
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.
|
9
debian/gbp.conf
vendored
Normal file
9
debian/gbp.conf
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = master
|
||||||
|
debian-branch = debian/unstable
|
||||||
|
upstream-tag = %(version)s
|
||||||
|
compression = xz
|
||||||
|
|
||||||
|
[git-buildpackage]
|
||||||
|
export-dir = ../build-area/
|
||||||
|
|
9
debian/python-tempest-lib-doc.doc-base
vendored
Normal file
9
debian/python-tempest-lib-doc.doc-base
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Document: python-tempest-lib-doc
|
||||||
|
Title: tempest-lib Documentation
|
||||||
|
Author: N/A
|
||||||
|
Abstract: Sphinx documentation for tempest-lib
|
||||||
|
Section: Programming/Python
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/python-tempest-lib-doc/html/index.html
|
||||||
|
Files: /usr/share/doc/python-tempest-lib-doc/html/*
|
55
debian/rules
vendored
Executable file
55
debian/rules
vendored
Executable file
@@ -0,0 +1,55 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
|
UPSTREAM_GIT = git://github.com/openstack/tempest-lib.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-tempest-lib; \
|
||||||
|
done
|
||||||
|
set -e ; for pyvers in $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python3-tempest-lib; \
|
||||||
|
done
|
||||||
|
rm -rf $(CURDIR)/debian/python*-tempest-lib/usr/lib/python*/dist-packages/*.pth
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
|
echo "===> Running tests"
|
||||||
|
set -e && for i in $(PYTHONS) $(PYTHON3S) ; 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_clean:
|
||||||
|
dh_clean -O--buildsystem=python_distutils
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
|
override_dh_sphinxdoc:
|
||||||
|
sphinx-build -b html doc/source debian/python-tempest-lib-doc/usr/share/doc/python-tempest-lib-doc/html
|
||||||
|
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||||
|
|
||||||
|
# Commands not to run
|
||||||
|
override_dh_installcatalogs:
|
||||||
|
override_dh_installemacsen override_dh_installifupdown:
|
||||||
|
override_dh_installinfo override_dh_installmenu override_dh_installmime:
|
||||||
|
override_dh_installmodules override_dh_installlogcheck:
|
||||||
|
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
|
||||||
|
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
|
||||||
|
override_dh_installcron override_dh_installdebconf:
|
||||||
|
override_dh_installlogrotate override_dh_installgsettings:
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
3
debian/watch
vendored
Normal file
3
debian/watch
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version=3
|
||||||
|
http://pypi.python.org/packages/source/t/tempest-lib tempest-lib-(.*).tar.gz
|
||||||
|
|
Reference in New Issue
Block a user