Using pkgos-dh_auto_install from openstack-pkg-tools >= 52~.

This commit is contained in:
Thomas Goirand
2016-07-19 08:44:57 +00:00
parent 762dadb57e
commit 4aff48fd8d
3 changed files with 4 additions and 13 deletions

1
debian/changelog vendored
View File

@@ -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 <zigo@debian.org> Tue, 19 Jul 2016 08:40:48 +0000

2
debian/control vendored
View File

@@ -7,7 +7,7 @@ Uploaders: Thomas Goirand <zigo@debian.org>,
Build-Depends: debhelper (>= 9),
dh-python,
libjs-jquery,
openstack-pkg-tools,
openstack-pkg-tools (>= 52~),
python-all,
python-pbr,
python-setuptools,

14
debian/rules vendored
View File

@@ -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)))