Makefile revision 6833
2035N/A#
2035N/A# CDDL HEADER START
2035N/A#
2035N/A# The contents of this file are subject to the terms of the
2035N/A# Common Development and Distribution License (the "License").
2035N/A# You may not use this file except in compliance with the License.
2035N/A#
2035N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2035N/A# or http://www.opensolaris.org/os/licensing.
2035N/A# See the License for the specific language governing permissions
2035N/A# and limitations under the License.
2035N/A#
2035N/A# When distributing Covered Code, include this CDDL HEADER in each
2035N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2035N/A# If applicable, add the following below this CDDL HEADER, with the
2035N/A# fields enclosed by brackets "[]" replaced with your own identifying
2035N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2035N/A#
2035N/A# CDDL HEADER END
2035N/A#
5680N/A
5680N/A#
5403N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
2035N/A#
6833N/A
2035N/Ainclude ../../../make-rules/shared-macros.mk
2035N/A
2035N/ACOMPONENT_NAME= sqlalchemy-migrate
6833N/ACOMPONENT_VERSION= 0.10.0
2035N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2035N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2035N/ACOMPONENT_ARCHIVE_HASH= \
6833N/A sha256:f83c5cce9c09e5c05527279b7fe1565b32e5353342ff30b24f594fa2e5a7e003
2035N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
5403N/ACOMPONENT_PROJECT_URL= https://github.com/stackforge/sqlalchemy-migrate
3699N/ACOMPONENT_BUGDB= python-mod/sqlalchemy-mig
2035N/A
6833N/ATPNO= 29239
2899N/A
2818N/A# Syntax issues: not Python 3 ready.
4982N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
2818N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
2035N/A
2035N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2035N/A
2035N/ACOMPONENT_POST_INSTALL_ACTION += \
6833N/A (cd $(PROTO_DIR)/usr/bin ; \
6833N/A $(MV) -f migrate migrate-$(PYTHON_VERSION) ; \
6833N/A $(MV) -f migrate-repository migrate-repository-$(PYTHON_VERSION))
2035N/A
2035N/A# common targets
2035N/Abuild: $(BUILD_NO_ARCH)
2035N/A
2035N/Ainstall: $(INSTALL_NO_ARCH)
2035N/A
2035N/A#
2035N/A# Tests require:
2035N/A# SQLAlchemy, Tempita and unittest2
2035N/A# which haven't been integrated yet.
2035N/A#
2035N/Atest: $(NO_TESTS)
2035N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
3817N/AREQUIRED_PACKAGES += library/python/decorator-27
3817N/AREQUIRED_PACKAGES += library/python/setuptools-27
3998N/AREQUIRED_PACKAGES += library/python/six-27
3817N/AREQUIRED_PACKAGES += library/python/sqlalchemy-27
6833N/AREQUIRED_PACKAGES += library/python/sqlparse-27