Makefile revision 4982
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# CDDL HEADER START
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
feba5e502b2131c9a1c766b7ef9ff041dbf71d1dStephan Bosch# The contents of this file are subject to the terms of the
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Common Development and Distribution License (the "License").
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# You may not use this file except in compliance with the License.
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch#
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# or http://www.opensolaris.org/os/licensing.
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# See the License for the specific language governing permissions
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# and limitations under the License.
feba5e502b2131c9a1c766b7ef9ff041dbf71d1dStephan Bosch#
feba5e502b2131c9a1c766b7ef9ff041dbf71d1dStephan Bosch# When distributing Covered Code, include this CDDL HEADER in each
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7ebcb054e0d3cc4be54038cbf763ec4189d9725bStephan Bosch# If applicable, add the following below this CDDL HEADER, with the
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# fields enclosed by brackets "[]" replaced with your own identifying
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# information: Portions Copyright [yyyy] [name of copyright owner]
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# CDDL HEADER END
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch#
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= python-keystoneclient
COMPONENT_VERSION= 1.0.0
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
sha256:6d960d2196efc7a181519a77f757a27ceeeac71f41f624318ae7f1088d2e6db4
COMPONENT_ARCHIVE_URL= $(call pypi_url)
COMPONENT_PROJECT_URL= http://launchpad.net/python-keystoneclient
COMPONENT_BUGDB= service/keystone
TPNO= 21732
# Depends on netaddr & python-memcached which are not Python 3 ready.
PYTHON_VERSIONS= $(PYTHON2_VERSIONS)
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f keystone keystone-$(PYTHON_VERSION))
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
#
# Tests require:
# hacking, discover, fixtures, httpretty, keyring, mox3, pycrypto,
# sphinx, testrepository, testtools
# which haven't been integrated yet.
#
test: $(NO_TESTS)
system-test: $(NO_TESTS)