Commit eb746c04 authored by Thomas Goirand's avatar Thomas Goirand

Added initial debian folder.

parent 16c319ed
python-oslotest (0.1-1) experimental; urgency=low
* Initial release. (Closes: #742310)
-- Thomas Goirand <zigo@debian.org> Fri, 21 Mar 2014 17:25:32 +0800
Source: python-oslotest
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Julien Danjou <acid@debian.org>,
Thomas Goirand <zigo@debian.org>,
Mehdi Abaakouk <sileht@sileht.net>,
Gonéri Le Bouder <goneri@debian.org>
Build-Depends: debhelper (>= 9),
python-all (>= 2.6.6-3~),
python-coverage (>= 3.6),
python-fixtures (>= 0.3.14),
python-hacking (>= 0.8.0),
python-mock (>= 1.0),
python-mox (>= 0.5.3),
python-oslosphinx,
python-setuptools,
python-sphinx (>= 1.1.2),
python-subunit (>= 0.0.18),
python-testscenarios (>= 0.4),
python-testtools (>= 0.9.34),
python3-all (>= 3.2),
python3-coverage (>= 3.6),
python3-fixtures (>= 0.3.14),
python3-hacking (>= 0.8.0),
python3-mock (>= 1.0),
python3-mox3,
python3-setuptools,
python3-subunit (>= 0.0.18),
python3-testtools (>= 0.9.34),
python3-testscenarios (>= 0.4),
subunit (>= 0.0.18),
testrepository (>= 0.0.17)
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-oslotest.git
Vcs-Git: git://anonscm.debian.org/openstack/python-oslotest.git
Homepage: http://launchpad.net/oslo
Package: python-oslotest
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: python-fixtures (>= 0.3.14),
python-mock (>= 1.0),
python-mox (>= 0.5.3),
python-testtools (>= 0.9.34),
${misc:Depends},
${python:Depends}
Description: OpenStack test framework - Python 2.x
OpenStack test framework that provides base classes and fixtures for creating
unit and functional tests.
.
This package contains the Python 2.x module.
Package: python3-oslotest
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: python3-fixtures (>= 0.3.14),
python3-mock (>= 1.0),
python3-mox3 (>= 0.5.3),
python3-testtools (>= 0.9.34),
${misc:Depends},
${python3:Depends}
Description: OpenStack test framework - Python 3.x
OpenStack test framework that provides base classes and fixtures for creating
unit and functional tests.
.
This package contains the Python 3.x module.
Package: python-oslotest-doc
Section: doc
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Description: OpenStack test framework - doc
OpenStack test framework that provides base classes and fixtures for creating
unit and functional tests.
.
This package contains the documentation.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: oslotest
Source: http://launchpad.net/oslo
Files: debian/*
Copyright: (c) 2013, 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.
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz
[git-buildpackage]
export-dir = ../build-area/
Document: python-oslotest-doc
Title: OsloTest Documentation
Author: OpenStack
Abstract: Sphinx documentation for OsloTest
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-oslotest-doc/html/index.html
Files: /usr/share/doc/python-oslotest-doc/html/*
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
UPSTREAM_GIT = git://github.com/openstack/oslo.test.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-oslotest; \
done
set -e && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-oslotest; \
done
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
for i in $(PYTHONS) $(PYTHON3S) ; do \
set -e && \
TEMP_REZ=`mktemp -t` && \
export PYTHON=python$$i ; \
PYTHON=python$$i PYTHONPATH=. python setup.py testr --slowest --testr-args='--subunit ' | tee $$TEMP_REZ | subunit2pyunit ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ ; \
done
export PYTHON=python
endif
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
sphinx-build -b html doc/source debian/python-oslotest-doc/usr/share/doc/python-oslotest-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
endif
# 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:
extend-diff-ignore = "^[^/]*[.]egg-info/"
version=3
http://pypi.python.org/packages/source/o/oslotest oslotest-(.*).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment