Makefile revision 2818
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../../make-rules/shared-macros.mk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_NAME= python-neutronclient
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_VERSION= 2.3.1
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_ARCHIVE_HASH= \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw sha256:9497bc036d9ac769f65b989d49b45a122b8d7674bba8cad2480c054b888f8986
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_ARCHIVE_URL= $(call pypi_url)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_PROJECT_URL= http://launchpad.net/python-neutronclient
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_BUGDB= service/neutron
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Syntax issues: not Python 3 ready.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPYTHON_VERSIONS= 2.7 2.6
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wrightinclude $(WS_TOP)/make-rules/prep.mk
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wrightinclude $(WS_TOP)/make-rules/setup.py.mk
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wrightinclude $(WS_TOP)/make-rules/ips.mk
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright
fc724630b14603e4c1147df68b7bf45f7de7431fAlan WrightASLR_MODE = $(ASLR_NOT_APPLICABLE)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_POST_INSTALL_ACTION = \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw (cd $(PROTO_DIR)/usr/bin ; $(MV) -f neutron neutron-$(PYTHON_VERSION))
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# common targets
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wrightbuild: $(BUILD_NO_ARCH)
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wrightinstall: $(INSTALL_NO_ARCH)
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright#
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright# Tests require:
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright# hacking, cliff-tablib, discover, fixtures, mox, python-subunit,
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright# sphinx, testrepository, testtools
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright# which haven't been integrated yet.
fc724630b14603e4c1147df68b7bf45f7de7431fAlan Wright#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwtest: $(NO_TESTS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude $(WS_TOP)/make-rules/depend.mk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw