Makefile revision 2899
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# CDDL HEADER START
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# The contents of this file are subject to the terms of the
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# Common Development and Distribution License (the "License").
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# You may not use this file except in compliance with the License.
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# or http://www.opensolaris.org/os/licensing.
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# See the License for the specific language governing permissions
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# and limitations under the License.
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# When distributing Covered Code, include this CDDL HEADER in each
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# If applicable, add the following below this CDDL HEADER, with the
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# fields enclosed by brackets "[]" replaced with your own identifying
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# information: Portions Copyright [yyyy] [name of copyright owner]
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# CDDL HEADER END
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego#
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoinclude ../../../make-rules/shared-macros.mk
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_NAME= alembic
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_VERSION= 0.6.0
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_ARCHIVE_HASH= \
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego sha256:ad28e2e4f8bb712d1e67abc709b0735525541e0ebc509dbf00bcd383b5c602ca
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_ARCHIVE_URL= $(call pypi_url)
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoCOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/alembic/
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightCOMPONENT_BUGDB= python-mod/alembic
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightTPNO= 14503
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright# Depends on sqlalchemy which is not Python 3 ready.
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightPYTHON_VERSIONS= 2.7 2.6
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightinclude $(WS_TOP)/make-rules/prep.mk
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightinclude $(WS_TOP)/make-rules/setup.py.mk
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightinclude $(WS_TOP)/make-rules/ips.mk
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightASLR_MODE = $(ASLR_NOT_APPLICABLE)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightCOMPONENT_POST_INSTALL_ACTION += \
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright (cd $(PROTO_DIR)/usr/bin ; \
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright $(MV) -f alembic alembic-$(PYTHON_VERSION))
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightCOMPONENT_PRE_TEST_ACTION= echo "[db]" > $(SOURCE_DIR)/test.cfg
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightCOMPONENT_TEST_DIR= $(SOURCE_DIR)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightCOMPONENT_TEST_ARGS= setup.py test
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright# common targets
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightbuild: $(BUILD_NO_ARCH)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightinstall: $(INSTALL_NO_ARCH)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrighttest: $(TEST_NO_ARCH)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan WrightBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoinclude $(WS_TOP)/make-rules/depend.mk
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego