Makefile revision 4884
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# CDDL HEADER START
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# The contents of this file are subject to the terms of the
273e421813f295d65aab512f508e8fb575d997d4gouldtj# Common Development and Distribution License (the "License").
273e421813f295d65aab512f508e8fb575d997d4gouldtj# You may not use this file except in compliance with the License.
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
273e421813f295d65aab512f508e8fb575d997d4gouldtj# or http://www.opensolaris.org/os/licensing.
273e421813f295d65aab512f508e8fb575d997d4gouldtj# See the License for the specific language governing permissions
273e421813f295d65aab512f508e8fb575d997d4gouldtj# and limitations under the License.
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# When distributing Covered Code, include this CDDL HEADER in each
273e421813f295d65aab512f508e8fb575d997d4gouldtj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
273e421813f295d65aab512f508e8fb575d997d4gouldtj# If applicable, add the following below this CDDL HEADER, with the
273e421813f295d65aab512f508e8fb575d997d4gouldtj# fields enclosed by brackets "[]" replaced with your own identifying
273e421813f295d65aab512f508e8fb575d997d4gouldtj# information: Portions Copyright [yyyy] [name of copyright owner]
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# CDDL HEADER END
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
273e421813f295d65aab512f508e8fb575d997d4gouldtj#
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtjinclude ../../../make-rules/shared-macros.mk
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_NAME= cx_Oracle
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_VERSION= 5.2
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_ARCHIVE_HASH= \
273e421813f295d65aab512f508e8fb575d997d4gouldtj sha256:c580d5e7fa9748326dbae22f5832401f229ddda5354ec17120d9b28893925bbb
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_ARCHIVE_URL= $(call pypi_url)
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_PROJECT_URL= http://cx-oracle.sourceforge.net/
273e421813f295d65aab512f508e8fb575d997d4gouldtjCOMPONENT_BUGDB= python-mod/cx_oracle
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtjTPNO= 23247
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtj# Specifying PYTHON2_VERSIONS so that we don't get the 2.6
273e421813f295d65aab512f508e8fb575d997d4gouldtj# version built as well. It's an oversight in setup.py.mk
273e421813f295d65aab512f508e8fb575d997d4gouldtj# that isn't worth fixing since 2.6 is going away very soon.
273e421813f295d65aab512f508e8fb575d997d4gouldtjPYTHON2_VERSIONS= 2.7
273e421813f295d65aab512f508e8fb575d997d4gouldtjPYTHON_VERSIONS= 2.7 $(PYTHON3_VERSIONS)
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtjinclude $(WS_MAKE_RULES)/prep.mk
273e421813f295d65aab512f508e8fb575d997d4gouldtjinclude $(WS_MAKE_RULES)/ips.mk
273e421813f295d65aab512f508e8fb575d997d4gouldtjinclude $(WS_MAKE_RULES)/setup.py.mk
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtj# common targets
273e421813f295d65aab512f508e8fb575d997d4gouldtj
273e421813f295d65aab512f508e8fb575d997d4gouldtjbuild: $(BUILD_32_and_64)
273e421813f295d65aab512f508e8fb575d997d4gouldtj
install: $(INSTALL_32_and_64)
# We do not run automated tests of this package because doing
# requires access to a captive Oracle database instance.
test: $(NO_TESTS)
system-test: $(NO_TESTS)
REQUIRED_PACKAGES += database/oracle/instantclient
REQUIRED_PACKAGES += developer/oracle/instantclient/sdk
REQUIRED_PACKAGES += system/library