components/python/cx_oracle/Makefile
author pkidd <patrick.kidd@oracle.com>
Thu, 12 Nov 2015 10:20:41 -0800
branchs11u3-sru
changeset 5084 0f1eda768528
parent 4939 f77b7f85081b
child 4984 7145b15b7f0d
child 5834 972d35dd7561
permissions -rw-r--r--
build metadata for S11.3SRU3.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4939
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     1
#
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     3
#
f77b7f85081b 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
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f77b7f85081b 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.
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     7
#
f77b7f85081b 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
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f77b7f85081b 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
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    12
#
f77b7f85081b 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
f77b7f85081b 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.
f77b7f85081b 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
f77b7f85081b 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
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    18
#
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    20
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    21
#
f77b7f85081b 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.
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    23
#
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    24
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    26
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    27
COMPONENT_NAME=		cx_Oracle
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    28
COMPONENT_VERSION=	5.2
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=		\
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    32
	sha256:c580d5e7fa9748326dbae22f5832401f229ddda5354ec17120d9b28893925bbb
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=  http://cx-oracle.sourceforge.net/
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/cx_oracle
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    36
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    37
TPNO=			23247
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    38
f77b7f85081b 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
f77b7f85081b 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
f77b7f85081b 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.
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    42
PYTHON2_VERSIONS=	2.7
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    43
PYTHON_VERSIONS=	2.7 $(PYTHON3_VERSIONS)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    44
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/prep.mk
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    46
include $(WS_MAKE_RULES)/ips.mk
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/setup.py.mk
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    48
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    49
# common targets
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    50
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_32_and_64)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    52
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_32_and_64)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    54
f77b7f85081b 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
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    56
# requires access to a captive Oracle database instance.
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    57
test:		$(NO_TESTS)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    58
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    59
system-test:    $(NO_TESTS)
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    60
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    61
REQUIRED_PACKAGES += database/oracle/instantclient
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    62
REQUIRED_PACKAGES += developer/oracle/instantclient/sdk
f77b7f85081b PSARC/2015/294 cx_Oracle for Solaris
jmcp <James.McPherson@oracle.com>
parents:
diff changeset
    63
REQUIRED_PACKAGES += system/library