components/python/cx_oracle/Makefile
author jmcp <James.McPherson@oracle.com>
Fri, 18 Sep 2015 15:29:23 -0700
changeset 4886 5489d408f67a
child 4984 7145b15b7f0d
child 5834 972d35dd7561
permissions -rw-r--r--
PSARC/2015/294 cx_Oracle for Solaris 15803329 SUNBT7183489 Include python module cx_Oracle in Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4886
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     1
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     3
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     7
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    12
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    18
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    20
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    21
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    22
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    23
#
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    24
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    26
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    27
COMPONENT_NAME=		cx_Oracle
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    28
COMPONENT_VERSION=	5.2
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=		\
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    32
	sha256:c580d5e7fa9748326dbae22f5832401f229ddda5354ec17120d9b28893925bbb
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=  http://cx-oracle.sourceforge.net/
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/cx_oracle
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    36
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    37
TPNO=			23247
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    38
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    39
# Specifying PYTHON2_VERSIONS so that we don't get the 2.6
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    40
# version built as well. It's an oversight in setup.py.mk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    41
# that isn't worth fixing since 2.6 is going away very soon.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    42
PYTHON2_VERSIONS=	2.7
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    43
PYTHON_VERSIONS=	2.7 $(PYTHON3_VERSIONS)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    44
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/prep.mk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    46
include $(WS_MAKE_RULES)/ips.mk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/setup.py.mk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    48
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    49
# common targets
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    50
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_32_and_64)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    52
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_32_and_64)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    54
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    55
# We do not run automated tests of this package because doing
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    56
# requires access to a captive Oracle database instance.
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    57
test:		$(NO_TESTS)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    58
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    59
system-test:    $(NO_TESTS)
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    60
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    61
REQUIRED_PACKAGES += database/oracle/instantclient
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    62
REQUIRED_PACKAGES += developer/oracle/instantclient/sdk
5489d408f67a PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    63
REQUIRED_PACKAGES += system/library