Makefile revision 4982
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../../../make-rules/shared-macros.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_NAME= python-neutronclient
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzCOMPONENT_VERSION= 2.3.10
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_HASH= \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin sha256:f2e0abd6511f0372849f132c74e839fcbfd88d508ccd69459e388ee0d6059ed0
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_URL= $(call pypi_url)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_PROJECT_URL= http://launchpad.net/python-neutronclient
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_BUGDB= service/neutron
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTPNO= 21734
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Depends on netaddr which is not Python 3 ready.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainzinclude $(WS_MAKE_RULES)/prep.mk
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainzinclude $(WS_MAKE_RULES)/setup.py.mk
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainzinclude $(WS_MAKE_RULES)/ips.mk
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinASLR_MODE = $(ASLR_NOT_APPLICABLE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_POST_INSTALL_ACTION = \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin (cd $(PROTO_DIR)/usr/bin ; $(MV) -f neutron neutron-$(PYTHON_VERSION))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# common targets
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinbuild: $(BUILD_NO_ARCH)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall: $(INSTALL_NO_ARCH)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Tests require:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# hacking, cliff-tablib, discover, fixtures, mox, python-subunit,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# sphinx, testrepository, testtools
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# which haven't been integrated yet.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chintest: $(NO_TESTS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinsystem-test: $(NO_TESTS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin