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