From: Thomas Goirand Date: Fri, 6 Jun 2014 14:55:45 +0000 (+0800) Subject: Now also packaging heat_keystoneclient_v2 in dist-packages/heat/plugins X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=57582ddf742890452a6846e0d1db0ccd6c2a5db1;p=openstack-build%2Fheat-build.git Now also packaging heat_keystoneclient_v2 in dist-packages/heat/plugins Rewritten-From: 928edd55228d76f4d58838c47884b4dfe3bd26bb --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index f481a962..991b413f 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,9 @@ +heat (2014.1-8) unstable; urgency=medium + + * Now also packaging heat_keystoneclient_v2 in dist-packages/heat/plugins. + + -- Thomas Goirand Fri, 06 Jun 2014 22:56:55 +0800 + heat (2014.1-7) unstable; urgency=medium * Now build-depends on openstack-pkg-tools >= 12~. diff --git a/xenial/debian/rules b/xenial/debian/rules index 3d0fecb8..fba49743 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +PYTHONS:=$(shell pyversions -vr) +#PYTHON3S:=$(shell py3versions -vr) + include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) @@ -32,6 +35,10 @@ override_dh_install: dh_install install -D -m 0640 etc/heat/heat.conf.sample $(CURDIR)/debian/heat-common/usr/share/heat-common/heat.conf cat $(CURDIR)/debian/keystone_authtoken >>$(CURDIR)/debian/heat-common/usr/share/heat-common/heat.conf + set -e && for pyvers in $(PYTHONS); do \ + mkdir -p $(CURDIR)/debian/python-heat/usr/lib/python$$pyvers/dist-packages/heat/plugins ; \ + cp -rf contrib/heat_keystoneclient_v2/heat_keystoneclient_v2 $(CURDIR)/debian/python-heat/usr/lib/python$$pyvers/dist-packages/heat/plugins ; \ + done override_dh_auto_build: dh_auto_build