5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# CDDL HEADER START
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# The contents of this file are subject to the terms of the
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# Common Development and Distribution License (the "License").
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# You may not use this file except in compliance with the License.
97758b9192048e1cfcd47106cfba6852b1486eddTim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# or http://www.opensolaris.org/os/licensing.
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# See the License for the specific language governing permissions
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# and limitations under the License.
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# When distributing Covered Code, include this CDDL HEADER in each
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# If applicable, add the following below this CDDL HEADER, with the
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# fields enclosed by brackets "[]" replaced with your own identifying
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# information: Portions Copyright [yyyy] [name of copyright owner]
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# CDDL HEADER END
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehaseinclude ../../../make-rules/shared-macros.mk
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_NAME= sqlalchemy-migrate
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_VERSION= 0.9.6
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_ARCHIVE_HASH= \
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase sha256:c2c73d8dbeb29a96459d8622e3bac2e97cf6f74ed0564469486fe7ffe0ef3d97
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_ARCHIVE_URL= $(call pypi_url)
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_PROJECT_URL= https://github.com/stackforge/sqlalchemy-migrate
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseCOMPONENT_BUGDB= python-mod/sqlalchemy-mig
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase
5836ee88700245635cd096f27bdc6279178f4583Tim ReddehaseTPNO= 25760
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# Syntax issues: not Python 3 ready.
9205ceba0d0307830e78b9a414e1ff1bc06ac2efTim ReddehasePYTHON_VERSIONS= 2.7 2.6
9205ceba0d0307830e78b9a414e1ff1bc06ac2efTim Reddehase
9205ceba0d0307830e78b9a414e1ff1bc06ac2efTim Reddehaseinclude $(WS_MAKE_RULES)/prep.mk
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehaseinclude $(WS_MAKE_RULES)/setup.py.mk
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehaseinclude $(WS_MAKE_RULES)/ips.mk
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseASLR_MODE = $(ASLR_NOT_APPLICABLE)
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseCOMPONENT_POST_INSTALL_ACTION += \
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase (cd $(PROTO_DIR)/usr/bin ; \
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase $(MV) -f migrate migrate-$(PYTHON_VERSION) ; \
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase $(MV) -f migrate-repository migrate-repository-$(PYTHON_VERSION))
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase# common targets
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehasebuild: $(BUILD_NO_ARCH)
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehaseinstall: $(INSTALL_NO_ARCH)
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase#
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# Tests require:
5836ee88700245635cd096f27bdc6279178f4583Tim Reddehase# SQLAlchemy, Tempita and unittest2
34bd7b34347e21e8c06cf28bafea5f390830d4caTim Reddehase# which haven't been integrated yet.
2139291198cf7b0232b6628c89e40f985a4332c0Tim Reddehase#
2139291198cf7b0232b6628c89e40f985a4332c0Tim Reddehasetest: $(NO_TESTS)
2139291198cf7b0232b6628c89e40f985a4332c0Tim Reddehase
2139291198cf7b0232b6628c89e40f985a4332c0Tim Reddehase
2139291198cf7b0232b6628c89e40f985a4332c0Tim ReddehaseREQUIRED_PACKAGES += library/python/decorator-26
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/decorator-27
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/setuptools-26
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/setuptools-27
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/six-26
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/six-27
34bd7b34347e21e8c06cf28bafea5f390830d4caTim ReddehaseREQUIRED_PACKAGES += library/python/sqlalchemy-26
REQUIRED_PACKAGES += library/python/sqlalchemy-27