Makefile revision 7006
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# CDDL HEADER START
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# The contents of this file are subject to the terms of the
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# Common Development and Distribution License (the "License").
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# You may not use this file except in compliance with the License.
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# See the License for the specific language governing permissions
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# and limitations under the License.
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# When distributing Covered Code, include this CDDL HEADER in each
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# If applicable, add the following below this CDDL HEADER, with the
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# CDDL HEADER END
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:bf06eda4d9a8a25e576c381baa93dafd48453287ad15d8e91ffde59f43a35830
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync https://tarballs.openstack.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# Starting with Juno, Horizon depends on a number of XStatic modules
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# to deliver the required JavaScript modules. This delivery method
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# may be changing in future releases, so the XStatic modules for now
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# are built as part of Horizon rather than being stand alone
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# XStatic itself is only used during the build process and so while it
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# is downloaded and installed in the proto area, none of its
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync# components are delivered in the Horizon package itself.
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:0ec93d7c66ebb9e0d31b664753437dc8634cb66e13310cb47c9eb1e0bc66d726
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_2 = XStatic-Angular-$(COMPONENT_VERSION_2)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:7cad216b226399cbe8d2909ed5b9f28d724907b9c9e1e078e6e25d320a3d5dd7
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_ANGULAR=$(basename $(COMPONENT_VERSION_2))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_3 = XStatic-Bootstrap-Datepicker-$(COMPONENT_VERSION_3)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:9edc9b77501001fcee9fbf4bf0a722c263efd928ef928b40081a8269fdd9a944
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_BOOTSTRAP_DP=$(basename $(COMPONENT_VERSION_3))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_4 = XStatic-Bootstrap-SCSS-$(COMPONENT_VERSION_4)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:7e9858737e2e6aac921ec7a3fca627e522901c3061611e154ebc0b8a892c7018
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_BOOTSTRAP_SCSS=$(basename $(COMPONENT_VERSION_4))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:46fe521f8dad99f5e20f6702180510c37b81d11f1d78119d308fcec31381f90e
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_D3=$(basename $(COMPONENT_VERSION_5))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_6 = XStatic-Font-Awesome-$(COMPONENT_VERSION_6)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:d2c0548990a22744ad20013e1d095de8ba1ea56b1878d8393a721205b03885c3
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_FONT_AWESOME=$(basename $(COMPONENT_VERSION_6))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_7 = XStatic-Hogan-$(COMPONENT_VERSION_7)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:5941bc7fb2a09916b8837848e6fc2a13b2dfc271811e9b522c61e1337d5fc2bd
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_HOGAN=$(basename $(COMPONENT_VERSION_7))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_8 = XStatic-jQuery-$(COMPONENT_VERSION_8)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JQUERY=$(basename $(COMPONENT_VERSION_8))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_9 = XStatic-JQuery-Migrate-$(COMPONENT_VERSION_9)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:e2959b3df49afdddb00d36b74cca727a91b994b9f4edb993d7264731a750900e
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JQUERY_MIGRATE=$(basename $(COMPONENT_VERSION_9))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_10 = XStatic-jquery-ui-$(COMPONENT_VERSION_10)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:099b1836eb0d91b8dc98f5b8a6b856a2631d43af0d47f33ef90ee72ed37bda58
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JQUERY_UI=$(basename $(COMPONENT_VERSION_10))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_11 = XStatic-JQuery.quicksearch-$(COMPONENT_VERSION_11)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:1271571b420417add56c274fd935e81bfc79e0d54a03559d6ba5ef369f358477
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JQUERY_QS=$(basename $(COMPONENT_VERSION_11))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_12 = XStatic-JQuery.TableSorter-$(COMPONENT_VERSION_12)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:3ba24aecd9a3dc71a79dd4096fa5a8a041c3a7b892c61d05e6e46de0605070f0
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JQUERY_TS=$(basename $(COMPONENT_VERSION_12))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_13 = XStatic-JSEncrypt-$(COMPONENT_VERSION_13)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:5852892afc6f80c7848f4110b6dad190a54aeb908271d67aaeae9d966f4a26b5
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_JSENCRYPT=$(basename $(COMPONENT_VERSION_13))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_14 = XStatic-Rickshaw-$(COMPONENT_VERSION_14)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:147574228757254442700a9eea5150f14acb1224ef0612f896b663ab58406de8
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_RICKSHAW=$(basename $(COMPONENT_VERSION_14))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_15 = XStatic-Spin-$(COMPONENT_VERSION_15)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:7f46ef0e45e047019ba6eda22c432fb96f681b97bbe7f1749aa9209e07727192
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_SPIN=$(basename $(COMPONENT_VERSION_15))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_16 = XStatic-Angular-lrdragndrop-$(COMPONENT_VERSION_16)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:1cf04495981db5dfd5536441e17ec69bb18d624f847ddc203f3259d81b10a77e
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_LR_DND=$(basename $(COMPONENT_VERSION_16))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_18 = XStatic-smart-table-$(COMPONENT_VERSION_18)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:573bdff0b1ec88dd81b7f92c1b46fda4dd1b92cde94817837d61e62c9b20a8b6
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_SMART_TABLE=$(basename $(COMPONENT_VERSION_18))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_19 = XStatic-term.js-$(COMPONENT_VERSION_19)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:1ed5c1cd4de60d6f290a032bfc7cdc4261d8d36cb7788b2b0a610551bbda15ec
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_TERM_JS=$(basename $(COMPONENT_VERSION_19))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_20 = XStatic-Angular-Bootstrap-$(COMPONENT_VERSION_20)
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsync sha256:cbe428bf04c000460776b521f6ace0455e9f3f20135499e9aa2f4af693dc7b3e
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncPKG_MACROS += VERSION_ANGULAR_BS=$(basename $(COMPONENT_VERSION_20))
a260560bdbc7bd737d59547882cd5e8d77b80d0avboxsyncCOMPONENT_SRC_21 = XStatic-Angular-Gettext-$(COMPONENT_VERSION_21)
collectstatic --noinput -v 0; \
./manage.py collectstatic --noinput -v 0; \
# Patch openstack_dashboard/settings.py to remove the xstatic imports
# (manage.py) requires the packages be "installed". Rather than
cd $$xs_archive; \
--force \
test: $(NO_TESTS)
# Includes packages required by Django's manage.py during the Horizon build