diff --git a/debian/changelog b/debian/changelog index 40b524e..720b39a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ python-django-pyscss (2.0.2-5) UNRELEASED; urgency=medium * Fixed debian/copyright ordering. * Also test with Py3. * Standards-Version: 3.9.8 (no change). + * Using pkgos-dh_auto_install from openstack-pkg-tools >= 52~. -- Thomas Goirand Tue, 19 Jul 2016 08:40:48 +0000 diff --git a/debian/control b/debian/control index 28eb447..13d323b 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Uploaders: Thomas Goirand , Build-Depends: debhelper (>= 9), dh-python, libjs-jquery, - openstack-pkg-tools, + openstack-pkg-tools (>= 52~), python-all, python-pbr, python-setuptools, diff --git a/debian/rules b/debian/rules index 1c9d524..5891f17 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,5 @@ #!/usr/bin/make -f -PYTHONS:=$(shell pyversions -vr) -PYTHON3S:=$(shell py3versions -vr) - UPSTREAM_GIT := https://github.com/fusionbox/django-pyscss.git include /usr/share/openstack-pkg-tools/pkgos.make @@ -14,15 +11,8 @@ override_dh_clean: rm -f testproject/__init__.pyc testproject/testproject/__init__.pyc testproject/testproject/settings.pyc rm -rf tmp -override_dh_install: - set -e ; for pyvers in $(PYTHONS); do \ - python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python-django-pyscss; \ - done - set -e ; for pyvers in $(PYTHON3S); do \ - python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python3-django-pyscss; \ - done +override_dh_auto_install: + pkgos-dh_auto_install override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))