From fd22fb95a91ea03ee239997d4286c4f4b83b0364 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Fri, 6 Jun 2014 22:55:45 +0800 Subject: [PATCH] Now also packaging heat_keystoneclient_v2 in dist-packages/heat/plugins Rewritten-From: 928edd55228d76f4d58838c47884b4dfe3bd26bb --- trusty/debian/changelog | 6 ++++++ trusty/debian/rules | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/trusty/debian/changelog b/trusty/debian/changelog index f481a962..991b413f 100644 --- a/trusty/debian/changelog +++ b/trusty/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/trusty/debian/rules b/trusty/debian/rules index 3d0fecb8..fba49743 100755 --- a/trusty/debian/rules +++ b/trusty/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 -- 2.45.2