Makefile revision 4194
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License (the "License").
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You may not use this file except in compliance with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# or http://www.opensolaris.org/os/licensing.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# CDDL HEADER END
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
16b55a35cff91315d261d1baa776138af465c4e4fuankg
16b55a35cff91315d261d1baa776138af465c4e4fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../../make-rules/shared-macros.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../../make-rules/shared-targets.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPATCH_EACH_ARCHIVE = 1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME= horizon
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_CODENAME= juno
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_VERSION= 2014.2.2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BE_VERSION= 2014.2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH= \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:f639cdb8fc7fd26725d689d42c426f09bbd5a77554910800b1315f182879558e
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PROJECT_URL= http://www.openstack.org/
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUGDB= service/horizon
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PATCHES= \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 01-osprofiler.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 02-change-angular-imports.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 03-remove-qunit.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 04-remove-jasmine.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 05-disable-unsupported-bootsource.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 06-remove-security-groups.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 07-remove-image-source.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 08-_get_reachable_subnets.patch \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes 11-requirements.patch
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_HORIZON= 21822
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_ANGULAR= 21640
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_BOOTSTRAP_DP= 20670
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgTPNO_BOOTSTRAP_SCSS= 20671
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_D3= 20822
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_FONT_AWESOME= 21641
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_HOGAN= 21827
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JQUERY= 21642
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JQUERY_MIGRATE= 13315
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JQUERY_UI= 18416
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JQUERY_QUICKSEARCH=20396
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JQUERY_TABLESORTER=20824
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_JSENCRYPT= 20397
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_RICKSHAW= 20673
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO_SPIN= 20674
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Starting with Juno, Horizon depends on a number of XStatic modules
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# to deliver the required JavaScript modules. This delivery method
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# may be changing in future releases, so the XStatic modules for now
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# are built as part of Horizon rather than being stand alone
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# components/packages.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# XStatic itself is only used during the build process and so while it
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# is downloaded and installed in the proto area, none of its
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# components are delivered in the Horizon package itself.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_1 = XStatic
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_XSTATIC = 1.0.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_1 = XStatic-$(VERSION_XSTATIC)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_1 = $(COMPONENT_SRC_1).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_1 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:0ec93d7c66ebb9e0d31b664753437dc8634cb66e13310cb47c9eb1e0bc66d726
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_1 = $(call pypi_url,1)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_2 = XStatic-Angular
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_ANGULAR = 1.3.7.0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_2 = XStatic-Angular-$(VERSION_ANGULAR)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_2 = $(COMPONENT_SRC_2).tar.gz
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_ARCHIVE_HASH_2 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:7cad216b226399cbe8d2909ed5b9f28d724907b9c9e1e078e6e25d320a3d5dd7
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_2 = $(call pypi_url,2)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgPKG_MACROS += VERSION_ANGULAR=$(VERSION_ANGULAR)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_3 = XStatic-Bootstrap-Datepicker
0a39e7683f6611d66c55712f50bb240428d832a1bnicholesVERSION_BOOTSTRAP_DP= 1.3.1.0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_3 = XStatic-Bootstrap-Datepicker-$(VERSION_BOOTSTRAP_DP)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_3 = $(COMPONENT_SRC_3).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_3 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:9edc9b77501001fcee9fbf4bf0a722c263efd928ef928b40081a8269fdd9a944
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_3 = $(call pypi_url,3)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_BOOTSTRAP_DP=$(VERSION_BOOTSTRAP_DP)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_4 = XStatic-Bootstrap-SCSS
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgVERSION_BOOTSTRAP_SCSS= 3.2.0.0
0662ed52e814f8f08ef0e09956413a792584eddffuankgCOMPONENT_SRC_4 = XStatic-Bootstrap-SCSS-$(VERSION_BOOTSTRAP_SCSS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_4 = $(COMPONENT_SRC_4).tar.gz
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_ARCHIVE_HASH_4 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:7e9858737e2e6aac921ec7a3fca627e522901c3061611e154ebc0b8a892c7018
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_4 = $(call pypi_url,4)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_BOOTSTRAP_SCSS=$(VERSION_BOOTSTRAP_SCSS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_5 = XStatic-D3
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_D3 = 3.1.6.2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_5 = XStatic-D3-$(VERSION_D3)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_5 = $(COMPONENT_SRC_5).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_5 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:46fe521f8dad99f5e20f6702180510c37b81d11f1d78119d308fcec31381f90e
0662ed52e814f8f08ef0e09956413a792584eddffuankgCOMPONENT_ARCHIVE_URL_5 = $(call pypi_url,5)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_D3=$(VERSION_D3)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_6 = XStatic-Font-Awesome
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_FONT_AWESOME = 4.2.0.0
0662ed52e814f8f08ef0e09956413a792584eddffuankgCOMPONENT_SRC_6 = XStatic-Font-Awesome-$(VERSION_FONT_AWESOME)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_6 = $(COMPONENT_SRC_6).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_6 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:b7fdbf1ed316f3a207eeb9ee1c052820e55b4e31d247d81c8ea059e21f555a73
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_6 = $(call pypi_url,6)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_FONT_AWESOME=$(VERSION_FONT_AWESOME)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_7 = XStatic-Hogan
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_HOGAN = 2.0.0.2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_7 = XStatic-Hogan-$(VERSION_HOGAN)
0662ed52e814f8f08ef0e09956413a792584eddffuankgCOMPONENT_ARCHIVE_7 = $(COMPONENT_SRC_7).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_7 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:5941bc7fb2a09916b8837848e6fc2a13b2dfc271811e9b522c61e1337d5fc2bd
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_ARCHIVE_URL_7 = $(call pypi_url,7)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_HOGAN=$(VERSION_HOGAN)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_8 = XStatic-jQuery
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgVERSION_JQUERY = 1.10.2.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_8 = XStatic-jQuery-$(VERSION_JQUERY)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_8 = $(COMPONENT_SRC_8).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_8 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_8 = $(call pypi_url,8)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JQUERY=$(VERSION_JQUERY)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_9 = XStatic-JQuery-Migrate
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_JQUERY_MIGRATE= 1.2.1.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_9 = XStatic-JQuery-Migrate-$(VERSION_JQUERY_MIGRATE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_9 = $(COMPONENT_SRC_9).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_9 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:e2959b3df49afdddb00d36b74cca727a91b994b9f4edb993d7264731a750900e
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_9 = $(call pypi_url,9)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JQUERY_MIGRATE=$(VERSION_JQUERY_MIGRATE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_10 = XStatic-jquery-ui
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_JQUERY_UI = 1.11.0.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_10 = XStatic-jquery-ui-$(VERSION_JQUERY_UI)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_10 = $(COMPONENT_SRC_10).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_10 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:099b1836eb0d91b8dc98f5b8a6b856a2631d43af0d47f33ef90ee72ed37bda58
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_10 = $(call pypi_url,10)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JQUERY_UI=$(VERSION_JQUERY_UI)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_11 = XStatic-JQuery.quicksearch
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_JQUERY_QS = 2.0.3.1
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankgCOMPONENT_SRC_11 = XStatic-JQuery.quicksearch-$(VERSION_JQUERY_QS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_11 = $(COMPONENT_SRC_11).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_11 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:1271571b420417add56c274fd935e81bfc79e0d54a03559d6ba5ef369f358477
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_11 = $(call pypi_url,11)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JQUERY_QS=$(VERSION_JQUERY_QS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_12 = XStatic-JQuery.TableSorter
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_JQUERY_TS = 2.14.5.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_12 = XStatic-JQuery.TableSorter-$(VERSION_JQUERY_TS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_12 = $(COMPONENT_SRC_12).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_12 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:3ba24aecd9a3dc71a79dd4096fa5a8a041c3a7b892c61d05e6e46de0605070f0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_12 = $(call pypi_url,12)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JQUERY_TS=$(VERSION_JQUERY_TS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_NAME_13 = XStatic-JSEncrypt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_JSENCRYPT = 2.0.0.2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_13 = XStatic-JSEncrypt-$(VERSION_JSENCRYPT)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_13 = $(COMPONENT_SRC_13).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_13 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:5852892afc6f80c7848f4110b6dad190a54aeb908271d67aaeae9d966f4a26b5
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_13 = $(call pypi_url,13)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_JSENCRYPT=$(VERSION_JSENCRYPT)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_14 = XStatic-Rickshaw
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesVERSION_RICKSHAW = 1.5.0.0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC_14 = XStatic-Rickshaw-$(VERSION_RICKSHAW)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_14 = $(COMPONENT_SRC_14).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_14 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:147574228757254442700a9eea5150f14acb1224ef0612f896b663ab58406de8
8ffac2c334103c0336602aaede650cb578611151fuankgCOMPONENT_ARCHIVE_URL_14 = $(call pypi_url,14)
8ffac2c334103c0336602aaede650cb578611151fuankgPKG_MACROS += VERSION_RICKSHAW=$(VERSION_RICKSHAW)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME_15 = XStatic-Spin
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgVERSION_SPIN = 1.2.5.2
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_SRC_15 = XStatic-Spin-$(VERSION_SPIN)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_15 = $(COMPONENT_SRC_15).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH_15 = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:7f46ef0e45e047019ba6eda22c432fb96f681b97bbe7f1749aa9209e07727192
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL_15 = $(call pypi_url,15)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += VERSION_SPIN=$(VERSION_SPIN)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankginclude $(WS_MAKE_RULES)/prep.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/setup.py.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/ips.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesASLR_MODE = $(ASLR_NOT_APPLICABLE)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Since this is an app, and doesn't provide any public library interfaces, we
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# only need to deliver one version. The manifest is parameterized, though.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPYTHON_VERSIONS= 2.7
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += PYVER=$(PYTHON_VERSIONS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPROTO_PYTHON_LIB = $(PROTO_DIR)$(PYTHON_LIB)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Copy the Oracle branding files and Django app customizations into place
0662ed52e814f8f08ef0e09956413a792584eddffuankgCOMPONENT_POST_INSTALL_ACTION += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ($(MKDIR) $(PROTO_PYTHON_LIB)/openstack_dashboard/templates/solaris; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CP) files/branding/css/solaris.css \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_PYTHON_LIB)/openstack_dashboard/static/dashboard/css; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CP) files/branding/img/* \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_PYTHON_LIB)/openstack_dashboard/static/dashboard/img; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CP) files/branding/theme/_stylesheets.html \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_PYTHON_LIB)/openstack_dashboard/templates/solaris; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CP) files/overrides.py $(PROTO_PYTHON_LIB)/openstack_dashboard);
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Generate .pyc files for the files in the proto directory
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_POST_INSTALL_ACTION += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PYTHON) -m compileall $(PROTO_PYTHON_LIB);
0662ed52e814f8f08ef0e09956413a792584eddffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Collect the JavaScript files and compress the static assets
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgCOMPONENT_POST_INSTALL_ACTION += \
(set -e; $(CP) $(SOURCE_DIR)/manage.py \
$(PROTO_PYTHON_LIB)/openstack_dashboard; \
$(TOUCH) $(PROTO_PYTHON_LIB)/xstatic/__init__.py; \
$(TOUCH) $(PROTO_PYTHON_LIB)/xstatic/pkg/__init__.py; \
cd $(PROTO_PYTHON_LIB)/openstack_dashboard; \
$(ENV) PYTHONPATH=$(PROTO_PYTHON_LIB) ./manage.py \
collectstatic --noinput; \
$(ENV) PYTHONPATH=$(PROTO_PYTHON_LIB) ./manage.py compress --force; \
$(CP) -R $(PROTO_PYTHON_LIB)/static \
$(PROTO_PYTHON_LIB)/openstack_dashboard; \
$(RM) -r \
$(PROTO_PYTHON_LIB)/XStatic* \
$(PROTO_PYTHON_LIB)/openstack_dashboard/local/.secret_key_store \
$(PROTO_PYTHON_LIB)/openstack_dashboard/manage.py \
$(PROTO_PYTHON_LIB)/static \
$(PROTO_PYTHON_LIB)/xstatic); (( $$? )) && exit 1;
# Patch openstack_dashboard/settings.py to remove the xstatic imports
# and use. This is done after 'gmake prep' because we need the
# xstatic imports for static asset collection.
COMPONENT_POST_INSTALL_ACTION += \
$(GPATCH) -d $(PROTO_DIR) $(GPATCH_FLAGS) \
< patches/99-remove.xstatic.patch-proto
#
# The xstatic target builds each XStatic component alongside Horizon.
# This is done because the Django script which collects
# the JavaScript libraries and compresses the static assets
# (manage.py) requires the packages be "installed". Rather than
# forcing a CBE update for any revision of any XStatic module, we use
# what's specified above.
#
# This extra work is done at package build time rather than when the
# application runs because a) compressing the assets ahead of time
# makes things faster and b) this allows the package to be entirely
# contained in /usr rather than having a separate spot in /var for the
# webservd user to write compressed assets to as they get used.
#
.PHONY: xstatic
xstatic: $(PROTO_DIR) build
for xs_archive in $$(ls -d XStatic-* | grep -v .tar.gz); do \
cd $$xs_archive; \
$(ENV) $(PYTHON.$(BITS)) ./setup.py build; \
$(ENV) $(PYTHON.$(BITS)) ./setup.py install \
--force \
--install-data=$(PYTHON_DATA) \
--install-lib=$(PYTHON_LIB) \
--install-platlib=$(PYTHON_LIB) \
--install-purelib=$(PYTHON_LIB) \
--root $(PROTO_DIR); \
cd ../; \
done
# common targets
build: $(BUILD_NO_ARCH)
# make sure all of the xstatic modules are built
install: $(INSTALL_NO_ARCH) xstatic
test: $(NO_TESTS)
clean::
gfind $(COMPONENT_DIR) -maxdepth 1 -type d -name "XStatic*" \
-exec rm -r {} \;
# Packages required by Django's manage.py during the Horizon build
REQUIRED_PACKAGES += library/python/babel-27
REQUIRED_PACKAGES += library/python/ceilometerclient-27
REQUIRED_PACKAGES += library/python/cinderclient-27
REQUIRED_PACKAGES += library/python/django-27
REQUIRED_PACKAGES += library/python/django-pyscss-27
REQUIRED_PACKAGES += library/python/django_compressor-27
REQUIRED_PACKAGES += library/python/django_openstack_auth-27
REQUIRED_PACKAGES += library/python/glanceclient-27
REQUIRED_PACKAGES += library/python/heatclient-27
REQUIRED_PACKAGES += library/python/iso8601-27
REQUIRED_PACKAGES += library/python/keystoneclient-27
REQUIRED_PACKAGES += library/python/lockfile-27
REQUIRED_PACKAGES += library/python/neutronclient-27
REQUIRED_PACKAGES += library/python/novaclient-27
REQUIRED_PACKAGES += library/python/oslo.config-27
REQUIRED_PACKAGES += library/python/requests-27
REQUIRED_PACKAGES += library/python/saharaclient-27
REQUIRED_PACKAGES += library/python/six-27
REQUIRED_PACKAGES += library/python/swiftclient-27
REQUIRED_PACKAGES += library/python/troveclient-27