551N/A#
1515N/A# CDDL HEADER START
551N/A#
551N/A# The contents of this file are subject to the terms of the
919N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
551N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
551N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
551N/A#
551N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
551N/A#
551N/A
551N/Ainclude ../../../make-rules/shared-macros.mk
551N/A
551N/ACOMPONENT_NAME= os-brick
551N/ACOMPONENT_VERSION= 1.2.0
551N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
551N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
551N/ACOMPONENT_ARCHIVE_HASH= \
551N/A sha256:e8c5931d2a5115a7c484276add6be6b5e3ba13402c8a71e32b2313448010be30
551N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
551N/ACOMPONENT_PROJECT_URL= http://docs.openstack.org/developer/os-brick/
551N/ACOMPONENT_BUGDB= python-mod/os-brick
551N/A
551N/ATPNO= 29698
551N/A
551N/A# Depends on oslo.serialization which is not Python 3 ready.
551N/APYTHON_VERSIONS = $(PYTHON2_VERSIONS)
551N/A
551N/Ainclude $(WS_MAKE_RULES)/prep.mk
551N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
551N/Ainclude $(WS_MAKE_RULES)/ips.mk
551N/A
551N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
551N/A
551N/ACOMPONENT_POST_INSTALL_ACTION += \
551N/A $(CP) \
551N/A files/solaris/solarisfc.py \
551N/A files/solaris/solarisiscsi.py \
551N/A $(PROTO_DIR)$(PYTHON_LIB)/os_brick/initiator; \
551N/A $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
551N/A
551N/A# common targets
551N/Abuild: $(BUILD_NO_ARCH)
551N/A
551N/Ainstall: $(INSTALL_NO_ARCH)
551N/A
551N/A# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
551N/A# required to execute unittests.
551N/Atest: $(NO_TESTS)
1515N/A