2426N/A#
2426N/A# CDDL HEADER START
2426N/A#
2426N/A# The contents of this file are subject to the terms of the
2426N/A# Common Development and Distribution License (the "License").
2426N/A# You may not use this file except in compliance with the License.
2426N/A#
2426N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2426N/A# or http://www.opensolaris.org/os/licensing.
2426N/A# See the License for the specific language governing permissions
2426N/A# and limitations under the License.
2426N/A#
2426N/A# When distributing Covered Code, include this CDDL HEADER in each
2426N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2426N/A# If applicable, add the following below this CDDL HEADER, with the
2426N/A# fields enclosed by brackets "[]" replaced with your own identifying
2426N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2426N/A#
2426N/A# CDDL HEADER END
2426N/A#
2850N/A
2850N/A#
6033N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2426N/A#
4070N/A
2426N/Ainclude ../../../make-rules/shared-macros.mk
2426N/A
2426N/ACOMPONENT_NAME= oslo.config
6033N/ACOMPONENT_VERSION= 1.9.3
2426N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2426N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2426N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:ab54e67776d9bbee86ba8cce9393ba3186e6e63de926e9797598dc35fe790140
4070N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
4070N/ACOMPONENT_PROJECT_URL= https://launchpad.net/oslo.config
2850N/ACOMPONENT_BUGDB= python-mod/oslo.config
2426N/A
6033N/ATPNO= 25738
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
2426N/A
2426N/ACOMPONENT_POST_INSTALL_ACTION += \
4070N/A ($(TOUCH) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/oslo/__init__.py; \
4070N/A $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES); \
4070N/A cd $(PROTO_DIR)/usr/bin ; \
4070N/A $(MV) -f oslo-config-generator oslo-config-generator-$(PYTHON_VERSION))
2426N/A
2426N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2426N/A
2426N/A# common targets
2426N/Abuild: $(BUILD_NO_ARCH)
2426N/A
2426N/Ainstall: $(INSTALL_NO_ARCH)
2426N/A
4070N/A# see $(COMPONENT_SRC)/test-requirements.txt for the python modules
4070N/A# required to execute unittests.
2426N/Atest: $(NO_TESTS)