python-sphinx as build-depends, running nosetests
This commit is contained in:
17
debian/control
vendored
17
debian/control
vendored
@@ -3,7 +3,17 @@ Section: python
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
Uploaders: Thomas Goirand <zigo@debian.org>
|
Uploaders: Thomas Goirand <zigo@debian.org>
|
||||||
Build-Depends: debhelper (>= 9), dh-python, python-setuptools, python-all (>= 2.6.6-3~), python3-setuptools, python3-all
|
Build-Depends: debhelper (>= 9),
|
||||||
|
dh-python,
|
||||||
|
python-all (>= 2.6.6-3~),
|
||||||
|
python-setuptools,
|
||||||
|
python-sphinx,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools
|
||||||
|
Build-Depends-Indep: python-nose,
|
||||||
|
python-nose-timer,
|
||||||
|
python3-nose,
|
||||||
|
python3-nose-timer
|
||||||
Standards-Version: 3.9.6
|
Standards-Version: 3.9.6
|
||||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-kafka.git
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-kafka.git
|
||||||
Vcs-Git: git://anonscm.debian.org/openstack/python-kafka.git
|
Vcs-Git: git://anonscm.debian.org/openstack/python-kafka.git
|
||||||
@@ -12,7 +22,7 @@ Homepage: https://github.com/mumrah/kafka-python
|
|||||||
Package: python-kafka
|
Package: python-kafka
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: dpkg (>= 1.15.6~)
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
Depends: ${python:Depends}, ${misc:Depends}
|
Depends: ${misc:Depends}, ${python:Depends}
|
||||||
Suggests: python-kafka-doc
|
Suggests: python-kafka-doc
|
||||||
Description: Pure Python client for Apache Kafka - Python 2.x
|
Description: Pure Python client for Apache Kafka - Python 2.x
|
||||||
This module provides low-level protocol support for Apache Kafka as well as
|
This module provides low-level protocol support for Apache Kafka as well as
|
||||||
@@ -25,7 +35,7 @@ Description: Pure Python client for Apache Kafka - Python 2.x
|
|||||||
Package: python3-kafka
|
Package: python3-kafka
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: dpkg (>= 1.15.6~)
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
Depends: ${python3:Depends}, ${misc:Depends}
|
Depends: ${misc:Depends}, ${python3:Depends}
|
||||||
Suggests: python-kafka-doc
|
Suggests: python-kafka-doc
|
||||||
Description: Pure Python client for Apache Kafka - Python 3.x
|
Description: Pure Python client for Apache Kafka - Python 3.x
|
||||||
This module provides low-level protocol support for Apache Kafka as well as
|
This module provides low-level protocol support for Apache Kafka as well as
|
||||||
@@ -47,4 +57,3 @@ Description: Pure Python client for Apache Kafka - doc
|
|||||||
is also supported for message sets.
|
is also supported for message sets.
|
||||||
.
|
.
|
||||||
This package contains the documentation.
|
This package contains the documentation.
|
||||||
|
|
||||||
|
|||||||
1
debian/copyright
vendored
1
debian/copyright
vendored
@@ -25,4 +25,3 @@ License: Apache-2
|
|||||||
.
|
.
|
||||||
On Debian-based systems the full text of the Apache version 2.0 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.
|
can be found in /usr/share/common-licenses/Apache-2.0.
|
||||||
|
|
||||||
|
|||||||
11
debian/rules
vendored
11
debian/rules
vendored
@@ -22,14 +22,17 @@ override_dh_install:
|
|||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
|
ln -s kafka kafka-python
|
||||||
python$$pyvers setup.py test ; \
|
PYTHON=python2.7 PYTHONPATH=. nosetests --with-timer --timer-top-n 10 --with-coverage --cover-erase --cover-package kafka
|
||||||
done
|
PYTHON=python3 PYTHONPATH=. nosetests3
|
||||||
|
# set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
|
||||||
|
# PYTHON=python$$pyvers setup.py test ; \
|
||||||
|
# done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override_dh_clean:
|
override_dh_clean:
|
||||||
dh_clean -O--buildsystem=python_distutils
|
dh_clean -O--buildsystem=python_distutils
|
||||||
rm -rf build
|
rm -rf build kafka-python
|
||||||
|
|
||||||
override_dh_sphinxdoc:
|
override_dh_sphinxdoc:
|
||||||
sphinx-build -b html docs debian/python-kafka-doc/usr/share/doc/python-kafka-doc/html
|
sphinx-build -b html docs debian/python-kafka-doc/usr/share/doc/python-kafka-doc/html
|
||||||
|
|||||||
Reference in New Issue
Block a user