Makefile revision 2521
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence# The contents of this file are subject to the terms of the
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence# Common Development and Distribution License (the "License").
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence# You may not use this file except in compliance with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# or http://www.opensolaris.org/os/licensing.
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence# fields enclosed by brackets "[]" replaced with your own identifying
9bff67898d55cddfcec9ce30cc2b1bb6211ec691David Lawrence# information: Portions Copyright [yyyy] [name of copyright owner]
6a8832f784bd53aa6afbda22f6187cea6490e1e1Andreas Gustafsson#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude ../../../make-rules/shared-macros.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_NAME= python-keystoneclient
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_VERSION= 0.4.1
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE_HASH= \
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley sha256:bc9b27000e5bbfbb06030a69af81e08ced99568d97fd257972ef80637f6e0704
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE_URL= $(call pypi_url)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_PROJECT_URL= http://launchpad.net/python-keystoneclient
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_BUGDB= service/keystone
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude $(WS_TOP)/make-rules/prep.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude $(WS_TOP)/make-rules/setup.py.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude $(WS_TOP)/make-rules/ips.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyASLR_MODE = $(ASLR_NOT_APPLICABLE)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_POST_INSTALL_ACTION = \
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley (cd $(PROTO_DIR)/usr/bin ; $(MV) -f keystone keystone-$(PYTHON_VERSION))
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# common targets
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrencebuild: $(BUILD_NO_ARCH)
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrenceinstall: $(INSTALL_NO_ARCH)
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence#
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence# Tests require:
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence# hacking, discover, fixtures, httpretty, keyring, mox3, pycrypto,
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence# sphinx, testrepository, testtools
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence# which haven't been integrated yet.
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence#
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrencetest: $(NO_TESTS)
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid LawrenceBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrenceinclude $(WS_TOP)/make-rules/depend.mk
e1747e09e7cc6771dca1a1702e42e6401dbeebedDavid Lawrence