6033N/A#
6033N/A# CDDL HEADER START
6033N/A#
6033N/A# The contents of this file are subject to the terms of the
6033N/A# Common Development and Distribution License (the "License").
6033N/A# You may not use this file except in compliance with the License.
6033N/A#
6033N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6033N/A# or http://www.opensolaris.org/os/licensing.
6033N/A# See the License for the specific language governing permissions
6033N/A# and limitations under the License.
6033N/A#
6033N/A# When distributing Covered Code, include this CDDL HEADER in each
6033N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6033N/A# If applicable, add the following below this CDDL HEADER, with the
6033N/A# fields enclosed by brackets "[]" replaced with your own identifying
6033N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6033N/A#
6033N/A# CDDL HEADER END
6033N/A#
6033N/A
6033N/A#
6033N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
6033N/A#
6033N/A
6033N/Ainclude ../../../make-rules/shared-macros.mk
6033N/A
6033N/ACOMPONENT_NAME= cloudbase-init
6033N/ACOMPONENT_VERSION= 0.9.9
6033N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6033N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6033N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:0385c905952132ce944c821ea4f57ccffd660db7965ca8a62f28600939e659c1
6033N/A
6033N/ACOMPONENT_ARCHIVE_URL= https://github.com/openstack/cloudbase-init/archive/0.9.9.tar.gz
6033N/ACOMPONENT_PROJECT_URL= https://github.com/stackforge/cloudbase-init
6033N/ACOMPONENT_BUGDB= service/cloudbase-init
6033N/A
6033N/ATPNO= 26420
6033N/A
6033N/Ainclude $(WS_MAKE_RULES)/prep.mk
6033N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
6033N/Ainclude $(WS_MAKE_RULES)/ips.mk
6033N/A
6033N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
6033N/A
6033N/A# Upstream only supports 3.3 from the Python 3 series
6033N/APYTHON_VERSIONS= 2.7
6033N/A
6033N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
6033N/APKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
6033N/A
6033N/A# Copy the PKG-INFO file to the build root
6033N/ACOMPONENT_PRE_BUILD_ACTION = \
6033N/A $(CP) $(COMPONENT_DIR)/PKG-INFO $(SOURCE_DIR)
6033N/A
6033N/A# common targets
6033N/Abuild: $(BUILD_NO_ARCH)
6033N/A
6033N/Ainstall: $(INSTALL_NO_ARCH)
6033N/A
6033N/A# Tests require testr which is not integrated
6033N/Atest: $(NO_TESTS)
6033N/A
6033N/AREQUIRED_PACKAGES += system/network