Makefile revision 3998
2ronwalf#
2ronwalf# CDDL HEADER START
2ronwalf#
2ronwalf# The contents of this file are subject to the terms of the
2ronwalf# Common Development and Distribution License (the "License").
2ronwalf# You may not use this file except in compliance with the License.
2ronwalf#
2ronwalf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2ronwalf# or http://www.opensolaris.org/os/licensing.
2ronwalf# See the License for the specific language governing permissions
2ronwalf# and limitations under the License.
2ronwalf#
2ronwalf# When distributing Covered Code, include this CDDL HEADER in each
2ronwalf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2ronwalf# If applicable, add the following below this CDDL HEADER, with the
2ronwalf# fields enclosed by brackets "[]" replaced with your own identifying
2ronwalf# information: Portions Copyright [yyyy] [name of copyright owner]
2ronwalf#
2ronwalf# CDDL HEADER END
2ronwalf#
2ronwalf
2ronwalf#
2ronwalf# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
2ronwalf#
2ronwalf
2ronwalfinclude ../../../make-rules/shared-macros.mk
2ronwalf
2ronwalfCOMPONENT_NAME= python-barbicanclient
2ronwalfCOMPONENT_VERSION= 3.0.1
2ronwalfCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2ronwalfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2ronwalfCOMPONENT_ARCHIVE_HASH= \
2ronwalf sha256:d298ee0fc9e785d44148d4590ac0d9eef05d560e379e98f75a7cb35ed6bfc7c8
2ronwalfCOMPONENT_ARCHIVE_URL= $(call pypi_url)
2ronwalfCOMPONENT_PROJECT_URL= https://launchpad.net/python-barbicanclient
2ronwalfCOMPONENT_BUGDB= service/barbican
2ronwalf
2ronwalfTPNO= 21635
2ronwalf
2ronwalf# Depends on keystoneclient which is not Python 3 ready.
2ronwalfPYTHON_VERSIONS = 2.7 2.6
2ronwalf
2ronwalfinclude $(WS_MAKE_RULES)/prep.mk
2ronwalfinclude $(WS_MAKE_RULES)/setup.py.mk
2ronwalfinclude $(WS_MAKE_RULES)/ips.mk
2ronwalf
2ronwalfASLR_MODE = $(ASLR_NOT_APPLICABLE)
2ronwalf
2ronwalfCOMPONENT_POST_INSTALL_ACTION = \
2ronwalf (cd $(PROTO_DIR)/usr/bin ; $(MV) -f barbican barbican-$(PYTHON_VERSION))
6daenzerorama
2ronwalf# common targets
2ronwalfbuild: $(BUILD_NO_ARCH)
2ronwalf
2ronwalfinstall: $(INSTALL_NO_ARCH)
2ronwalf
2ronwalf# see $(COMPONENT_SRC)/test-requirements.txt for the python modules
2ronwalf# required to execute unittests.
2ronwalftest: $(NO_TESTS)
2ronwalf