Makefile revision 6833
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
441d80aa4f613b6298fc8bd3151f4be02dbf84fclling# Common Development and Distribution License (the "License").
441d80aa4f613b6298fc8bd3151f4be02dbf84fclling# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
3f9d6ad73e45c6823b409f93b0c8d4f62861d2d5Lin Ling#
1df56ada43861dec046a93e1643fec1c4e7b2ed5Martin Matuska# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
e9103aaee0c546d4644791198c54abb03c89969eGarrett D'Amore#
4263d13f00c9691fa14620eff82abef795be0693George Wilson
4e3c9f4489a18514e5e8caeb91d4e6db07c98415Bill Pijewskiinclude ../../../make-rules/shared-macros.mk
e9103aaee0c546d4644791198c54abb03c89969eGarrett D'Amore
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_NAME= sqlalchemy-migrate
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_VERSION= 0.10.0
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_HASH= \
fa9e4066f08beec538e775443c5be79dd423fcabahrens sha256:f83c5cce9c09e5c05527279b7fe1565b32e5353342ff30b24f594fa2e5a7e003
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_ARCHIVE_URL= $(call pypi_url)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_PROJECT_URL= https://github.com/stackforge/sqlalchemy-migrate
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_BUGDB= python-mod/sqlalchemy-mig
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensTPNO= 29239
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Syntax issues: not Python 3 ready.
fa9e4066f08beec538e775443c5be79dd423fcabahrensPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
4201a95e0468170d576f82c3aa63afecf718497aRic Aleshire
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude $(WS_MAKE_RULES)/prep.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_MAKE_RULES)/setup.py.mk
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(WS_MAKE_RULES)/ips.mk
b1b8ab34de515a5e83206da22c3d7e563241b021lling
fa9e4066f08beec538e775443c5be79dd423fcabahrensASLR_MODE = $(ASLR_NOT_APPLICABLE)
4201a95e0468170d576f82c3aa63afecf718497aRic Aleshire
fa9e4066f08beec538e775443c5be79dd423fcabahrensCOMPONENT_POST_INSTALL_ACTION += \
fa9e4066f08beec538e775443c5be79dd423fcabahrens (cd $(PROTO_DIR)/usr/bin ; \
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(MV) -f migrate migrate-$(PYTHON_VERSION) ; \
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(MV) -f migrate-repository migrate-repository-$(PYTHON_VERSION))
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks# common targets
4e3c9f4489a18514e5e8caeb91d4e6db07c98415Bill Pijewskibuild: $(BUILD_NO_ARCH)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinstall: $(INSTALL_NO_ARCH)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Tests require:
fa9e4066f08beec538e775443c5be79dd423fcabahrens# SQLAlchemy, Tempita and unittest2
fa9e4066f08beec538e775443c5be79dd423fcabahrens# which haven't been integrated yet.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrenstest: $(NO_TESTS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrenssystem-test: $(NO_TESTS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris KirbyREQUIRED_PACKAGES += library/python/decorator-27
a2eea2e101e6a163a537dcc6d4e3c4da2a0ea5b2ahrensREQUIRED_PACKAGES += library/python/setuptools-27
3f9d6ad73e45c6823b409f93b0c8d4f62861d2d5Lin LingREQUIRED_PACKAGES += library/python/six-27
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarksREQUIRED_PACKAGES += library/python/sqlalchemy-27
f18faf3f3e5def85fdfff681617d227703ace2adekREQUIRED_PACKAGES += library/python/sqlparse-27
fa9e4066f08beec538e775443c5be79dd423fcabahrens